mirror of
https://github.com/ThunixdotNet/www.git
synced 2026-01-24 07:10:18 +00:00
Updating htccess to allow custom modules to be served as all other pages
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
RewriteEngine On
|
||||
RewriteRule ^$ main [QSA]
|
||||
RewriteRule ^index\.php$ wiki.php?page=main [QSA]
|
||||
RewriteRule ^users$ includes/users.php [QSA,L]
|
||||
RewriteRule ^server$ includes/server.php [QSA,L]
|
||||
RewriteCond %{REQUEST_URI} !(/includes/|/media/|tilde.json|humans.txt|/webmail/|/favicon.ico|/~)
|
||||
RewriteRule ^([^\d]+)/?$ wiki.php?page=$1 [QSA]
|
||||
|
||||
Reference in New Issue
Block a user