mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update rewrite rule for admin in .htaccess
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
2017-08-02 DariusIII
|
||||
* Chg: Update rewrite rule for admin in .htaccess
|
||||
2017-08-01 DariusIII
|
||||
* Chg: Use strict comparison in Binaries class
|
||||
* Chg: Use self:: reference in commaSeparatedList function
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ RewriteEngine on
|
||||
RewriteRule \.(css|eot|gif|gz|ico|inc|jpe?g|js|ogg|png|svg|ttf|txt|woff|woff2|xml)$ - [L]
|
||||
|
||||
# Leave /admin and /install static
|
||||
RewriteRule ^(admin|install).*$ - [L]
|
||||
RewriteRule ^(admin|install)($|/) - [L]
|
||||
|
||||
# Rewrite web pages to one master page
|
||||
RewriteRule ^([^/\.]+)/?$ index.php?page=$1 [QSA,L]
|
||||
|
||||
Reference in New Issue
Block a user