wampserver_x86_3.0.6 容许外网访问配置教程

1.打开wamp目录下的apache配置文件中的httpd.confapache

 

用能够看行数的编辑器打开编辑器

大概244行:ide

改成ui

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

大概288行:rem

改成io

# onlineoffline tag - don't remove
Require all granted配置

大概387行:cgi

改成im

<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 +MultiViewsAllowOverride AllRequire localRequire all granted</Directory>

相关文章
相关标签/搜索