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

  作者:会飞的

Access to the requested object is only available from the local network.xampp 访问出现Access forbidden 设置后xampp的security的密码后,发现不能登录,出现以下错误: Access forbidden

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


xampp 访问出现Access forbidden

    设置后xampp的security的密码后,发现不能登录,出现以下错误: Access forbidden


<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-


info))">

    Order deny,allow

    #Deny from all

    Allow from 127.0.0.0/8 

    ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var

</LocationMatch>


 需要注释Deny from all,即

#Deny from all


注:需要重启apache[/opt/lampp/lampp restartapache]

就可以远程登录xampp了,默认的管理员的用户名是lampp,密码是自己在security时设置的。