Re: Subversion over http !!
From: Himanshu Raina <raina_himanshu_at_yahoo.com>
Date: 2007-01-17 09:49:30 CET
Yes i finally figured it out.The problem was with SVNParentPath.Anyways thanks a lot for your help.This has allowed me to restrict access to different repositories.Now my users can't access any repository other than the one created for them.
----- Original Message ----
From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
To: Himanshu Raina <raina_himanshu_at_yahoo.com>
Sent: Wednesday, January 17, 2007 1:49:32 PM
Subject: Re: Subversion over http !!
On Jan 17, 2007, at 00:40, Himanshu Raina wrote:
> HI Ryan,
> I modified the apache.conf file like this
> <Location /svn>
> DAV svn
> SVNListParentPath on
> SVNPath /usr/local/svn
You want SVNParentPath here, not SVNPath.
> AccessFileName .htaccess
> <Directory "/usr/local/apache2/htdocs">
> AllowOverride AuthConfig
> I created soft links in /usr/local/apache2/htdocs
> repos_svn -> /usr/local/svn/repos_svn/
> svn_repos -> /usr/local/svn/svn_repos/
You should not do this; you should not have your repositories
anywhere inside your document root.
> Now if i access two different repositories it prompts me for
> password as i have created .htaccess file in both the repositories
With your <Location /svn> directive, you will access your
repositories by these URLs:
> .htacess file looks like this
> AuthName "Basic Authentication 2"
> AuthType Basic
> AuthUserFile /usr/local/apache2/htdocs/.htpasswd
> require valid-user
> The problem that i am facing as of now is "post authentication
> instead of listing the repository it gives me some human-readable
> error" Something wrong with httpd.conf which i am not able to identify
"some human-readable error"? Which one?
To reply to the mailing list, please use your mailer's Reply To All
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
This is an archived mail posted to the Subversion Users mailing list.