六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 84|回复: 0

Win7 Tools XAMPP 1.7.3

[复制链接]

升级  28.8%

200

主题

200

主题

200

主题

进士

Rank: 4

积分
644
 楼主| 发表于 2013-2-7 00:54:53 | 显示全部楼层 |阅读模式

http://hi.baidu.com/cg_kevin/blog/item/933b73cc20ea5821b700c841.html
xampp 访问出现New XAMPP security concept
 
[table=560][tr][td]<div style="font-family: Arial; font-size: 12px; line-height: 18px;" class="cnt">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”.
解决办法:
打开httpd-xampp.conf(/xampp/apache/conf/extra/httpd-xampp.conf)
找到以下内容
# New XAMPP security concept
#
<LocationMatch “^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))”>
Order deny,allow
Deny 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 \
81.196.40.94/32
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>
将Deny from all这一行注释掉,即
#Deny from all
注:需要重启apache[/opt/lampp/lampp restartapache]
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表