httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug McNutt <dougl...@macnauchtan.com>
Subject [users@httpd] Getting encoding info into HTTP headers
Date Tue, 06 Mar 2007 21:59:40 GMT
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?

-- 

--> From the U S of A, the only socialist country that refuses to admit it. <--

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