首页 > 代码库 > wamp本地可以访问,远程无法访问,报错:client denied by server configuration

wamp本地可以访问,远程无法访问,报错:client denied by server configuration

出错原因:配置文件限制非本机访问

对策:修改httpd.conf,选择合适的模式,一般局域网环境的话,可以完全放开,使用

<Directory "..../wamp/www">Options -Indexes FollowSymLinksAllowOverride AuthConfig FileInfoOrder allow,denyAllow from all</Directory>

 

wamp本地可以访问,远程无法访问,报错:client denied by server configuration