diff --git a/.htaccess b/.htaccess index 699247fa60cf70faddba048933cdf73cdc602379..99205437fbd05e1c7ffa1782e67232a7cc2a021b 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