How to limit ProxyPass[Reverse] ?
am 09.06.2007 08:27:05 von szr
I know I'm missing something really stupid here, but why doesn't the
following work?
ProxyRequests Off
ProxyPass / http://localhost:800
ProxyPassReverse / http://localhost:800
I tried using a
startup error telling me the ProxyPass was not allowed there. Is it just
me or is this rather counter intuitive to not allow such statements in
what appears to be the perfect encapsulating block to impose filters on
them?
Thank you and hope this can be solved while I still have some hair left
:)
--
szr
Re: How to limit ProxyPass[Reverse] ?
am 09.06.2007 22:31:13 von szr
Davide Bianchi wrote:
> On 2007-06-09, szr wrote:
> > I know I'm missing something really stupid here, but why doesn't the
> > following work?
> >
> > ProxyPass / http://localhost:800
> > ProxyPassReverse / http://localhost:800
> >
>
> Afaik you can't use the Proxy directives inside a Location block,
> you could try to use either a RewriteRule to catch the .asp block
> or a block.
>
> I'd go for a RewriteRule in this case (even if I consider using the
> Rewrite directives a last-resort-only option).
>
> Davide
And just how would you do such a proxy using mod_rewrite ?
--
szr