Combining mod_jk and Location Directives

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

 



Is it possible, for a given URL that's being directed to mod_jk, to lock it down so that you can only access it from a particular subnet?

For example, let's say I have an app with JkMounts defined:

JkMount /myapp worker1
JkMount /myapp/sub worker2
JkMount / worker3

Then I have a sub-directory, /admin that I want to restrict to being only available from 192.168.1.*.  Is there some combination of JkMount and something like this that will get the desired effect or is this not possible with just mod_jk and Location?  Do you *have* to do something with Java enterprise resources to lock it down?

<Location /admin>
Order deny, allow
deny from all
allow from 192.168.1
</Location>

This email message and any attachments are for the sole use of the intended recipient(s) and may contain information that is proprietary to Ahold and/or its subsidiaries (“Ahold”) or otherwise confidential or legally privileged.  If you have received this message in error, please notify the sender by reply, and delete all copies of this message and any attachments.  If you are the intended recipient you may use the information contained in this message and any files attached to this message only as authorized by Ahold.  Files attached to this message may only be transmitted using secure systems and appropriate means of encryption, and must be secured using the same level of password and security protection with which the file was provided to you.  Any unauthorized use, dissemination or disclosure of this message or its attachments is strictly prohibited.

---------------------------------------------------------------------
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