From ae61a962282c09760dcd69150c6b242945bb4e2f Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Thu, 7 Nov 2013 07:59:12 -0500 Subject: [PATCH] Simpler RewriteCond rules. Simply avoid rewrites for any file which exists rather than maintaining a list of files which we explicitly don't rewrite. --- www/.htaccess | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/www/.htaccess b/www/.htaccess index e56e28a..a3be2de 100644 --- a/www/.htaccess +++ b/www/.htaccess @@ -1,5 +1,3 @@ RewriteEngine on -RewriteCond %{REQUEST_FILENAME} !/style\.css$ -RewriteCond %{REQUEST_FILENAME} !/logo\.png$ -RewriteCond %{REQUEST_FILENAME} !/login\.php$ +RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.+) index.php [L] -- 2.20.1