On Tue, May 15, 2001 at 02:04:32AM -0500, Bob McCloud wrote: > On 14 May 2001, at 21:56, Scott Raun wrote: > > Here's the Virtual Host section of my httpd.conf: > > > > :NameVirtualHost 209.134.132.36 > > : > > :<VirtualHost 209.134.132.36:80> > > :ServerName fireopal.org > > :ServerAlias fireopal.org *.fireopal.org > > :ServerAdmin webmaster at fireopal.org > > :UserDir public_html > > :DocumentRoot /var/www_test/host.fireopal.org > > :ErrorLog /var/log/apache/error.log > > :</VirtualHost> > > : > > :<VirtualHost 209.134.132.36:80> > > :ServerName ytilaer.com > > :ServerAlias ytilaer.com *.ytilaer.com > > :ServerAdmin webmaster at fireopal.org > > :UserDir disabled > > :DocumentRoot /var/www_test/host.ytilaer.com > > :ErrorLog /var/log/apache/host.ytilaer.com-error.log > > :TransferLog /var/log/apache/host.ytilaer.com-access.log > > :</VirtualHost> > > > I've been watching with a great deal of interest how this problem is > going to be solved, I'm going to need it myself. After several posts > with no success, I spent a great deal of time on deja and at > apache.org. > > I dont have two domains to test my theory, but here is what I found at > apache.org: > > <VirtualHost 111.22.33.44> > ServerName www.domain.tld > ServerPath /domain > DocumentRoot /web/domain > </VirtualHost> <snipping examples> > Both the examples at apache.org and deja say the samething, > ServerName should start with www. In Scotts that is omitted. > > In one post there was an explination that if Apache cant find > www.ytilaer.com it will serve up the first host name in the VirtualHost > list, hence www.fireopal.org is sent in responce to both requests. Im > just guessing here, but I really dont think Apache is finding > www.fireopal.org either, I think it is just looking at the path in the > first VirtualHost listing and serving up that page. > > Like I said, I would test this myself, but I dont have two domains to > work with. But I think its worth a shot. Well, I tried changing the ServerName directives to www.fireopal.org and www.ytilaer.com - still no go. -- Scott Raun sraun at fireopal.org