From 6b276a8c4e703008a74dd04a1a30ba7d6ec4ad82 Mon Sep 17 00:00:00 2001 From: Federico Frigo Date: Sat, 23 Oct 2021 16:38:28 +0200 Subject: [PATCH] Update 50-raspap-router.conf --- config/50-raspap-router.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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" }