According to http://httpd.apache.org/docs/vhosts/examples.html,
"Virtual Host examples for common setups", NameVirtualHost will take
an * argument.

I'll try it with my IP address.

Did you mean for those two ServerAlias lines to be separate lines
within the same VirtualHost section?

On Sun, May 13, 2001 at 10:35:51PM -0500, Ben Kochie wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> hrm.. I don't think you can do a * for Named virtual hosts.  have you
> tried it with just the IP address of the host?
> also, try doing
> ServerAlias fireopal.org
> ServerAlias *fireopal.org
> 
> I've never seen "NameVirtualHost *" used in any of the docs.
> 
> Thank You,
>         Ben Kochie (ben at nerp.net)
> 
>  "Unix is user friendly, Its just picky about its friends."
> 
> On Sun, 13 May 2001, Scott Raun wrote:
> 
> > I'm missing something.
> >
> > I'm trying to get Apache 1.3.9 on Debian Potato to support two domains
> > - fireopal.org and ytilaer.com. fireopal.org is the primary domain,
> > and is supposed to be in /var/www. ytilaer.com is the secondary
> > domain, and is supposed to be in /var/www/host.ytilaer.com.
> >
> > It looks like I'm supposed to using the NameVirtualHost directive, and
> > then <VirtualHost> and </VirtualHost> delimiters.
> >
> > I've tried two or three variations - I've lost track - and I keep
> > breaking it. Either I get the ytilaer.com index.html when I go to
> > either domain, or I get the fireopal.org index.html when I go to
> > either domain. There was a period of about 10 minutes earlier today
> > when it looked like it was working - but now it's broken again.
> >
> > I have NOT changed any of the LoadModule lines - do I need to
> > uncomment something to get this to work reliably?
> >
> > I'm more than willing to pass along my complete httpd.conf - and any
> > other requested files! - to anyone who'd care to look at them.
> >
> > OK - I just tried uncommenting the vhost_alias_module and issuing an
> > apache restart - makes no difference.
> >
> > I am getting two errors at restart:
> >
> > [warn] _default_ VirtualHost overlap on port 80, the first has precedence
> > [warn] NameVirtualHost *:80 has no VirtualHosts
> >
> > Here's what is - I think - the most relevant chunk of my httpd.conf.
> >
> > NameVirtualHost *
> >
> > <VirtualHost *>
> > ServerAlias fireopal.org *fireopal.org
> > ServerAdmin webmaster at fireopal.org
> > DocumentRoot /var/www/
> > ServerName www.fireopal.org
> > ErrorLog /var/log/apache/error.log
> > </VirtualHost>
> >
> > <VirtualHost *>
> > ServerAlias ytilaer.com *.ytilaer.com
> > ServerAdmin webmaster at fireopal.org
> > DocumentRoot /var/www/host.ytilaer.com
> > ServerName www.ytilaer.com
> > ErrorLog /var/log/apache/host.ytilaer.com-error.log
> > TransferLog /var/log/apache/host.ytilaer.com-access.log
> > </VirtualHost>
> >
> >
> > --
> > Scott Raun
> > sraun at fireopal.org
> > _______________________________________________
> > tclug-list mailing list
> > tclug-list at mn-linux.org
> > https://mailman.mn-linux.org/mailman/listinfo/tclug-list
> >
> 
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.3ia
> Charset: noconv
> 
> iQCVAwUBOv9SmctpDhsSpvgtAQH7AQP/YB7TEs7FD68BK5Y8HjCJJapbAUPcSXvc
> hD6rLZvYpHEIOxoAdzANrq4R4VYHeIz/+vFyUjQIK1qnjGFBhff1BND17RpVznV/
> 9dNebC7rDCoLxziaQgbNwAsosteCBx8SFHFw5HvjAyhgK0bgiNvi/97ud06kDqT5
> bANNYds6rjc=
> =oFSo
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> tclug-list mailing list
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list

-- 
Scott Raun
sraun at fireopal.org