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 compile

RE: [EMAIL PROTECTED] mod_headers mapping problem

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

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 ^C"Content-Type: text/html;charse

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
-8859-1" Jeff -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]&g

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

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

RE: [EMAIL PROTECTED] mod_headers mapping problem

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

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

RE: [EMAIL PROTECTED] mod_headers mapping problem

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

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 r

[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