httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Norrbring <li...@norrbring.se>
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 www.delorie.com/web/headers.cgi 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: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