Re: mod_rewrite access control configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux