httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Dulaunoy <a...@conostix.com>
Subject Re: proxypass question
Date Wed, 05 Jun 2002 15:50:28 GMT
On Tue, 4 Jun 2002, Joshua Slive wrote:

> Alexandre Dulaunoy wrote:
> > Check out mod_rewrite, there is an additional [P] directive (when
> > mod_proxy is available).
> >
> > Remove your ProxyPass directive and write rules with Rewrite Rules
> >
> > RewriteRule ^/webmail/(.*)$ http://myinternalwebmail:80/webmail/$1 [P]
> >
> > Don't forget to pass GET request into the rewrite rule.
>
> I'm not sure why you recommend this.  That RewriteRule is exactly
> equivalent to a ProxyPass directive.

	More complex rewrite can be written. You can create custom
"policy" and have a comple access-list for the url.

	Yes the [P] is a proxypass but without full rewrite function.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message