Re: [users@httpd] Restrict subdirectory access based on host name

2011-05-05 Thread Ndmigration
;/usr/local/apache/htdocs/cs" ServerName www.sc.org DocumentRoot "/usr/local/apache/htdocs/dam" ServerName www.sc.com Yehuda Katz wrote: > > On Thu, May 5, 2011 at 11:41 PM, Ndmigration > wrote: > >> www.sc.org should serve site from a folder calle

[users@httpd] Restrict subdirectory access based on host name

2011-05-05 Thread Ndmigration
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 si