diff --git a/config/50-raspap-router.conf b/config/50-raspap-router.conf index 0248d545..23c13b2d 100644 --- a/config/50-raspap-router.conf +++ b/config/50-raspap-router.conf @@ -1,8 +1,8 @@ server.modules += ( - "mod_rewrite", + "mod_rewrite", ) -$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" +$HTTP["url"] =~ "^/(?!(dist|app|ajax|config)).*" { + url.rewrite-once = ( "^/(.*?)(\?.+)?$"=>"/index.php/$1$2" ) + server.error-handler-404 = "/index.php" }