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]