wampserver 允许外网访问配置

来源:互联网 发布:comsol软件下载 编辑:程序博客网 时间:2024/06/16 08:57

用编辑器打开http.conf

大概244行:

改为

<Directory />
AllowOverride none
Require all granted
</Directory>

大概288行:

改为

# onlineoffline tag - don't remove
Require all granted

大概387行:

改为

<Directory "${INSTALL_DIR}/cgi-bin">
# AllowOverride None
Options None
Require all granted
</Directory>

2.打开httpd-vhosts.conf 将Directory里面内容更换为以下内容

<Directory "c:/wamp/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
Require all granted
</Directory>

原创粉丝点击