php問題wampserver LANはアクセスできません.
2257 ワード
もっと読む
今日はPHPのホームページをテストしましたが、本機の外のLANの他のマシンはアクセスできません.
調べた結果、問題解決方法が得られました.
原文のリンク先:http://www.nnbbxx.net/post-1426.html
今日はPHPのホームページをテストしましたが、本機の外のLANの他のマシンはアクセスできません.
調べた結果、問題解決方法が得られました.
原文のリンク先:http://www.nnbbxx.net/post-1426.html
wampserver2.5
Apache : 2.4.9
MySQL : 5.6.17
PHP : 5.5.12
PHPMyAdmin : 4.1.14
httpd.conf 。 , 。
。 。 2.5 httpd.conf 。
notepad++ sublime2 3
#
# DocumentR.........
# N
#..............and aliases may be used to point to other locations.
#
DocumentRoot "D:/wamp/www/"
#
# Each directory.........
# N
#..............its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features.
#
Require all denied
#
# Note that fro.........
# N
#..............expect, make sure that you have specifically enabled it
# below.
#
#
# Possible values for the Options directive are "None", "All",
# N
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride.........
# N
#..............ileInfo AuthConfig Limit
#
AllowOverride all
#
# Controls who can get stuff from this server.
#
# onlineoffline tag - don't remove
Require local
。 。 2 , 。
。
DocumentRoot "D:/wamp/www/"
AllowOverride none
order deny,allow
allow from all
# Require all denied
Options Indexes FollowSymLinks
AllowOverride all
order deny,allow
allow from all
# Require local
。 , 403 。
Require local , AllowOverride all、order deny,allow、allow from all , 。