From dca5188dfee3c8f17ea28dd101231b2d72b6e784 Mon Sep 17 00:00:00 2001 From: markseu Date: Fri, 20 Nov 2015 14:33:22 +0100 Subject: [PATCH] Configuration update --- .htaccess | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.htaccess b/.htaccess index 699247f..9920543 100644 --- a/.htaccess +++ b/.htaccess @@ -1,17 +1,9 @@ RewriteEngine on -# Yellow dynamic pages - +DirectoryIndex index.html yellow.php +RewriteRule ^(cache|content|system)/ error [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^ yellow.php [L] -DirectoryIndex index.html yellow.php -RewriteRule ^(cache|content|system)/ error [L] - -# Yellow static pages - -RewriteCond %{REQUEST_FILENAME} -f -RewriteRule ^[^\.]+$ - [T=text/html,L] -ErrorDocument 404 /error.html