<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head><meta forua="true" http-equiv="Cache-Control" content="max-age=0" /></head>
<card title="xampp 访问出现New XAMPP security concept:" id="card1">
<p> 游客</p><p>
标题:xampp 访问出现New XAMPP security concept:<br/>
正文:<br/>
外网访问本地xampp遇到的问题。xampp 访问出现Access forbidden设置后xampp的security的密码后，发现不能登录，出现以下错误:Access forbiddenNew XAMPP security concept:Access to the requested directory is only available from the local network.This setting can be configured in the file &amp;ldquo;httpd-xampp.conf&amp;rdquo;.打开httpd-xampp.conf(/xampp/apache/conf/extra/httpd-xampp.conf)# New XAMPP security concept#&amp;lt;LocationMatch &amp;ldquo;^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))&amp;rdquo;&amp;gt;Order deny,allowDeny from allAllow from ::1 127.0.0.0/8 \fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \81.196.40.94/32ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var&amp;lt;/LocationMatch&amp;gt;需要注释Deny from all，即#Deny from all注：需要重启apache[/opt/lampp/lampp restartapache]就可以远程登录xampp了，通过外网登陆本地xampp了。<br/><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=448&amp;Page=1">[&lt;&lt;]</a><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=448&amp;Page=1">[[1]]</a><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=448&amp;Page=1">[&gt;&gt;]</a><br/>
<br/>
<a href="wap.asp?act=Com&amp;id=448">查看评论(0)</a><br/>
<a href="wap.asp?act=AddCom&amp;inpId=448">发表评论</a><br/><br/>

<br/>

<br/>
<a href="http://camnpr.com/wap.asp">首页</a>
</p>
</card>
</wml>