diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-03-25 10:41:44 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-03-25 10:41:44 +0000 |
commit | 1a5d6c8d3e78bdfc598158fee0b6e7d774237361 (patch) | |
tree | a46a440eca252da8e42cf8306ae446ca3ecd2d33 /.htaccess | |
parent | 75efecaa843c59bc29cccebd3a75c8f0da91a480 (diff) | |
download | ellinika-1a5d6c8d3e78bdfc598158fee0b6e7d774237361.tar.gz ellinika-1a5d6c8d3e78bdfc598158fee0b6e7d774237361.tar.bz2 |
Add maintenance rules
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@422 941c8c0f-9102-463b-b60b-cd22ce0e6858
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,4 +1,13 @@ RewriteEngine on + +# --BEGIN MAINTENANCE RULES--- +RewriteCond .maintenance -f +RewriteCond %{REQUEST_FILENAME} !.*/maint.html +RewriteCond %{REQUEST_FILENAME} !.*\.css +RewriteCond %{REQUEST_FILENAME} !.*\.png +RewriteRule .* /maint.html [L] +# --END MAINTENANCE RULES--- + RewriteRule (.+)/dict.html /cgi-bin/dict.cgi?LANG=$1 [L] RewriteRule (.+)/nea.html /cgi-bin/nea.cgi?LANG=$1 [L] RewriteRule (.+)/nea.rss /cgi-bin/nea.cgi?LANG=$1&rss=1 [L] |