← Back to team overview

sslug-teknik team mailing list archive

Re: Virtualhostname Redhat 5.1=>Redhat 5.2 Apache

 

Filip Stadler wrote:

....

> Genstart httpd og får denne fejl besked:
> 
> Starting httpd: httpd [Sat Mar 20 20:29:34 1999] [warn] VirtualHost
> www.stadler.
> dk:80 overlaps with VirtualHost www.p75skolen-fgsk.dk:80, the first has
> preceden
> ce, perhaps you need a NameVirtualHost directive
                        *****************
Her står det jo, den beder jo pænt om at du kigger på "NameVirtialhost"
kommandoen, læs nærmere om dette i apache doc's i /usr/doc/apache 
eller hos http://www.apache.org/

Der anbefales følgende med IP-adresser 
(taget fra min hjemme-pc/lokalnet opæstning):

NameVirtualHost 192.168.1.1

<VirtualHost 192.168.1.1>
Servername mkb84.ftn
Serveralias mkb84
.............osv
</Virtualhost>

<VirtualHost 192.168.1.1>
Servername frank.ftn
Serveralias frank
...........osv
</Virtualhost>

osv.....


-- 
mvh Frank Damgaard  frda@xxxxxxxxxxxxx | frank@xxxxxxxx |fido  2:236/15.2


Follow ups

References