[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: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-01-18 01:36:46 CET

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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 18 01:37:15 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.