Salut,
Ce que je fais me semble juste quand meme... :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| NameVirtualHost 192.168.33.66:80
<VirtualHost 192.168.33.66:80>
ServerName silex.microcms
DocumentRoot /var/www/VM/lamp/html
LogLevel error
ErrorLog /var/log/apache2/error-silex.microcms.log
<Directory /var/www/VM/lamp/html>
AllowOverride all
Order Deny,Allow
Allow from all
</Directory>
</VirtualHost> |
et le host :
192.168.33.66 silex.microcms
Et le message d'apache :
1 2 3
| * Stopping web server apache2 *
* Starting web server apache2
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/silex.microcms.conf:1 |
Cela me redirige vers le root de la VM (voir le VagrantFile)
Merci
F.
Partager