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即可~
博客里大都是转载的内容,其目的主要用户知识的组织和管理。