aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.