Configuration update
This commit is contained in:
parent
f862dab99f
commit
dca5188dfe
1 changed files with 2 additions and 10 deletions
12
.htaccess
12
.htaccess
|
@ -1,17 +1,9 @@
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
|
|
||||||
# Yellow dynamic pages
|
DirectoryIndex index.html yellow.php
|
||||||
|
RewriteRule ^(cache|content|system)/ error [L]
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteRule ^ yellow.php [L]
|
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
|
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
Loading…
Add table
Reference in a new issue