Restrict subdirectory access based on host name

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

 



Hi,

We have two web servers under load balancer. I want to restrict access to
certain path based on host name. For example, 

1. www.sc.org 
2. www.sc.com

Both the above are pointing to the same Load Balacer IP but they need to
serve site from different folders. However, they should not serve site from
other folders.

www.sc.org should serve site from a folder called "cs"
www.sc.com should serve site from a folder called "dam"

but I don't want them to be interchangeable like www.sc.org/dam or
www.sc.com/cs. How to restric this?

Thanks,
Migration
-- 
View this message in context: http://old.nabble.com/Restrict-subdirectory-access-based-on-host-name-tp31555898p31555898.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.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-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