NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Apache with VitualHost ?



On Sat, Oct 26, 2013 at 01:14:20PM +0200, Maurizio Caloro wrote:
> Hello Together
> After try to configure Apache with virtualhost, i have the problem that
> the second link "homeshine" are not available.
> -    Caloro are Browsable = OK
> -    HomeShine
>      ony for local Network, but are not Available.
> For any Help iam Happy
> Regards
> Mauri
> 
> [Snip-http.conf]
> # Virtual hosts
> Include etc/httpd/httpd-vhosts.conf
> 
> [Snip-http-Vhost.conf]
> NameVirtualHost *:80
> 
> <VirtualHost *:80>
> ServerAdmin webmaster%caloro.ch@localhost
> [...]
> </VirtualHost>
> 
> <VirtualHost *:80>
> ServerAdmin webmaster%homeshine.ch@localhost
> [...]
> </VirtualHost>

You don't want 2 default virtualhost.
Change the second one to
<VirtualHost homeshine.ch:80>

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index