How others on the LAN can access wampserver2.5

一个新手
Release: 2023-03-15 19:44:01
Original
1725 people have browsed it

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>
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template