Virtual hosts non reconnus depuis une VM Windows XP
Salut j'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 :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
| NameVirtualHost *:80
#
<VirtualHost *:80>
ServerName elbc
DocumentRoot "/home/sfprojects/el-bc/web"
DirectoryIndex index.php
<Directory "/home/sfprojects/el-bc/web">
AllowOverride All
Allow 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 All
Allow from All
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName punchline
DocumentRoot "/home/sfprojects/punchline/web"
DirectoryIndex index.php
<Directory "/home/sfprojects/punchline/web">
AllowOverride All
Allow 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 All
Allow from All
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName localhost
DocumentRoot "/opt/lampp/htdocs"
DirectoryIndex index.php
<Directory "/opt/lampp/htdocs">
AllowOverride All
Allow from All
</Directory>
</VirtualHost> |
Merci bien de votre aide ;)