Update 50-raspap-router.conf

This commit is contained in:
Federico Frigo 2021-10-23 16:22:50 +02:00 committed by GitHub
parent 6a361b80aa
commit 7008873277
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
server.modules += (
"mod_rewrite",
"mod_rewrite",
)
$HTTP["url"] =~ "^/var/www/html/(?!(dist|app|ajax|config)).*" {
url.rewrite-once = ( "^/var/www/html/(.*?)(\?.+)?$"=>"/var/www/html/index.php/$1$2" )
server.error-handler-404 = "/var/www/html/index.php"
$HTTP["url"] =~ "^/REPLACE_ME/(?!(dist|app|ajax|config)).*" {
url.rewrite-once = ( "^/REPLACE_ME/(.*?)(\?.+)?$"=>"/REPLACE_ME/index.php/$1$2" )
server.error-handler-404 = "/REPLACE_ME/index.php"
}