httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject RE: Simple Name-Based Vhosting
Date Tue, 05 Mar 2002 22:39:46 GMT

> From: Weifeng Wang []

> I put the IP and port in the <VirtualHost> declaration.  The ServerName is
> in the <VirtualHost> body already.  So, the configuration looks like this
> now:
> Port 7778
> ServerName bigus01
> NameVirtualHost
> <VirtualHost>
> DocumentRoot /app/www/biorevelations
> ServerName
> </VirtualHost>
> It still does not work.  What else do I need to specify?  Thanks for your
> help.

The "*" configuration was fine.  You don't need an explicit IP address in
recent versions of Apache.

My question is: why are you setting Port 7778 but then using 80 in the
virtual hosts?  That doesn't make any sense.  What port do you really want?

In addition, it NEVER makes sense to have a NameVirtualHost with only a
single <VirtualHost> section.  Why are you doing that?


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message