Skip to content
Snippets Groups Projects
Commit 47dd28e9 authored by kairo's avatar kairo
Browse files

yet another try doing L10n dirs slightly differently

parent 22a749ad
No related branches found
No related tags found
No related merge requests found
......@@ -8,9 +8,7 @@
ErrorDocument 404 /404
SetEnvIf Request_URI ^/(en|de)/ prefer-language=$1
RewriteEngine On
# This corrects missing /
RewriteRule ^/(en|de)$ /$1/ [R,L]
# This redirects Apache to existing file
......@@ -13,8 +11,8 @@
RewriteEngine On
# This corrects missing /
RewriteRule ^/(en|de)$ /$1/ [R,L]
# This redirects Apache to existing file
RewriteRule ^/(en|de)/(.*)$ /$2
RewriteRule ^/(en|de)/(.*)$ /$2 [PT,E=prefer-language:$1]
RedirectMatch temp ^/security/(.*)$ http://www.mozilla.org/security/$1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment