求助:搞一天了You don't have permission to access /svn/ on this server.

niexxf 2011-10-05 06:32:22
我在一台linux部署svn+apache
<Location /svn/>
DAV svn
SVNParentPath /home/svn
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /etc/svn-auth-file
Require Satisfy Any
AuthzSVNAccessFile /etc/svn-access-file
SVNListParentPath on

</Location>
ll /home/svn
total 4
drwxr-xr-x. 6 apache apache 4096 Oct 5 17:21 pro
[root@xflinux ~]# ll /home/svn/pro
total 24
drwxr-xr-x. 2 apache apache 4096 Oct 5 18:03 conf
drwxr-sr-x. 6 apache apache 4096 Oct 5 17:21 db
-r--r--r--. 1 apache apache 2 Oct 5 17:21 format
drwxr-xr-x. 2 apache apache 4096 Oct 5 17:21 hooks
drwxr-xr-x. 2 apache apache 4096 Oct 5 17:21 locks
-rw-r--r--. 1 apache apache 229 Oct 5 17:21 README.txt


在通过浏览器访问的时候:http://ip/svn/.显示登录界面:输入错的/etc/svn-access-file文件中
密码不能登录,输入/home/svn/pro/conf/passwd 中的密码也不能登录。
只有输入/etc/svn-access-file正确的用户名密码才能登录。
但是浏览器中显示:
Forbidden

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

在TortoiseSVN:access to http://ip/svn/pro/ forbidden;
...全文
1224 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
mnsoft 2012-04-27
  • 打赏
  • 举报
回复
支持下楼主!
zhwei_wen 2011-10-06
  • 打赏
  • 举报
回复
You don't have permission to access /svn/ on this server.

看看你的svn目录的权限吧,要OTHER可读可执行才对.

23,223

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧