[EMAIL PROTECTED] How to protect domains in a multi-hosting Apache configuration

2007-07-17 Thread Min-Hua Luo
Hi, Let's say I have two name-based Virtual Host (using the same port with same IP) abc.com and xyz.com, both of them resolve to IP address 10.18.1.10. Let's say I have a URL called http://abc.com/dir1; which I want to be accessed only through domain name abc.com. Since

Re: [EMAIL PROTECTED] How to protect domains in a multi-hosting Apache configuration

2007-07-17 Thread Stephen
Min-Hua Luo [EMAIL PROTECTED] wrote:Hi, Let's say I have two name-based Virtual Host (using the same port with same IP) abc.com and xyz.com, both of them resolve to IP address 10.18.1.10. Let's say I have a URL called http://abc.com/dir1; which I want to be accessed only

Re: [EMAIL PROTECTED] How to protect domains in a multi-hosting Apache configuration

2007-07-17 Thread Jeff Fulmer
I'm not sure what problem you're trying to solve but the fact that they resolve to the same IP is irrelevant. Do they share a DocumentRoot? If they share a DocumentRoot and you want BOTH to access DOCUMENT_ROOT but you only want abc.com to access DOCUMENT_ROOT/dir1, then you'll have to restrict

Re: [EMAIL PROTECTED] How to protect domains in a multi-hosting Apache configuration

2007-07-17 Thread Min-Hua Luo
Thanks a lot for your response. James Stephen [EMAIL PROTECTED] wrote: Min-Hua Luo [EMAIL PROTECTED] wrote: Hi, Let's say I have two name-based Virtual Host (using the same port with same IP) abc.com and xyz.com, both of them resolve to IP address 10.18.1.10.