Re: Can someone help please!!
From: Himanshu Raina <raina_himanshu_at_yahoo.com>
Date: 2007-01-03 16:23:02 CET
Hi,
I made the said changes in httpd.conf and now it looks like this
<Location /svn>
DAV svn
SVNListParentPath on (tried uncommenting and commenting the same)
SVNPath /usr/local/svn
# our access control policy
AuthzSVNAccessFile /usr/local/svn/svn_repos/conf/svnaccessfile
# only authenticated users may access the repository
Require valid-user
# how to authenticate a user
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /etc/svn-auth-file
</Location>
Post this if i access http://www.myname.com/svn
I get the following error
<D:error>
<C:error/>
<m:human-readable errcode="2">
Could not open the requested SVN filesystem
</m:human-readable>
</D:error>
(Note :- The repository is /usr/local/svn/svn_repos under which i have a project directory called projectB)
Please assist if at all the syntax or the config file isn't proper.Also is there any restrictions with using svnaccessfile if yes then can i use passwd file which is created by default in repository.,
thanks and regards
Himanshu Raina
----- Original Message ----
From: Konrad Rosenbaum <konrad_at_silmor.de>
To: users_at_subversion.tigris.org
Sent: Wednesday, January 3, 2007 7:30:11 PM
Subject: Re: Can someone help please!!
On Wednesday 03 January 2007 14:45, Himanshu Raina wrote:
> The svn repository is located in
> /usr/local/svn/svn_repos/
> SVNListParentPath on
> SVNParentPath /usr/local/svn/ -- the path to svn repository
> Now when i give the url
> http://www.myname.com/svn_repos
> I get the following error
>
> Forbidden
> You don't have permission to access /svn_repos
> on this server.
If this is a single repo, you should use SVNPath, not SVNParentPath. In your
current configuration the name of the repository is
http://www.myname.com/svn_repos/svn_repos
Konrad
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|
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.