mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
fix url rewriting
(\?.+) already captures the question mark so it's not needed in the replaced string. this actually made the `page` GET parameter be `?page` because the url wound up being `??page=foo`.
This commit is contained in:
parent
c84ac43185
commit
8f0ae3b36a
@ -3,7 +3,7 @@ server.modules += (
|
||||
)
|
||||
|
||||
$HTTP["url"] =~ "^/REPLACE_ME/(?!(dist|app|ajax|config)).*" {
|
||||
url.rewrite-once = ( "^/REPLACE_ME/(.*?)(\?.+)?$"=>"/REPLACE_ME/index.php/$1?$2" )
|
||||
url.rewrite-once = ( "^/REPLACE_ME/(.*?)(\?.+)?$"=>"/REPLACE_ME/index.php/$1$2" )
|
||||
server.error-handler-404 = "/REPLACE_ME/index.php"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user