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;charset=utf-8" "Content-Type:
text/html;charset=iso-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]> 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.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-- 
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to