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
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
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
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
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
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.
-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
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
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
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
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
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
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
13 matches
Mail list logo