httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Louis Wevers <frut...@netscape.net>
Subject Re: [users@httpd] virtual hosts
Date Wed, 14 Jan 2004 14:51:35 GMT
Hmmm,

I think the NameVirtualHost * should kill the system. Try something like 
this:
Listen 81
NameVirtualHost simply.it:81
<VirtualHost *>
    ServerAdmin domain@simply.it <mailto:domain@simply.it>
    DocumentRoot /htdocs/
    ServerName www.simply.it <http://www.simply.it>
</VirtualHost>
 
<VirtualHost simply.it:81>
   ServerAdmin domain@simply.it <mailto:domain@simply.it>
   DocumentRoot /picturebank/
   ServerName www.picturebank.it <http://www.picturebank.it>
</VirtualHost>

I Guess that should do the trick.

Cheers,
Louis Wevers
francesca@simply.it wrote:

> I have a problem with virtual hosts.
> My server is windows 2000 server and Apache is on the port 81.
> On the port 80 I have IIS.
>  
> This is my configuration, why It doesn't works?
>  
> Listen 81
> NameVirtualHost *
> <VirtualHost *>
>     ServerAdmin domain@simply.it <mailto:domain@simply.it>
>     DocumentRoot /htdocs/
>     ServerName www.simply.it <http://www.simply.it>
> </VirtualHost>
>  
> <VirtualHost *>
>    ServerAdmin domain@simply.it <mailto:domain@simply.it>
>    DocumentRoot /picturebank/
>    ServerName www.picturebank.it <http://www.picturebank.it>
> </VirtualHost>
>  
>  
> The error log tells me the there are overlap on port 81 and that 
> virtual hosts for Ip address doesn't exist!
>  



---------------------------------------------------------------------
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