On Mon, May 14, 2001 at 09:53:54PM -0500, Scott Raun wrote: > I'm Apache 1.3 on potato. > > I can't get name-based virtual hosting to work. > > I just browsed the archive - I've got the NameVirtualHost IP-address in > place. I've had the local Linux User Group mailing list look at my config - > they've had a number of thoughts, none of which have panned out. > > Every time I go to my default domain - fireopal.org - I get the > fireopal.org index.html. Every time I go to the other domain - ytilaer.com > - I get the fireopal.org index.html. > > 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 [EMAIL PROTECTED] > :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 [EMAIL PROTECTED] > :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 don't know for sure about this but mine works and the differences between the two are - NameVirtualHost 209.134.132.36:80 ^^ <VirtualHost 209.134.132.36> ^^ ServerAlias fireopal.org ServerAlias www.fireopal.org ^^^^ I have the ServerAlias lines on two separate lines. I didn't try the glob. hth, kent -- From seeing and seeing the seeing has become so exhausted First line of "The Panther" - R. M. Rilke