Skip to content

Commit

Permalink
Bug 1208358: Fix redirection problem in /ja/about
Browse files Browse the repository at this point in the history
  • Loading branch information
chikoski authored and pmac committed Sep 28, 2015
1 parent fc0d959 commit dac8e32
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions etc/httpd/global.conf
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,9 @@ RewriteRule ^/(\w{2,3}(?:-\w{2})?/)?firefox/toolkit/download-to-your-devices(.*)
# bug 921564
RewriteRule ^/(ach|af|ak|an|ar|as|ast|az|be|bg|bn-BD|bn-IN|br|brx|bs|ca|cs|csb|cy|da|de|dsb|ee|el|en-GB|en-US|en-ZA|eo|es-AR|es-CL|es-ES|es-MX|et|eu|fa|ff|fi|fr|fy-NL|ga-IE|gd|gl|gu-IN|ha|he|hi-IN|hr|hsb|hu|hy-AM|id|ig|is|it|ja|ja-JP-mac|ka|kk|km|kn|ko|ku|lg|lij|ln|lt|lv|mai|mk|ml|mn|mr|ms|my|nb-NO|nl|nn-NO|nso|oc|or|pa-IN|pl|pt-BR|pt-PT|rm|ro|ru|sah|sat|si|sk|sl|son|sq|sr|sv-SE|sw|ta|ta-LK|te|th|tr|uk|ur|uz|vi|wo|xh|yo|zh-CN|zh-TW|zu)(/?)$ /b/$1$2 [PT]

# bug 987059, 1050149, 1072170
RewriteCond %{REQUEST_URI} !^/ja/about/manifesto
RewriteCond %{REQUEST_URI} !^/ja/about/legal
RewriteRule ^/ja/about(/?|/.+)$ http://www.mozilla.jp/about/mozilla/ [L,R=301]
# bug 987059, 1050149, 1072170, 1208358
RewriteRule ^/ja/about/?$ http://www.mozilla.jp/about/mozilla/ [L,R=301]
RewriteRule ^/ja/about/japan/?$ http://www.mozilla.jp/about/japan/ [L,R=301]

# bug 1091977
RewriteRule ^/ja/contribute(/?|/.+)$ http://www.mozilla.jp/community/ [L,R=301]
Expand Down

0 comments on commit dac8e32

Please sign in to comment.