免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2501 | 回复: 1
打印 上一主题 下一主题

[FTP] pureftpd_php_manager访问报don't have permission to access [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-06-03 11:55 |只看该作者 |倒序浏览
我想实现PureFTPd+Mysql+PHP_Manager,PureFTPd+Mysql都配置成功了

按照文档把pureftpd_php_manager复制到/var/www下,文件夹名为pureftpadmin
但是访问http://127.0.0.1/ftpadmin  报如下错误

Forbidden
You don't have permission to access /ftpadmin on this server.

应该是权限的问题,但不知道出在哪里

/etc/httpd/conf.d/pureftpdadmin.conf配置如下:
Alias /ftpadmin /var/www/pureftpadmin
<Location /ftpadmin>
    Order deny,allow
    #Deny from all
    Allow from all
    #Allow from 127.0.0.1
    #Allow from ::1
    #Allow from 192.168.8.0/24
    #Allow from 192.168.9.0/24
</Location>

/var/www/pureftpadmin/config.php配置如下


        // Your exactly located mysql config file for pureftpd
        $PUREFTP_CONFIG_FILE    = '/usr/local/pureftpd/etc/pureftpd-mysql.conf';


        // The location where all the Forms directed to. (Mayby no change needed
)
        $SELF_URL                               = 'index.php';

        // The location of your pure-ftpdwho binary  (set this to chmod 4711)
        $FTP_WHO                                = '/usr/local/pureftpd/sbin/pure
-ftpwho';
    $DefaultUser = "";              # Default User Logon
        $DefaultPass = "";                          # Default User Password
        $DefaultUid = "wwwrun";                 # Default User ID ( must be a re
al user acct )
  $DefaultGid = "wwwadm";                 # Default Group ID ( must be a real gr
oup acct )
  $DefaultDir = "";                                 # Default User Dir ( use /./
at the end to chroot )
        $DefaultUL = "0";                                   # Default Upload Thr
ottle ( 0 disables it )
        $DefaultDL = "0";                                   # Default Download T
hrottle ( 0 disables it )
        $Defaultip = "*";                                   # Default IP restric
tions  ( * = any IP )
        $DefaultQS = "0";                             # Default Quota Size ( 0 d
isables it )
        $Defaultcmt = "";                                   # Default Comment fo
r user

// UA
        $DefaultQF = "0";                       # Default Quota Files ( 0 disabl
es it )
        $PWC = "55";                              # Vorsatz fuerr Crypt Password


并且chown –R root.root /var/www/pureftpadmin

论坛徽章:
0
2 [报告]
发表于 2010-06-09 17:06 |只看该作者
请各位高手们指点
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP