Re: Getting encoding info into HTTP headers

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

 




Doug McNutt wrote:
> I'm stuck with apache 1.3.37 until my web hosting service changes things. If my question is solved in apache 2 please consider this a request for evidence of a time to change that can be used in a complaint.
>
> What I would like is to be able, on an html file by html file basis, to persuade apache to deliver HTTP header like this:
>
> Content-Type: text/html; charset=utf-8
>
> where the format might not be exactly right.
>
> I can place meta http equiv lines in the html for browsers but that can be too late when I really want the receiving machine, which might be using curl, to know what I have in mind right away.
>
> I have been told to try adding .utf8 to the file name but it needs to END in .html for other reasons. *.utf8.html seems to be ignored.
>
> I can write a CGI script to control the delivery and, I think, add HTTP headers all day before the double line end. But that seems overkill when I really don't need to modify the HTML file I want to deliver.
>
> What I'd like from this group is a "politically correct" way to make it happen. Is there one? Is there some apache-mod I should be using?
>
>   

AddDefaultCharset is available in Apache 1.3.12 and later,
AddCharSet after Apache 1.3.10

-- 
Matthew Farey




---------------------------------------------------------------------
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