You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Clive Lin <cl...@CirX.ORG> on 2001/01/28 14:01:50 UTC

config/7142: add 2 more AddLanguage directives for big5 pages

>Number:         7142
>Category:       config
>Synopsis:       add 2 more AddLanguage directives for big5 pages
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Jan 28 05:10:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     clive@CirX.ORG
>Release:        rsync dev.apache.org::apache-1.3
>Organization:
apache
>Environment:
FreeBSD cartier.cirx.org 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Sun Jan 28 14:20:56 CST 2001     root@:/home/nexus/obj/home/nexus/src/sys/GENE  i386
>Description:
IE 5.0 (Taiwan version) and Netscape * (Taiwan version) never
send "tw" for its desired web page encoding.

They use zh-tw or zh_tw instead.

Without this addition, the default page for Taiwan people,
htdocs/index.html.tw.Big5, would NEVER be accessed.
>How-To-Repeat:
Use a Taiwan version IE or Netscape, access any just-installed
apache server. And try to access http://apache.kliev.net/, which
would show up the desired (big5 encoding) default page.
>Fix:
--- conf/httpd.conf-dist~       Sun Jan 28 20:47:16 2001
+++ conf/httpd.conf-dist        Sun Jan 28 20:47:52 2001
@@ -703,6 +703,8 @@
     AddLanguage cz .cz
     AddLanguage ru .ru
     AddLanguage tw .tw
+    AddLanguage zh-tw .tw
+    AddLanguage zh_tw .tw
     AddCharset Big5         .Big5    .big5
     AddCharset WINDOWS-1251 .cp-1251
     AddCharset CP866        .cp866
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]