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