Skip to content
Snippets Groups Projects
Commit 157cd6d5 authored by kairo's avatar kairo
Browse files

yet another try doing L10n dirs slightly differently

parent fbf0da0d
No related branches found
No related tags found
No related merge requests found
......@@ -8,5 +8,6 @@
ErrorDocument 404 /404
SetEnvIf Request_URI ^/(en|de)/ prefer-language=$1
# This corrects missing /
RewriteRule ^/(en|de)$ /$1/ [R,L]
......@@ -11,7 +12,9 @@
# This corrects missing /
RewriteRule ^/(en|de)$ /$1/ [R,L]
# This than redirect Apache to existing file
RewriteRule ^/(en|de)/(.*)$ /$2 [PT,E=prefer-language:$1]
# This redirects Apache to existing file
RewriteRule ^/(en|de)/(.*)$ /$2
SetEnvIf Request_URI ^/(en|de)/ 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