aboutsummaryrefslogtreecommitdiff
path: root/.htaccess.in
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess.in')
-rw-r--r--.htaccess.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/.htaccess.in b/.htaccess.in
index 3e1db9a..603b2eb 100644
--- a/.htaccess.in
+++ b/.htaccess.in
@@ -1,3 +1,13 @@
+Options -Indexes
+<Files *.html>
+ SetHandler type-map
+</Files>
+
+SetEnvIf Request_URI ^/(ru|pl|uk)/ prefer-language=$1
+RedirectMatch 301 ^(?:/(ru|pl|uk)){2,}(/.*)?$ /$1$2
+LanguagePriority ru pl uk
+ForceLanguagePriority Prefer Fallback
+
RewriteEngine on
# --BEGIN MAINTENANCE RULES---

Return to:

Send suggestions and report system problems to the System administrator.