On Fri, Apr 16, 2010 at 10:56 AM, Michael Ni <[email protected]> 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. >
Put your ProxyPass rules in your HTTP-only virtual-host. If you're using a vhost for SSL and the base config for HTTP, create a <virtualhost *:80> and use move your ProxyPass into it. -- 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]
