fix: [htaccess] fixed

remotes/origin/main
iglocska 2020-06-21 21:31:53 +02:00
parent a99317734d
commit e9e13ba2ad
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 2 additions and 7 deletions

View File

@ -1,12 +1,7 @@
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>
RewriteEngine On RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,L] RewriteRule ^ index.php [L]
# Adds AUTH support to Rest Plugin:
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last] RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]
</IfModule> </IfModule>
<IfModule mod_headers.c>
RequestHeader unset Proxy
</IfModule>