AddDefaultCharset not working?

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

 



Hi, all. I'm having a devil of a time getting my Apache to not output charset clauses in its Content-type headers -- it insists on outputting charset=iso-8859-1 although I'd like it to not do so.

(Background: we've recently taken on a customer who wants UTF-8 output for their virtualhost, so he can render Slovak characters.)

According to the docs, AddDefaultCharset should be able to either set or suppress the charset=iso-8859-1 clause, but it's not working...


httpd.conf disables the charset clause:
AddDefaultCharset Off


and the vhost enables and specifies the charset:
<VirtualHost 69.59.158.28:80>
  ServerName  www.turistickamapa.sk
  ServerAlias turistickamapa.sk
  ServerAlias www.mapy.hiking.sk
  ServerAlias mapy.hiking.sk
  DocumentRoot "/home/hikingsk"
  AddDefaultCharset UTF-8
</VirtualHost>



And yet...

# wget --server-response http://www.turistickamapa.sk/
--05:23:26--  http://www.turistickamapa.sk/
           => `index.html'
Resolving www.turistickamapa.sk... 69.59.158.28
Connecting to www.turistickamapa.sk|69.59.158.28|:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Date: Sun, 10 Jun 2007 12:23:27 GMT
  Server: Apache
  Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
  Pragma: no-cache
  Set-Cookie: HOSTGIS=52d0e5393703ae7ad1dbc48c1f08f730; path=/
  Connection: close
  Content-Type: text/html; charset=iso-8859-1



Are my tired eyes missing something here?


--
Gregor Mosheh / Greg Allensworth
System Administrator, HostGIS cartographic development & hosting services
http://www.HostGIS.com/

"Remember that no one cares if you can back up,
 only if you can restore." - AMANDA

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