More info: It seems that none of the headers will unset....... Jeff -----Original Message----- From: Jeff Murch [mailto:jmurch@xxxxxxx] Sent: Friday, August 10, 2007 11:06 AM To: users@xxxxxxxxxxxxxxxx Subject: RE: mod_headers mapping problem I changed the syntax in the conf file but still it will not unset the content-type header and will not let me add the new one. I know that the directives are working fine as I can add a header with a different name no problem (Content-Typpe) but that doesn't help. Are there any special considerations for the Content-Type header directive maybe when using it in a reverse proxy environment? header unset Content-Type header add Content-Type "text/html;charset=iso-8859-1" Thanks, 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 -- 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