I haven't read up on what that is supposed to do but I tried it and it worked. That's what I was missing. Thank you so very much. I am happy now.
-----Original Message----- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Friday, December 01, 2006 5:08 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] 2 vhosts with same file names - Apache only uses one file Hello, On 11/30/06, Earl, Robert(IT) <[EMAIL PROTECTED]> wrote: > Sorry about the last post, sent by mistake. > My config is below. What I found is if I switch the order of the virtual > host blocks, it will pick up the files from whichever documentroot of > whichvever vhost is listed first. > > In my hosts file I set up > 127.0.0.1 localhost > 192.54.131.157 emp2.mydomain.com > 192.54.131.157 emp3.mydomain.com > > In my httpd.conf I set up > > DocumentRoot C:/home/http/empsupport > ServerName localhost <snip> I'm missing the "NameVirtualHost" directive in your config, which you need since both hosts run on the same IP. Krist -- [EMAIL PROTECTED] Bremgarten b. Bern, Switzerland --------------------------------------------------------------------- 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: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- 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: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]