Re: Configuring Apache

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

 



Am Di, den 28.10.2003 schrieb Blessing Kamutande um 19:00:

> Http.conf File
> <VirtualHost www.loveness.co.zw>
>   DocumentRoot /www/love/love.htm
>   ServerName www.loveness.co.zw
> </VirtualHost>
> 
> 
> <VirtualHost www.kamutande.co.zw>
>  DocumentRoot /www/kamutande/kamas.htm
>  ServerName www.kamutande.co.zw
> </VirtualHost>
> 
> 

Just above the first <VirtualHost ....> directive you should have this
directive (only once)

NameVirtualHost [yourIpNumber]

e.g.
NameVirtualHost 134.102.3.81

Instead of an IP number you can use the character * to listen to all
interfaces which are installed into the machine.

The directive <VirtualHost ...> should read:

<VirtualHost ip.address.of.host.some_domain.com>
or
<VirtualHost * >

You should use the IP adress of the interface, which the virtual server
should listen to. The name of the virtual server is defined with a
ServerName host.some_domain.com  directive. Again, the character * is
used to listen on any interface of the machine. 

Good luck

Peter






-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux