Re: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-12 Thread Joshua Slive
On 8/10/07, Jeff Murch [EMAIL PROTECTED] wrote: Thanks Joshua. I found that it is nod_proxy_html v2 that is causing the character set problem. Version 2 only outputs UTF-8. This was corrected in 3 to allow you to specify a character set. So, I have downloaded the source for 3 and compiled it

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
Thanks Dragon. What if I only want it remapped when the Content-Type is UTF-8? Jeff -Original Message- From: Dragon [mailto:[EMAIL PROTECTED] Sent: Friday, August 10, 2007 10:44 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_headers mapping problem Jeff Murch wrote

Re: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Dragon
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

[EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
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

Re: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Joshua Slive
On 8/10/07, Jeff Murch [EMAIL PROTECTED] wrote: Would you please show me an example of how I would unconditionally rewrite the character-type header from utf-8? I am trying, and I know the syntax is more like pseudocode: RewriteEngine On rewriterule ^CContent-Type: text/html;charset=utf-8

Re: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Joshua Slive
On 8/10/07, Jeff Murch [EMAIL PROTECTED] wrote: Wouldn't using RewriteCond be able to do that? No. RewriteCond can act on request headers but not response headers (since mod_rewrite must do rewriting before the response is written). Joshua.

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive Sent: Friday, August 10, 2007 11:37 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_headers mapping problem On 8/10/07, Jeff Murch [EMAIL PROTECTED] wrote: Wouldn't using

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
Wouldn't using RewriteCond be able to do that? Jeff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive Sent: Friday, August 10, 2007 11:14 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_headers mapping problem On 8/10/07

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
More info: It seems that none of the headers will unset... Jeff -Original Message- From: Jeff Murch [mailto:[EMAIL PROTECTED] Sent: Friday, August 10, 2007 11:06 AM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] mod_headers mapping problem I changed the syntax

Re: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Joshua Slive
On 8/10/07, Jeff Murch [EMAIL PROTECTED] wrote: More info: It seems that none of the headers will unset... Standard protocol-required headers like Content-Type, Connection, etc, can't generally be manipulated with mod_headers. mod_rewrite can manipulate content-type, but I don't think it

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
mapping problem More info: It seems that none of the headers will unset... Jeff -Original Message- From: Jeff Murch [mailto:[EMAIL PROTECTED] Sent: Friday, August 10, 2007 11:06 AM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] mod_headers mapping problem I changed

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] 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

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
PROTECTED] On Behalf Of Joshua Slive Sent: Friday, August 10, 2007 12:04 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_headers mapping problem On 8/10/07, Jeff Murch [EMAIL PROTECTED] wrote: Would you please show me an example of how I would unconditionally rewrite the character-type