我能够正常从运行XAMPP服务器的计算机访问/ phpmyadmin,但是当我尝试从同一网络上的另一台计算机访问它时,我收到以下错误:
“禁止访问!新的XAMPP安全概念:只能从本地网络访问所请求的对象 .
可以在“httpd-xampp.conf”文件中配置此设置 . “
我按照这个previous question编辑了httpd-xampp.conf文件,但它仍然使用这些参数给出了同样的错误:
# since XAMPP 1.4.3
<Directory "/Applications/XAMPP/xamppfiles/phpmyadmin">
Require local
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</Directory>
2 回答
是..你需要在
LocationMatch
里面 require local 更新到 Require all grantedhttpd-xampp.conf
1)您需要在httpd-xampp.conf中的LocationMatch中从 require local 更新到 Require all grante d .
2)如果仍有问题,请删除 Deny from all 并添加 Allow from all