From 70088732777ed2749b9ffaaee6e5cdee0b939e48 Mon Sep 17 00:00:00 2001 From: Federico Frigo Date: Sat, 23 Oct 2021 16:22:50 +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 249c7c9a..0248d545 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"] =~ "^/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" }