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>

相關文章
相關標籤/搜索