Wampserver how to set up accessible in LAN

Source: Internet
Author: User

Just installed Wampserver, my version is Wampserver edition 2.5

The version of Apache is 2.4.9.


If there is no special configuration, on the PC with localhost or local IP or 127.0.0.1 is accessible, but if you are on another PC or mobile phone (intranet WiFi) access, it is not possible, that is, the use of 192.168.x.x.

Http://www.mamicode.com/info-detail-247002.html


I found some information, through the above information set up a bit, found that Wampserver is not running up, so there must be something wrong with the modification.

By the exclusion method found is because the Chinese language in the comments, the Chinese part can be removed.

Finally, the configuration section that I modified is as follows:


<directory "d:/wamp/www/" >
#
# Possible values for the Options directive is "None", "all",
# or any combination of:
# Indexes includes followsymlinks symlinksifownermatch execcgi multiviews
#
# Note that "MultiViews" must is named *explicitly*---"Options all"
# doesn ' t give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks


#
# AllowOverride Controls What directives is placed in. htaccess files.
# It can be ' all ', ' None ', or any combination of the keywords:
# allowoverride FileInfo authconfig Limit
#
AllowOverride All
Require All granted

# Controls who can get stuff from the this server.
#


# onlineoffline Tag-don ' t remove
Require Local
</Directory>


The red part above is the added content.

With the test, the content on the local server can be accessed by 192.168.x.x on the mobile phone side.




Wampserver how to set up accessible in LAN

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.