On 7/23/07, Jeff Murch <[EMAIL PROTECTED]> wrote:
I need to rewrite a location header as follows but I can't seem to get the
syntax correct:

RewriteRule ^Location: http://server1.domain.com  Location:
server2.domain.com [R,L]

Something like this?

RewriteCond %{HTTP:Location} ^http://server1\.domain\.com(.*)
RewriteRule .* http://server2.domain.com%1 [R,L]

--
Eric Covener
[EMAIL PROTECTED]

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