Permalink
Browse files

[fix bug 1119022] Hello: zh-TW locale redirects to SUMO article

  • Loading branch information...
1 parent 83f97c8 commit 73dc10ea0ed766351341191ce1c33a90e1e8d55b @alexgibson alexgibson committed Jan 12, 2015
Showing with 3 additions and 1 deletion.
  1. +3 −1 etc/httpd/global.conf
@@ -29,7 +29,7 @@ RewriteRule ^(.*)$ $1 [L,R=301]
# bug 845988 - remove double slashes in URLs
RewriteRule ^(.*)//(.*)$ $1/$2 [L,R=301]
-# bug 764261, 841393, 996608, 1008162, 1067691, 1113136
+# bug 764261, 841393, 996608, 1008162, 1067691, 1113136, 1119022
RewriteRule ^/zh-TW/$ http://mozilla.com.tw/ [L,R=301]
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox/dnt
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox/independent
@@ -40,6 +40,8 @@ RewriteCond %{REQUEST_URI} !^/zh-TW/firefox/sync
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox/partners
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox/desktop/tips
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox/nightly/firstrun/?
+RewriteCond %{REQUEST_URI} !^/zh-TW/firefox/hello
+RewriteCond %{REQUEST_URI} !^/zh-TW/firefox(/(?:\d+\.\d+\.?(?:\d+)?\.?(?:\d+)?(?:[a|b]?)(?:\d*)(?:pre)?(?:\d)?))?/hello/start/?
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox(/(?:\d+\.\d+\.?(?:\d+)?\.?(?:\d+)?(?:[a|b]?)(?:\d*)(?:pre)?(?:\d)?))?/firstrun/?
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox(/(?:\d+\.\d+\.?(?:\d+)?\.?(?:\d+)?(?:[a|b]?)(?:\d*)(?:pre)?(?:\d)?))?/tour/?
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox(/(?:\d+\.\d+\.?(?:\d+)?\.?(?:\d+)?(?:[a|b]?)(?:\d*)(?:pre)?(?:\d)?))?/whatsnew/?

0 comments on commit 73dc10e

Please sign in to comment.