aboutsummaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2006-03-25 10:41:44 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2006-03-25 10:41:44 +0000
commit1a5d6c8d3e78bdfc598158fee0b6e7d774237361 (patch)
treea46a440eca252da8e42cf8306ae446ca3ecd2d33 /.htaccess
parent75efecaa843c59bc29cccebd3a75c8f0da91a480 (diff)
downloadellinika-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--.htaccess9
1 files changed, 9 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index d176c36..e20fd52 100644
--- a/.htaccess
+++ b/.htaccess
@@ -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]

Return to:

Send suggestions and report system problems to the System administrator.