[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 07:40:08 CET

HI Ryan, I modified the apache.conf file like this <Location /svn> DAV svn SVNListParentPath on SVNPath /usr/local/svn </Location> 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/ 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 .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 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 11:04:02 AM Subject: Re: Subversion over http !! On Jan 16, 2007, at 22:41, Himanshu Raina wrote: > The scenario is give below. > I have 10 different repositories by means of which i cater to 10 > different teams.I make use of http and it seems to work fine.The > concern is how can i ensure that member of one team shuldn't be > able to access another repository. > > My repository structure is > > /usr/local/svn/repos1 > /usr/local/svn/repos2 > /usr/local/svn/repos3 > > Now if i access it over http i.e > http://myip.com/svn/repos1 -- it prompts me for a password and post > authentication lists the directories.Since i make use of a single > auth-file it doesn't prompt me for another authentication and as a > result i can browse through any repository (provided i know the > repos name)..Is there anyway i can avoid the same. Perhaps authz and/or svnperms.py would help? http://svnbook.red-bean.com/en/1.2/ svn.serverconfig.httpd.html#svn.serverconfig.httpd.authz.perdir http://subversion.tigris.org/tools_contrib.html#svnperms_py -- To reply to the mailing list, please use your mailer's Reply To All function ____________________________________________________________________________________ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com
Received on Wed Jan 17 07:40:31 2007

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.