Skip to content

Commit

Permalink
Fix missing rewrite rules from Apache 2.4 vhost
Browse files Browse the repository at this point in the history
  • Loading branch information
asantoni authored Jul 26, 2016
1 parent 89c4ecd commit 4940c73
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions installer/apache/airtime-vhost-2.4
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 4940c73

Please sign in to comment.