LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Issue with SVN? (https://www.linuxquestions.org/questions/linux-server-73/issue-with-svn-691367/)

your_shadow03 12-17-2008 10:24 PM

Issue with SVN?
 
I have installed SVN RPM on my RHEL 4 Update 5 system.I am in verse to configure Web-DAV.What I did is I created a repository called "svn" under /var/projects/ folder.
I went into /etc/httpd/conf.d/subversion.conf and enabled the following entry:

Code:


LoadModule dav_svn_module    modules/mod_dav_svn.so
LoadModule authz_svn_module  modules/mod_authz_svn.so

<Location /svn>
  DAV svn
  SVNParentPath /var/projects/svn

  # 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 /etc/svn-auth-file
  #    Require valid-user
 #  </LimitExcept>
</Location>

After that I ran the command:

#htpasswd -cm /etc/svn-auth-file harry
password : ****
password : ****

Now I restarted the httpd and tried to login:

http://<ip>/svn
It opens the login windows and as soon as i enter the password throws me out saying credential incorrect.

Any mistake I am doing here?

your_shadow03 12-17-2008 10:55 PM

Below is the Web Browser Error it dsplays :

Code:

Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.


--------------------------------------------------------------------------------

I checked the logs and it says:


       
Code:

       
[Thu Dec 18 10:24:27 2008] [error] [client 10.14.2.254] (13)Permission denied: C                                             ould not open password file: /etc/httpd/passwd/passwords
[Thu Dec 18 10:24:27 2008] [error] [client 10.14.2.254] user sigt not found: /sv                                             n/repos
[Thu Dec 18 10:25:55 2008] [error] [client 127.0.0.1] (13)Permission denied: Cou                                             ld not open password file: /etc/httpd/passwd/passwords
[Thu Dec 18 10:25:55 2008] [error] [client 127.0.0.1] user aj not found: /svn                                             /repos
[Thu Dec 18 10:26:49 2008] [error] [client 127.0.0.1] (13)Permission denied: Cou                                             ld not open password file: /etc/httpd/passwd/passwords
[Thu Dec 18 10:26:49 2008] [error] [client 127.0.0.1] user rajat not found: /svn                                             /repos
[Thu Dec 18 10:27:51 2008] [error] [client 10.14.228.232] File does not exist: /                                             var/www/html/images/page_bg.jpg, referer: http://10.14.236.169/mrtg.php


Apache/2.0.52 (Red Hat) Server at 10.14.236.169 Port 80



All times are GMT -5. The time now is 01:56 AM.