xampp(新版) 访问出现New XAMPP security concept

转载

原文地址:https://www.jianshu.com/p/3617354f30ee

**xampp 访问出现New XAMPP security concept **
Access forbidden!

New XAMPP security concept:Access to the requested directory is only available from the local network.This setting can be configured in the file “httpd-xampp.conf”.

解决办法:
打开httpd-xampp.conf(/opt/lampp/etc/extra/httpd-xampp.conf)
找到#
<Directory "/opt/lampp/phpmyadmin">
AllowOverride AuthConfig Limit
Require localhost
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</Directory>

将其中的"Require localhost"改为"Require all granted"
保存,重启Xampp即可~

posted @ 2019-12-08 22:17  远洪  阅读(581)  评论(0编辑  收藏  举报