Wampserver: How to Set access within the LAN, wampserver LAN
I have just installed wampserver. My Version is WampServer Version 2.5
The Apache version is 2.4.9.
If no special configuration is available, localhost, local ip address, or 127.0.0.1 can be used on the pc. However, if you access it on another pc or mobile phone (intranet wifi, 192.168.x.x is used.
Http://www.mamicode.com/info-detail-247002.html
I found some information and set it in the above information. I found that wampserver is not running at all, so it must be something wrong with the modification.
The exclusion method is used to remove the Chinese part from the comment.
Finally, the configuration I modified is as follows:
<Directory "D:/wamp/www/">
#
# Possible values for the Options directive are "None", "All ",
# Or any combination:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be 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 may be 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 this server.
#
# Onlineoffline tag-don't remove
Require local
</Directory>
The red part is the added content.
After the test, the content on the local server can be accessed through 192.168.x.x on the mobile phone.