On Fri, Apr 16, 2010 at 10:56 AM, Michael Ni <michael...@gmail.com> 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 cove...@gmail.com --------------------------------------------------------------------- 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-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org