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

来源:互联网 发布:js实现展开收起 编辑:程序博客网 时间:2024/05/22 21:02
http://stackoverflow.com/questions/11999371/access-to-the-requested-object-is-only-available-from-the-local-network-phpmyadm
先通过命令行搜索出httpd-xampp.conf文件,然后编辑
sudo find / -type f -name "httpd-xampp.conf" -print 

Comment "Deny from all" in the following section,

## New XAMPP security concept#
 <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">        Order deny,allow        Allow from all        #Allow from ::1 127.0.0.0/8 \             #      fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \               #    fe80::/10 169.254.0.0/16        ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var    </LocationMatch>
0 0
原创粉丝点击