Put your ProxyPass rules in your HTTP-only virtual-host. If you'reOn Fri, Apr 16, 2010 at 10:56 AM, Michael Ni <michaelcni@xxxxxxxxx> wrote:
> anyone know how can i do a
>
> ProxyPass /foo/ http://foo.bar.com
>
> but only where protocol is http and not https?
>
>
> so
> http://www.apache.org/foo/ would proxy to http://foo.bar.com
>
> but https://www.apache.org/foo/ would be denied
>
> i looked at ProxyPassMatch, but it didn't seem right.
>
using a vhost for SSL and the base config for HTTP, create a
<virtualhost *:80> and use move your ProxyPass into it.
--
Eric Covener
covener@xxxxxxxxx
---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx