hote virtuel sous windows
bonjour tout le monde, bon j'ai essayé d'implementer des hotes virtuels sous mon systeme windows avec apache juste avec mon adresse du localhost en utilisant le logiciel 'movamp' , mais rien ne marche, je me demande si qq pourra me guider :
1-d'abord j'ai configuré le fichier 'hosts' qui est sous windows en ajoutant :
Code:
127.0.0.2 www.localhost.site1
2-apres j'ai ajouté ces lignes dans mon fichier de configuration apache httpd
Code:
1 2 3 4 5 6 7 8
| NameVirtualHost localhost
<VirtualHost localhost>
ServerAdmin root@localhost
DocumentRoot C:/Apache/mnt/var/www/site1/
ServerName www.localhost.site1
ErrorLog logs/www.localhost.site1-error_log
TransferLog logs/www.localhost.site1-access_log
</VirtualHost> |
3-j'ai voulu accéder via l'url 'www.site1.localhost'
:( malheuresement ça marche pas.
alors merci pr l'aide d'avance ;)