svn無法登入 - Linux

By Margaret
at 2009-05-24T22:23
at 2009-05-24T22:23
Table of Contents
我的svn repository是建在/svn/repos
但執行網頁登入http://localhost/svn/repos
輸入帳號密碼卻一直說我的密碼錯誤無法登入
去看/etc/httpd/logs/error_log有錯誤訊息
無法存取我的passwd檔案及id沒configure
以下是我建立的步驟
mkdir /svn
mkdir /svn/repos
mkdir /svn/users
mkdir /svn/permissions
chown -R apache.apache /svn
svnadmin create /svn/repos
vi /svn/repos/conf/svnserve.conf
anon-access = none
auth-access = write
password-db = /svn/users/svnpass
realm = My SVN Repository
vi /svn/users/svnpass
[Users]
tai=1234
vi /etc/httpd/conf.d/subversion.conf
<Location /svn/repos>
DAV svn
SVNParentPath /svn/repos
#
# # Limit write permission to list of valid users.
# <LimitExcept GET PROPFIND OPTIONS REPORT>
# # Require SSL connection for password protection.
# # SSLRequireSSL
#
AuthType Basic
AuthName "Authorization Realm"
AuthUserFile /svn/users/svnpass
AuthzSVNAccessFile /svn/permissions/svnauthz.conf
Require valid-user
# </LimitExcept>
</Location>
htpasswd -c /svn/users/svnpass tai
vi /svn/permissions/svnauthz.conf
[/]
tai=rw
service httpd restart
有試著把passwdfile路徑改到/svn/repos/conf/passwd但還是一樣
不知道有沒有人碰到一樣的問題,可以回答一下,謝謝
--
但執行網頁登入http://localhost/svn/repos
輸入帳號密碼卻一直說我的密碼錯誤無法登入
去看/etc/httpd/logs/error_log有錯誤訊息
無法存取我的passwd檔案及id沒configure
以下是我建立的步驟
mkdir /svn
mkdir /svn/repos
mkdir /svn/users
mkdir /svn/permissions
chown -R apache.apache /svn
svnadmin create /svn/repos
vi /svn/repos/conf/svnserve.conf
anon-access = none
auth-access = write
password-db = /svn/users/svnpass
realm = My SVN Repository
vi /svn/users/svnpass
[Users]
tai=1234
vi /etc/httpd/conf.d/subversion.conf
<Location /svn/repos>
DAV svn
SVNParentPath /svn/repos
#
# # Limit write permission to list of valid users.
# <LimitExcept GET PROPFIND OPTIONS REPORT>
# # Require SSL connection for password protection.
# # SSLRequireSSL
#
AuthType Basic
AuthName "Authorization Realm"
AuthUserFile /svn/users/svnpass
AuthzSVNAccessFile /svn/permissions/svnauthz.conf
Require valid-user
# </LimitExcept>
</Location>
htpasswd -c /svn/users/svnpass tai
vi /svn/permissions/svnauthz.conf
[/]
tai=rw
service httpd restart
有試著把passwdfile路徑改到/svn/repos/conf/passwd但還是一樣
不知道有沒有人碰到一樣的問題,可以回答一下,謝謝
--
Tags:
Linux
All Comments

By Connor
at 2009-05-28T15:16
at 2009-05-28T15:16

By John
at 2009-05-30T23:27
at 2009-05-30T23:27

By Linda
at 2009-06-04T03:38
at 2009-06-04T03:38

By James
at 2009-06-07T10:27
at 2009-06-07T10:27
Related Posts
有無教學如何裝oracle for linux的文件

By Elizabeth
at 2009-05-24T21:01
at 2009-05-24T21:01
有無教學如何裝oracle for linux的文件

By Lily
at 2009-05-24T20:44
at 2009-05-24T20:44
在兩個伺服器間透過第三個伺服器傳輸檔案

By Lauren
at 2009-05-24T19:07
at 2009-05-24T19:07
Re: Mandriva Hinedo rpm in contrib backports

By Rae
at 2009-05-24T13:16
at 2009-05-24T13:16
請問如何逐一追蹤kernel指令

By Joe
at 2009-05-24T10:23
at 2009-05-24T10:23