Re: mod_headers mapping problem

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

 



Jeff Murch wrote:

I am trying to map the following in my httpd.conf (for a reverse proxy):

header unset "Content-Type: text/html;charset=utf-8"
header add Content-Type "Content-Type: text/html;charset=iso-8859-1"

As you can see I want to change the content type so that some of the
characters render correctly. But the unset won't get rid of the old
Content-Type header and the add won't add the new one.  Can anyone figure
out what I am missing here? I have placed both directives at the very end of
my conf as well as other locations and it made no difference.

---------------- End original message. ---------------------

I think your syntax is wonky. I think you want:

Header unset Content-Type
Header add Content-Type "text/html;charset=iso-8859-1"


Dragon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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