Re: [EMAIL PROTECTED] virtual host problem

2007-07-18 Thread Min-Hua Luo
se an ErrorDocument to handle the request. Could you please tell me what I did wrong? Thanks again for your help. James Joshua Slive <[EMAIL PROTECTED]> wrote: On 7/18/07, Min-Hua Luo wrote: > Hi, > > I have two virtual hosts defined in httpd.conf > > List

Re: [EMAIL PROTECTED] virtual host problem

2007-07-18 Thread Min-Hua Luo
Joshua, I am now able to protect my virtual host by using Forbidden page, words cannot express my appreciation. You're a great help to me! Thanks a lot to you! James Joshua Slive <[EMAIL PROTECTED]> wrote: On 7/18/07, Min-Hua Luo wrote: > Hi, > > I have two virt

[EMAIL PROTECTED] virtual host problem

2007-07-18 Thread Min-Hua Luo
Hi, I have two virtual hosts defined in httpd.conf Listen 12311 NameVirtualHost *:12311 ServerName twpdev.ora.fda.gov DocumentRoot /u07/twpdev ServerAdmin [EMAIL PROTECTED] ErrorLog /u07/twpdev_error_log Listen 12312 NameVirtualHost *:12312

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

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

2007-07-17 Thread Min-Hua Luo
Jeff, Thanks a lot for your quick response. James Jeff Fulmer <[EMAIL PROTECTED]> wrote: 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 acce

[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".