阿里云wamp外网访问问题

来源:互联网 发布:淘宝洗车工具大全 编辑:程序博客网 时间:2024/06/06 02:15

阿里云 windows sever 2012 与wamp

wamp的版本为3.0.6

错误:

Forbidden
You don’t have permission to access / on this server.
Apache/2.4.9 (Win64) PHP/5.5.12 Server at htm.duuuh.com Port 80

解决方法:

1.D:\wamp64\bin\apache\apache2.4.23\conf\httpd.conf
246行:Require all denied
290行:Require local
306行:Require all denied
都换成:Require all granted
2.D:\wamp64\bin\apache\apache2.4.23\conf\extra\httpd-vhosts.conf
Require local
换成
Require all granted

详细步骤见:

阿里云(ECS+RDS)部署PHP+MySQL网站初探

原创粉丝点击