2015-06-25 98 views
0

我已经在桌面上的Linux Mint上安装了lampp服务器,并且我已经运行脚本来保证lampp服务器成功。 一切都很好,我可以使用Windows 7使用http://192.168.1.2/site,从我的笔记本电脑专门访问我的网站。Xampp页面可以通过网络从任何人都可以访问安全

但是我也可以从我的笔记本电脑上访问lampp页面http://192.168.1.2/xampp,尽管我不应该这样做。它应该问我的登录细节。

任何想法?

在此先感谢。

回答

0

终于找到问题所在。 在/ opt/lampp/etc/extra/httpd-xampp-conf文件中,我放置了Require all而不是Allow all。

<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))"> 
Allow from all 
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var 

相关问题