Re: [users@httpd] Apache to Apache 2 document encoding problem

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

 



On 4/22/05, Pessoft <pessoft@xxxxxxxxx> 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@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