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

Re: Apache, squid, et bind



Salut

Le Lundi 13 Janvier 2003 01:37, Dominique Arpin a écrit :

> Configure ton virtual host comme ceci:
> <virutal host   IP >
> Servername nestor.clubinfo
> ServerAlias   nestor
>
> et ton probleme sera regler.... du moin je pense bien :)

Voilà ce que j'ai ajouté à mon /etc/apache/http.conf :

### Section 3: Virtual Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on 
your
# machine you can setup VirtualHost containers for them.
# Please see the documentation at 
<URL:http://www.apache.org/docs/vhosts/>
# for further details before you try to setup virtual hosts.
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# If you want to use name-based virtual hosts you need to define at
# least one IP address (and port number) for them.
#
#NameVirtualHost 12.34.56.78:80
#NameVirtualHost 192.168.0.15:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
#
#<VirtualHost ip.address.of.host.some_domain.com>
#    ServerAdmin webmaster@host.some_domain.com
#    DocumentRoot /www/docs/host.some_domain.com
#    ServerName host.some_domain.com
#    ErrorLog logs/host.some_domain.com-error.log
#    CustomLog logs/host.some_domain.com-access.log common
#</VirtualHost>

#<VirtualHost _default_:*>
#</VirtualHost>

<VirtualHost 192.168.0.15>
ServerAdmin     aurelien@nestor.clubinfo
DocumentRoot    /www/nestor.clubinfo
ServerName      nestor.clubinfo
ServerAlias     nestor
</VirtualHost>

@+

-- 
Utilisateurs de Linux, enregistrez-vous :
http://counter.li.org



Reply to: