httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Norrbring <>
Subject Re: [users@httpd] Header problems..
Date Sun, 27 Nov 2005 12:54:28 GMT
On 2005-11-27 13:37 Anders Norrbring wrote:
> I'm trying to validate a site as XHTML 1.1, and all the web pages are 
> okay according to the W3C validator.
> But as soon as I put them on my Apache 2.0.54 server I run into 
> problems..  I get this response:
> "The character encoding specified in the HTTP header (') is different 
> from the value in the <meta> element (utf-8). I will use the value from 
> the HTTP header (utf-8) for this validation."
> Seems like the server send an invalid header somehow.  I have this in 
> the .htaccess file:
> AddCharset utf-8 .php .html
> AddDefaultCharset utf-8

I ran the page through to see the 
headers, it indicates that they look like:

Content-Type: text/html; charset=' . iso-8859-1 . '

I can't even guess where the ' and . comes from.... I grep:ed all files, 
no match.

Anders Norrbring
Norrbring Consulting

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message