wampserver_x86_3.0.6 允許外網訪問配置教程


1.打開wamp目錄下的apache配置文件中的httpd.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>

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM