xampp 访问出现New XAMPP security concept 或者 新しいXAMPPのセキュリティコンセプト

出现如下错误:

新しいXAMPPのセキュリティコンセプト: 

は、要求されたオブジェクトへのアクセスは、ローカルネットワークから入手可能です。 

この設定は、ファイル"で設定することができますのhttpd - xampp.conf "

 

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”.

 

解决办法:

find / -name "httpd-xampp.conf"

打开httpd-xampp.conf

 

 

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

 

将Deny from all 或者 Require local这一行注释掉,即可
#Deny from all
注:需要重启apache[/opt/lampp/lampp restartapache]

posted @ 2014-07-02 17:04  boss_ty  阅读(190)  评论(0编辑  收藏  举报