自己想部署fecmall环境在小程序上运行
用阿里云服务器windows系统 安装wamp后无法通过公网ip访问80端口
检查了下与服务器已开放80端口
>报错内容为 403Forbidden
You don't have permission to access / on this server.
Apache/2.4.39 (Win64) PHP/7.2.18 Server at XXX.XX.XXX.XXX(我的公网ip) Port 80
这边发现有几个地方需要注意的地方
1.服务器开放80端口
2.修改httpd.conf
搜索以下内容
Require local
改为
Require all granted
搜索以下内容
Require all denied
改为
Allow from all
3.修改httpd-vhosts.conf
搜索以下内容
Require local
改为
Require all granted
4.改完2、3内容需要wamp重启所有服务
按照以上步骤,我的403Forbidden问题解决了。