Re: [users@httpd] Header problems..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux