httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asplund Marko <marko.aspl...@ixonos.com>
Subject Re: [users@httpd] mod_rewrite access control configuration
Date Tue, 17 Jan 2012 10:26:55 GMT

Tom Evans wrote:
> If you don't want to proxy certain URLs, then instruct mod_proxy not
> to proxy them:
>
> ProxyPass /foo !
> ProxyPass /bar !
> ProxyPass /baz !
> ProxyPass / ajp://127.0.0.1:8009/
>
> No need to be messing with rewrite rules.

Yes, good point, thanks.

I'll probably go with a similar approach, and use ProxyPass instead of
rewrite rules controlling access, except that i'll try to enumerate the
required contexts and use a default deny policy:

ProxyPass /foo ajp://127.0.0.1:8009/foo
ProxyPass /bar ajp://127.0.0.1:8009/bar
ProxyPass /baz ajp://127.0.0.1:8009/baz




thanks,

marko


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message