Fix missing rewrite rules from Apache 2.4 vhost
This commit is contained in:
parent
89c4ecd290
commit
4940c735e1
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue