LAN others can access the wampserver2.5 method

Source: Internet
Author: User
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 install it, open httpd.conf and see the original configuration below. Originally this configuration smart native access, other people can not access.

Open Apache configuration file httpd.conf (this file is in wamp\bin\apache\apache2.4.9\conf)

Find the code below

The above also said the above configuration is not. Let's talk about how to change it. I've glued 2 of them to the top, so we're going to change those two places.



[PHP] View plain copydocumentroot "d:/wamp/www/" <directory/>       allowoverride None       order Deny,allow       Allow to       #Require all denied  </Directory>  <directory "d:/wamp/www/" >      Options Indexes followsymlinks      allowoverride all      order deny,allow      #Require local  </ Directory>

Two places have to modify others to access, only modify a place when others visit the time will appear 403 phenomenon.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.