Wamp 2.4 LAN cannot be accessed

Mainly for Wamp 2.4 and below;

(1)phpmyadmin.conf  

Enter the alias directory under the wamp directory and open the phpmyadmin.conf   file

Find the following code


Options FollowSymLinks
 AllowOverride None
 Order deny,allow
 #Deny from all
 Allow from all


Just change Deny from all to Allow from all.

(2) httpd.conf
Bin\apache\Apache2.4.4\conf\ httpd.conf under the WampServer installation directory

Find the following code

Order Deny,Allow
Deny from all
Allow from 127.0.0.1


Change Deny from all to Allow from all

In the Allow from 127.0.0.1 before adding #

After modification:

Order Deny,Allow
Allow from all
#Allow from 127.0.0.1

Guess you like

Origin blog.csdn.net/lc547913923/article/details/50898034