mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Changed routing system to use the more common path approach instead of query strings.
This commit is contained in:
9
config/50-raspap-router.conf
Normal file
9
config/50-raspap-router.conf
Normal file
@@ -0,0 +1,9 @@
|
||||
server.modules += (
|
||||
"mod_rewrite",
|
||||
)
|
||||
|
||||
$HTTP["url"] =~ "^/(?!(dist|app|ajax)).*" {
|
||||
url.rewrite-once = (
|
||||
"^/[^\?]*(\?.*)?" => "/index.php$1"
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user