Most of the application is at or near the root (/) of the origin server (/index.html, etc.).
One of the Tomcat webapps has some URL paths that must be accessible to the public, but others that should not.
So at the rev proxy server, I'd like to be able to lock out some URLs.More specifically, I want to allow all access to / and below, except for one particular path prefix (/foo) while allowing a handful of specific paths down the otherwise denied path prefix.
So allow: / /a /a/* and deny /foo and /foo/* while allowing /foo/b/c/* I've had some success with: ProxyPass /foo/b/c/ http://origin:88/foo/b/c/ ProxyPassReverse /foo/b/c/ http://origin:88/foo/b/c/ ProxyPass /foo ! ProxyPass / http://origin:88/ ProxyPassReverse / http://origin:88/But then requests to /foo/* "fall through" and the proxy tries to serve them from its local documents (which don't generally exist, but still it's messy and a bit disconcerting that this is allowing folks to poke around).
Any suggestions on the best way to do this? David --------------------------------------------------------------------- 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