www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <sl...@apache.org>
Subject RE: mod_rewrite/8298: Proxy option appears to have a bad rule
Date Thu, 06 Sep 2001 14:50:21 GMT

> -----Original Message-----
> From: William MacPhee [mailto:William.Macphee@exodus.net]
> 
> All I can see in the mod_rewrite docs is:
> ^/somepath(.*) /otherpath$1 [P]                 not supported, because
> silly!
> ^/somepath(.*) http://thishost/otherpath$1 [P]  not supported, because
> silly!
> I need to be able to do something like:
> ^/somepath(.*) http://thishost/cgi-bin/productinfo?sku=$1 [P,L]
> But this doesn't look like it's accepted (according to that second
> rule above).  Have I missed something here?  It's quite possible
> that I misunderstood one of the other flags that may do this, but I
> don't see any others that look like they apply to this.

Just remove the [P].  Apache will deliver the content directly from 
the otherpath location.

Joshua.

Mime
View raw message