Skip to content

Commit 73dc10e

Browse files
committed
[fix bug 1119022] Hello: zh-TW locale redirects to SUMO article
1 parent 83f97c8 commit 73dc10e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

etc/httpd/global.conf

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ RewriteRule ^(.*)$ $1 [L,R=301]
2929
# bug 845988 - remove double slashes in URLs
3030
RewriteRule ^(.*)//(.*)$ $1/$2 [L,R=301]
3131

32-
# bug 764261, 841393, 996608, 1008162, 1067691, 1113136
32+
# bug 764261, 841393, 996608, 1008162, 1067691, 1113136, 1119022
3333
RewriteRule ^/zh-TW/$ http://mozilla.com.tw/ [L,R=301]
3434
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox/dnt
3535
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox/independent
@@ -40,6 +40,8 @@ RewriteCond %{REQUEST_URI} !^/zh-TW/firefox/sync
4040
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox/partners
4141
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox/desktop/tips
4242
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox/nightly/firstrun/?
43+
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox/hello
44+
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox(/(?:\d+\.\d+\.?(?:\d+)?\.?(?:\d+)?(?:[a|b]?)(?:\d*)(?:pre)?(?:\d)?))?/hello/start/?
4345
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox(/(?:\d+\.\d+\.?(?:\d+)?\.?(?:\d+)?(?:[a|b]?)(?:\d*)(?:pre)?(?:\d)?))?/firstrun/?
4446
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox(/(?:\d+\.\d+\.?(?:\d+)?\.?(?:\d+)?(?:[a|b]?)(?:\d*)(?:pre)?(?:\d)?))?/tour/?
4547
RewriteCond %{REQUEST_URI} !^/zh-TW/firefox(/(?:\d+\.\d+\.?(?:\d+)?\.?(?:\d+)?(?:[a|b]?)(?:\d*)(?:pre)?(?:\d)?))?/whatsnew/?

0 commit comments

Comments
 (0)