LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-17-2008, 10:24 PM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,443
Blog Entries: 6

Rep: Reputation: 51
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?
 
Old 12-17-2008, 10:55 PM   #2
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,443
Blog Entries: 6

Original Poster
Rep: Reputation: 51
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

Last edited by your_shadow03; 12-17-2008 at 10:59 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SVN Issue with Web DAV? your_shadow03 Linux - Server 1 11-10-2008 10:08 PM
CruiseControl+SVN Issue !!!! ajeetraina Linux - Server 1 11-01-2008 09:31 PM
SVN timestamp issue kingtermite Linux - Server 3 07-14-2008 03:30 PM
SVN Server Access Issue??? ajeetraina Linux - Server 1 03-27-2008 06:59 AM
Remote SVN Backup Issue ajeetraina Linux - Server 4 06-29-2007 07:27 AM


All times are GMT -5. The time now is 09:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration