httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weifeng Wang" <Weifeng.W...@bioinfogroup.com>
Subject RE: Simple Name-Based Vhosting
Date Tue, 05 Mar 2002 23:07:55 GMT
1. 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?
Answer:  The Port 7778 is the default in httpd.conf file after I installed
the Apache.  I thought the port 80 is the common port used by a web server.
If this is right, I want to use the Port 80.

2. In addition, it NEVER makes sense to have a NameVirtualHost with only a
single <VirtualHost> section.  Why are you doing that?
Answer: Actually, this is just for testing.  I am going to put more virtual
hosts there if this one works.

Thanks.

Weifeng Wang

-----Original Message-----
From: joshua@slive.ca [mailto:joshua@slive.ca]
Sent: Tuesday, March 05, 2002 5:40 PM
To: users@httpd.apache.org; Weifeng.Wang@bioinfogroup.com
Subject: RE: Simple Name-Based Vhosting



> From: Weifeng Wang [mailto:Weifeng.Wang@bioinfogroup.com]

>
> 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 192.168.1.100:80
>
> <VirtualHost 192.168.1.100:80>
> DocumentRoot /app/www/biorevelations
> ServerName www.biorevelations.com
> </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?

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message