**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即可~
网友评论