Solve the problem that the LAN other machine cannot access after Wamp build PHP environment

Source: Internet
Author: User

Local access localhost or 127.0.0.1 can be accessed after the Wamp is installed, but there is a 403 error if other computers in the LAN are accessing it. From the Internet to find a lot, all kinds of statements have, but not a few useful. Here's how to solve the problem:

1, first make sure the firewall is off and 80 ports are not occupied

2, modify the Apache httpd.conf file, altogether two places:

First place


Options FollowSymLinks
AllowOverride None
Order Deny,allow
Deny from all
Satisfy All

Modified to:


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

#允许所有访问
Satisfy All

Second place

# onlineoffline Tag-don ' t remove
Order Deny,allow
Deny from all
Allow from 127.0.0.1

Modified to:

# onlineoffline Tag-don ' t remove
Order Deny,allow
# Deny from all

# Allow from127.0.0.1
Allow from all

Also, if you use DVWA, the above settings do not work because htaccess restricts access. After extracting DVWA into the home directory, modify the rules in the htaccess as follows:


Order Deny,allow
Deny from None
Allow from all

After modifying the Apache, other machines within the LAN can access the DVWA platform built by the machine.

Solve the problem that the LAN other machine cannot access after Wamp build PHP environment

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.