Fix missing rewrite rules from Apache 2.4 vhost

This commit is contained in:
Albert Santoni 2016-07-26 16:24:37 -04:00 committed by GitHub
parent 89c4ecd290
commit 4940c735e1
1 changed files with 7 additions and 0 deletions

View File

@ -20,6 +20,13 @@
AddOutputFilterByType DEFLATE application/json
<Directory WEB_ROOT>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
DirectoryIndex index.php
AllowOverride all
<IfVersion < 2.4>