www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris S. <ch...@yesiknow.net>
Subject general/8194: Missing AddLanguage line causes apache to serve wrong language to browser
Date Thu, 16 Aug 2001 17:13:00 GMT

>Number:         8194
>Category:       general
>Synopsis:       Missing AddLanguage line causes apache to serve wrong language to browser
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          mistaken
>Submitter-Id:   apache
>Arrival-Date:   Thu Aug 16 10:20:00 PDT 2001
>Originator:     chris@yesiknow.net
>Release:        1.3.20
Solaris 2.8 - Apache 1.3.20 BINARY distribution
I've recently downloaded the BINARY distribution of apache_1.3.20 from

After complete installation and proper configuration, I was getting garbled text when trying
to view the default test page (eg. http://www.example.com/ ) with my Windows IE-5 browser
which is set to "en-us" for a default language.  After much troubleshooting, I noticed that
the AddLanguage line for the "zh" language had been left out of the httpd.conf that comes
with the dist.  With this line missing, apache was serving the "index.html.zh.Big5" file even
though my browser is asking for English. (which should result in "index.html.en" being served)
Use the binary dist for Solaris at:

And view the default page from an IE5 browser.
Add the line:

AddLanguage zh .zh

to httpd.conf and restart.  Nice and simple.
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@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!     ]

View raw message