Define APACHE24 Apache2.4Qui ne peut pas exister dans Apache 2.2.22.
Alias /phpmyadmin "J:/wamp/apps/phpmyadmin3.5.2/" <Directory "J:/wamp/apps/phpmyadmin3.5.2/"> Options Indexes FollowSymLinks MultiViews AllowOverride all <IfDefine APACHE24> Require local </IfDefine> <IfDefine !APACHE24> Order Deny,Allow Deny from all Allow from localhost ::1 127.0.0.1 </IfDefine> </Directory>Si votre système ne supporte pas IPv6, il faut supprimer la partie "::1".
<VirtualHost *:80> ServerName localhost DocumentRoot G:/www ServerAdmin webmaster@ottello.net ErrorLog "J:/Wamp/logs/localhost_error.log" <Directory "G:/www/"> Options Indexes FollowSymLinks MultiViews AllowOverride All Order Deny,Allow Deny from all Allow from localhost ::1 fe80::/10 127.0.0.1 </Directory> </VirtualHost>le sont, sous Apache 2.4.2, par :
<VirtualHost *:80> ServerName localhost DocumentRoot G:/www ServerAdmin webmaster@ottello.net ErrorLog "J:/Wamp/logs/localhost_error.log" <Directory "G:/www/"> Options Indexes FollowSymLinks MultiViews AllowOverride All Require local </Directory> </VirtualHost>