diff options
Diffstat (limited to 'apache/sites/nowayforward_human.conf.tpl')
| -rw-r--r-- | apache/sites/nowayforward_human.conf.tpl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/apache/sites/nowayforward_human.conf.tpl b/apache/sites/nowayforward_human.conf.tpl index ba010c7..2a5f58f 100644 --- a/apache/sites/nowayforward_human.conf.tpl +++ b/apache/sites/nowayforward_human.conf.tpl @@ -7,11 +7,13 @@ SetHandler "proxy:unix:${PHP_FPM_SOCKET}|fcgi://localhost/" </FilesMatch> - RedirectMatch "^/$" /home/index.php - RedirectMatch "^/index.html$" /home/index.php - RedirectMatch "^/index.php$" /home/index.php - RewriteEngine On + RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule .* - [e=HTTP_AUTHORIZATION:%1] + + RewriteCond %{REQUEST_URI} !/archives.* + RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f + RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d + RewriteRule ^(.*)$ /global/router.php </VirtualHost> |
