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