Thanks Dragon. What if I only want it remapped when the Content-Type is UTF-8? Jeff -----Original Message----- From: Dragon [mailto:dragon@xxxxxxxxxxxxxxxxxx] Sent: Friday, August 10, 2007 10:44 AM To: users@xxxxxxxxxxxxxxxx Subject: Re: mod_headers mapping problem 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.11.11/944 - Release Date: 8/9/2007 2:44 PM --------------------------------------------------------------------- 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