httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] Apache to Apache 2 document encoding problem
Date Fri, 22 Apr 2005 16:09:29 GMT
On 4/22/05, Pessoft <pessoft@seznam.cz> wrote:
> Hi every1,
> 
> i installed on winxp apache2.0.54. previously i used apache 1.3.33. when i start 2.0.54
as service, all document's content-type headers are ignored. i use this syntax:
> <meta http-equiv="content-type" content="text/html; charset=utf-8" />
> apache always pass default charset, but i have documents which doesn't use default charset,
it differs from document to document.
> when i start apache1, everything goes fine. where is problem? is content-type header
support included in apache2?

The <meta> stuff is completely between you and the browser.  Apache
has nothing to do with it.  But Apache does send real HTTP
Content-Type headers that will override any <meta> tag in your
document.  You probably want to look at the AddDefaultCharset
directive in httpd.conf.  Commenting it out may solve your problem.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message