wampserver2.5 Version
Apache: 2.4.9
MySQL: 5.6.17
PHP: 5.5.12
PHPMyAdmin: 4.1. 14
SqlBuddy: 1.3.3
XDebug: 2.2.5
When you open httpd.conf after installation, the original configuration you see is as follows. The original configuration allows local access and cannot be accessed by others.
Open the Apache configuration file httpd.conf (the file is in wamp\bin\apache\apache2.4.9\conf)
Find the code as follows
It was also said above that the above configuration does not work. Let’s talk about how to change it. I have pasted 2 places above, so we need to modify these two places.
[php] view plain copy DocumentRoot "d:/wamp/www/" <Directory /> AllowOverride none order deny,allow allow from all #Require all denied </Directory> <Directory "d:/wamp/www/"> Options Indexes FollowSymLinks AllowOverride all order deny,allow allow from all #Require local </Directory>
Both places must be modified before others can access it. If only one place is modified, 403 will appear when others visit. The phenomenon.
The above is the detailed content of How others on the LAN can access wampserver2.5. For more information, please follow other related articles on the PHP Chinese website!