Merci pour ton aide.
J'ai mis la config comme tu le dis =>
NameVirtualHost *:80
#prévoit un hote par défaut (c'est pas une bonne idée d'utiliser un des hotes virtuels comme hôte pas défaut).
<VirtualHost *:80>
</VirtualHost>
#Ensuite, que retourne la commande
httpd -S
<VirtualHost *:80>
ServerAdmin
web@roman-online.net
DocumentRoot /var/www/html/iraq-poll
ServerName
www.iraq-poll.com
ServerAlias iraq-poll.com
</VirtualHost>
<VirtualHost *:80>
ServerAdmin
web@roman-online.net
DocumentRoot /var/www/html/ffkids
ServerName
www.french-for-kids.info
ServerAlias french-for-kids.info
</VirtualHost>
et quand je relance httpd (service httpd restart) apache plante avec l'erreur suivante:
Démarrage de httpd :Syntax error on line 998 of /etc/httpd/conf/httpd.conf:
Invalid command 'httpd', perhaps misspelled or defined by a module not included in the server configuration
Je mets alors httpd -S en commentaire #httpd -S
redemarrage de l'apache se passe bien mais mes domaines pointent dans la racine /var/www/html au lieu de pointer dans les répertoires correspondants.