apache创建虚拟机访问出现403 Forbidden错误
全文约 111 字预计阅读 1 分钟
安装了WampServer64环境创建了虚拟机,访问出现403提示。
Apache/2.4.9 (Win64) PHP/5.5.12 Server at meihan Port 80 搞了半天原来httpd-vhosts.conf中并没有限制访问的问题。于是查看apache的主配置文件httpd.conf,找到了以下限制访问的内容: <Directory /> AllowOverride none #Require all denied Options FollowSymLinks Order deny,allow allow from all </Directory> 修改如上,重启apache搞定。
Forbidden
You don't have permission to access / on this server.Apache/2.4.9 (Win64) PHP/5.5.12 Server at meihan Port 80 搞了半天原来httpd-vhosts.conf中并没有限制访问的问题。于是查看apache的主配置文件httpd.conf,找到了以下限制访问的内容: <Directory /> AllowOverride none #Require all denied Options FollowSymLinks Order deny,allow allow from all </Directory> 修改如上,重启apache搞定。
apache创建虚拟机访问出现403 Forbidden错误
评论 0 条
暂无评论,来说点什么吧。