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

Re: Subversion over http !!

From: Himanshu Raina <raina_himanshu_at_yahoo.com>
Date: 2007-01-17 09:49:30 CET

HI Ryan, 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. regards himanshu raina ----- Original Message ---- From: Ryan Schmidt <subversion-2007a_at_ryandesign.com> To: Himanshu Raina <raina_himanshu_at_yahoo.com> Cc: users_at_subversion.tigris.org 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 > </Location> You want SVNParentPath here, not SVNPath. > AccessFileName .htaccess > > <Directory "/usr/local/apache2/htdocs"> > AllowOverride AuthConfig > </Directory> > > 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 > > http://www.himanshu.com/svn_repos > http://www.himanshu.com/repos_svn With your <Location /svn> directive, you will access your repositories by these URLs: http://www.himanshu.com/svn/repos_svn http://www.himanshu.com/svn/svn_repos > .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 function --------------------------------------------------------------------- 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. http://videogames.yahoo.com/platform?platform=120121
Received on Wed Jan 17 09:49:49 2007

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