mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Remove static admin from .htaccess
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
2018-04-23 DariusIII
|
2018-04-23 DariusIII
|
||||||
|
* Chg: Remove static admin from .htaccess
|
||||||
* Chg: Update BrowseController and themes browse pages
|
* Chg: Update BrowseController and themes browse pages
|
||||||
* Fix: Fix adding mgr posters
|
* Fix: Fix adding mgr posters
|
||||||
* Chg: Remove opcache statistics page from admin
|
* Chg: Remove opcache statistics page from admin
|
||||||
|
|||||||
@@ -10,9 +10,6 @@ RewriteEngine on
|
|||||||
# Do not process images or CSS files further
|
# Do not process images or CSS files further
|
||||||
RewriteRule \.(css|eot|gif|gz|ico|inc|jpe?g|js|ogg|png|svg|ttf|txt|woff|woff2|xml)$ - [L]
|
RewriteRule \.(css|eot|gif|gz|ico|inc|jpe?g|js|ogg|png|svg|ttf|txt|woff|woff2|xml)$ - [L]
|
||||||
|
|
||||||
# Leave /admin static
|
|
||||||
RewriteRule ^(admin) - [L]
|
|
||||||
|
|
||||||
# Handle Authorization Header
|
# Handle Authorization Header
|
||||||
RewriteCond %{HTTP:Authorization} .
|
RewriteCond %{HTTP:Authorization} .
|
||||||
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
||||||
|
|||||||
Reference in New Issue
Block a user