[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Initial authentication set up

From: <lngo_at_uark.edu>
Date: 2005-02-22 03:12:17 CET

Hi everyone,
I have recently been trying to set up subverion.
This is my httpd.conf file:
--------------------------------------------------
<Location /tmp>
  DAV svn
  # any "/tmp/foo" URL will map to a repository /tmp/foo
  SVNParentPath /tmp
  SVNIndexXSLT "/svnindex.xsl"
  # our access control policy
  AuthzSVNAccessFile /tmp/access/svn-access-file
 
  #How to authenticate a user
  AuthType Basic
  AuthName "Subversion repository"
  AuthUserFile /etc/svn-auth-file
 
  # only authenticated users may access the repository
  Require valid-user
</Location>
----------------------------------------------------

When I try to access the repository using a browser with the following URL: http://localhost/tmp/Repos,
I get the following error:

----------------------------------------------------
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.
Apache/2.0.49 (Unix) DAV/2 SVN/1.1.3 Server at localhost Port 80
----------------------------------------------------

This is my svn-access-file:
----------------------------------------------------
[/]
* = r
----------------------------------------------------
If I remove the line
"AuthzSVNAccessFile /tmp/access/svn-access-file"
from the httpd.conf file, then I would be able to log in, but I still cannot view the contents of the Repository, and this is the error that I have:
----------------------------------------------------
<D:error>
<C:error/>
<m:human-readable errcode="160029">
Could not open the requested SVN filesystem
</m:human-readable>
</D:error
----------------------------------------------------
What am I doing wrong? Since I am doing this on a local machine and I dont have an ip address yet, I am using root to run apache2 for the subversion server.

Linh Ngo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 22 03:15:45 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.