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

Re: AW: Re: Subversion over http (Another problem)!!

From: Himanshu Raina <raina_himanshu_at_yahoo.com>
Date: 2007-01-18 08:39:33 CET

Hi, Finally it worked.Had to make use of AuthzSVNAccessFile but it finally worked.Thanks people for helping out. regards Himanshu Raina ----- Original Message ---- From: Ryan Schmidt <subversion-2007a_at_ryandesign.com> To: Himanshu Raina <raina_himanshu_at_yahoo.com> Cc: Felix Gilcher <felix.gilcher_at_exozet.com>; Norbert Unterberg <nepo_at_gmx.net>; users_at_subversion.tigris.org Sent: Thursday, January 18, 2007 6:06:46 AM Subject: Re: AW: Re: Subversion over http (Another problem)!! On Jan 17, 2007, at 09:16, Himanshu Raina wrote: > After making modifications in the httpd.conf directives i am able > to access my repositories as per my specifications i.e user from 1 > group can access his repository alone and not someone else's.This > works fine over http but when i access the same through command > line i get the > following error. > svn list http://192.16.1.2/svn/blogs (blogs is one of the repos) > > svn: PROPFIND request failed on '/svn/blogs' > svn: PROPFIND of '/svn/blogs': 301 Moved Permanently (http:// > 192.16.1.2) > > The httpd.conf directives are given below > > <Directory "/usr/local/apache2/htdocs/svn"> > AllowOverride AuthConfig > </Directory> > > <Location /svn> > DAV svn > SVNListParentPath on > SVNParentPath /usr/local/apache2/htdocs/svn > </Location> The "301 Moved Permanently" error can occur if you place your repositories inside your Apache document root, which is why you should not do that, as was mentioned before. Place the repositories anywhere else on disk. The FAQ mentions this problem: http://subversion.tigris.org/faq.html#http-301-error > On browser if i give > http://192.16.1.2/svn > I get all the repositories listed and one selecting a repository it > asks for id/passwd defined in .htpasswd (path for which is defined > in .htaccess) and post authentication lists all the directories. > > .htaccess - > AuthName "Basic Authentication Blogs" > AuthType Basic > AuthUserFile /usr/local/apache2/htdocs/svn/.htpasswd > require valid-user > > How can i make it work through command line You cannot; Subversion does not offer this feature. SVNListParentPath only lists the repositories when you view it in a web browser; it does not work in any Subversion client. -- 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 ____________________________________________________________________________________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091
Received on Thu Jan 18 08:39:59 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.