J'ai exactement ton cas au boulot :
8 domaines sont h�berg� sur un seul serveur gr�ce aux virtual host.
Pour cela tu ajoutes � la fin du httpd.conf (dans mon cas par exemple pour 3
domaines) :
<VirtualHost 193.52.203.11>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/httpd/html/www_iamm
ServerName iamm.fr
ErrorLog /var/log/apache/apache_iamm_error.log
CustomLog /var/log/apache/access.log combined
</VirtualHost>
<VirtualHost 193.52.203.11>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/httpd/html/www_ciheam
ServerName ciheam.org
ErrorLog /var/log/apache_ciheam_error_log
CustomLog /var/log/apache_ciheam_access_log common
</VirtualHost>
<VirtualHost 193.52.203.11>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/httpd/html/www_observatoire
ServerName med-obs.iamm.fr
ErrorLog /var/log/apache_obsmed_error_log
CustomLog /var/log/apache_obsmed_access_log common
</VirtualHost>
Et voil�....
PS: bien sur le/les DNS doivent pointer sur la m�me machine pour chaque
domaine !
Apluche
��������������������
VIDAL Thomas
Service Informatique
CIHEAM-IAMM
04.67.04.60.24
[EMAIL PROTECTED]
������������������������������
Envie de vacances ??
D'un grand bol d'air ??
http://www.giteslozere.com
La Location de g�tes en loz�re
������������������������������
-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:debutant-owner@;linux-mandrake.com]De la part de Troumad
Envoy� : mercredi 6 novembre 2002 15:43
� : [EMAIL PROTECTED]
Objet : Re: [debutant] 2 serveurs apache (ou plus)
>
>
>Dans le 2e cas, je ne vois pas trop l'int�r�t...
>
>
Mon but est de pouvoir d�velopper chez moi diff�rents sites comme celui
du boulot, le mien...
Et que chaqu'un ait sa racine propre (pour avoir des liens du type
/rep/fichier.html ou php).
Amicalement vOOo <http://www.openoffice-fr.org>tre
Troumad
Bernard SIAUD
troumad.free.fr <http://troumad.free.fr> : AD&D
<http://troumad.free.fr/index_add.html>, math�matiques
<http://www.web-etudiants.fr.st>, WEB <http://www.web-etudiants.fr.st>,
Electronique <http://www.elec-etudiants.fr.st> et sectes
<http://www.sectes.fr.fm>.
Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com"