le deuxieme est pas bon tu donne deux emplacement different en gros dans / et dans /var/www ainsi que des droit different AllowOverride all et un none sur l’autre
NameVirtualHost *
<VirtualHost *>
ServerAdmin root@garde-dhonneur.com
ServerName www.garde-dhonneur.com
DocumentRoot "/var/www/"
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
# Commented out for Ubuntu
#RedirectMatch ^/$ /apache2-default/
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
AllowOverride AuthConfig
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/garde-dhonneur.crt
SSLCertificateKeyFile /etc/apache2/ssl/garde-dhonneur.key
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
</VirtualHost>
il n’en manquerai pas un ? tu parle de 3 dans ton premier ou deuxieme post il me semble
pour un truc plus propre sinon remet la page par default de apache et essaye ca :
viewtopic.php?f=3&t=8277&p=77629&hilit=a2ensite#p77629
ca devrai t’aider