On Wed, 29 Aug 2001 [EMAIL PROTECTED] wrote:

> On Wed, 29 Aug 2001, [EMAIL PROTECTED] wrote:
> > [...]
> > VirtualHost 192.168.33.1:80
> 
>   ^ This Directive does not exist. Don't you get complaints from Apache
> about it? (Should be NameVirtualHost for name based virtual hosting, or
> omitted for IP-based virtual hosts)

No, you're wrong.

First, if you're running 192.168.33.1 as a NameVirtualHost, the entry for
each name-based host on that address must be enclosed by

<VirtualHost 192.168.33.1>
</VirtualHost>

and you use the ServerName and ServerAlias directives to identify the DNS
for the particular site you're setting up.

And if you want just one site on that IP, you don't need a NameVirtualHost
directive. In that case,

> > <VirtualHost 192.168.33.1:80>
> >     MidgardEngine On
> >     ServerName 192.168.33.1
> >     Port 80
> > [...]

is perfectly legal (and proper).

-- 
JustThe.net LLC - Steve "Web Dude" Sobol, CTO - [EMAIL PROTECTED] 

Donate a portion of your monthly ISP bill to your favorite charity or
non-profit organization! E-mail me for details. 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to