Virtual host et machine virtuelle
Salutj'ai ubuntu.
J'accède à tous mes sites sans trop de soucis.
Je lance une machine virtuelle xp .
Et je tape http://ip-ubuntu et j'accède à un de mes sites de ubuntu.
Le problème c'est que je n'arrive pas à accéder aux autres.
Voilà mes codes si tu sais m'aider :
NameVirtualHost *:80#<VirtualHost *:80>ServerName elbcDocumentRoot "/home/sfprojects/el-bc/web"DirectoryIndex index.php<Directory "/home/sfprojects/el-bc/web">AllowOverride AllAllow from All</Directory>Alias /sf /home/sfprojects/el-bc/lib/vendor/symfony/data/web/sf<Directory "/home/sfprojects/el-bc/lib/vendor/symfony/data/web/sf">AllowOverride AllAllow from All</Directory></VirtualHost><VirtualHost *:80>ServerName punchlineDocumentRoot "/home/sfprojects/punchline/web"DirectoryIndex index.php<Directory "/home/sfprojects/punchline/web">AllowOverride AllAllow from All</Directory>Alias /sf /home/sfprojects/punchline/lib/vendor/symfony/data/web/sf<Directory "/home/sfprojects/punchline/lib/vendor/symfony/data/web/sf">AllowOverride AllAllow from All</Directory></VirtualHost><VirtualHost *:80>ServerName localhostDocumentRoot "/opt/lampp/htdocs"DirectoryIndex index.php<Directory "/opt/lampp/htdocs">AllowOverride AllAllow from All</Directory></VirtualHost>
merci bien.
