httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Moon <m...@onware.ca>
Subject RE: [users@httpd] problem getting virtual hosts to work in Apache 1.3
Date Fri, 22 Nov 2002 20:25:54 GMT
Try not specifying so much and see if it works.

<VirtualHost *>
ServerName foo.com
DocumentRoot /www/foo
</VirtualHost>


Ian Moon


On Fri, 22 Nov 2002, Eric J Mitch wrote:

> I am sorry, I forgot to add this piece of information. I have tried both
> the IP address and the URL in the VirtualHost directive, both do not
> seem to work.
>
> - E
>
> ~-~-~-~-~-~-~-~-~-~-~-
> Eric J Mitch
> forbin@usaor.net
> 412-445-1757
>
>
> -----Original Message-----
> From: Eric J Mitch [mailto:forbin42@attbi.com]
> Sent: Friday, November 22, 2002 14:47
> To: users@httpd.apache.org
> Subject: [users@httpd] problem getting virtual hosts to work in Apache
> 1.3
>
> I have added the virtual host settings in my httpd.conf but the server
> still sends all requests to the primary site. Is there anything I need
> to take out further up in the file? What I have added so far is:
>
>
> NameVirtualHost 12.227.21.122
>
> <VirtualHost www.supergsego.com>
>  ServerName www.supergsego.com
>  DocumentRoot /var/apache/htdocs
> </VirtualHost>
>
> <VirtualHost www.realestatemag.com>
>  ServerName www.realestatemag.com
>  DocumentRoot /www/apache/htdocs/remag
> </VirtualHost>
>
> Any help would be greatly appreciated.
>
> Thanks
>
> E
>
> ~-~-~-~-~-~-~-~-~-~-~-
> Eric J Mitch
> forbin@usaor.net
> 412-445-1757
>
>
>
>
> ---------------------------------------------------------------------
> 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
>    "   from the digest: users-digest-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
>    "   from the digest: users-digest-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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message