xampp 提示 This setting can be configured in the file "httpd-xampp.conf".

错误提示如下:

New XAMPP security concept:

Access to the requested object is only available from the local network.

This setting can be configured in the file "httpd-xampp.conf".

以上错误是因为httpd-xampp.conf做了限制造成的,仅限于本地访问按以下方法修改后即可远程访问

打开httpd-xampp.conf文件将红色部分注释,加入绿色部分即可

#
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
#Require local
Order deny,allow
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>

上一篇:CMake support in Visual Studio


下一篇:Fragment禁止预加载