From 4940c735e170a50310071e138d027e71f3c767bd Mon Sep 17 00:00:00 2001 From: Albert Santoni Date: Tue, 26 Jul 2016 16:24:37 -0400 Subject: [PATCH] Fix missing rewrite rules from Apache 2.4 vhost --- installer/apache/airtime-vhost-2.4 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/installer/apache/airtime-vhost-2.4 b/installer/apache/airtime-vhost-2.4 index d15471ba22..d53ff05b64 100644 --- a/installer/apache/airtime-vhost-2.4 +++ b/installer/apache/airtime-vhost-2.4 @@ -20,6 +20,13 @@ AddOutputFilterByType DEFLATE application/json + 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