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

RE: Problem configuring subclipse with repository

From: Bindra, Tamanjit <Tamanjit.Bindra_at_ps.net>
Date: 2007-02-26 10:55:18 CET

Thanks a lot it worked.
I have another query could help me in authorizing access to my
repository over the network. As I have already mentioned I am using
Apache 2.0.59 server and SVN 1.3.2.

Thanks

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2007a@ryandesign.com]
Sent: Monday, February 26, 2007 2:57 PM
To: Bindra, Tamanjit
Cc: Subversion List
Subject: Re: Problem configuring subclipse with repository

Don't forget to use the Reply To All feature of your email program so
that replies go to the list also, and not just to me.

My reply to your problem is below:

On Feb 25, 2007, at 22:54, Bindra, Tamanjit wrote:

>>> I have already done the following things:
>>>
>>> Created a repository using SVN and had been using the repository
>>> locally using the url file:///
>>> Have configured SVN with apache 2.0.59 server and am able to view
>>> the repository through the browser.
>>> I have already configured subclipse with my eclipse.
>>> I am on windows platform.
>>>
>>> I am now facing the following problem:
>>>
>>> Am unable to configure subclipse with my repository either by using
>>> http://localhost/calling_name_of_the_repository as mentioned in the
>>> httpd file of apache server or through http://ip_of_my_machine/
>>> repository .
>>> I have tried all different techniques of attaching /svn/ before the
>>> name of my repository in the url.
>>> But everytime I get some error or the other.
>>> I also have a doubt, I had deleted some earlier repositories from
>>> my local directory manually. Could this lead to some problem.
>>> Although I am able to work easily locally using the file:/// urls.
>>
>> 1. Use the Subversion command-line client instead of Subclipse, to
>> rule out any problems with Subclipse.
>> 2. Show us the exact error message you're getting; it's hard for us
>> to guess what's wrong without that.
>> 3. Show us the relevant configuration in your httpd.conf. There is
>> exactly one correct URL to use for your repository, and the
>> configuration will show us what it is.
>> 4. Tell us where on your disk the repository is located, so that we
>> can verify whether your Apache configuration is correct.
>> 5. Tell us the URL that you are able to use in the browser, and what
>> you see in the browser.
>
> Thanks for replying.
>
> 1. Using command line I am able to check out using the file:/// url.
> Using the http://wit31250570/newrepos I get the following error,
>
> svn:PROPFIND request failed on '/newrepos'.
> Svn: PROPFIND of '/newrepos' : 301 Moved Permanently
> (http://wit31250570)
>
> Again when I try with the url as http://wit31250570 I get the
> following
> error:
>
> svn: PROPFIND request failed on '/'
> svn: PROPFIND of '/': 405 Method Not Allowed (http://wit31250570)
>
> 2. I am attaching along the httpd.conf file. I have added the Location
> tag at the end of the file. I have also uncommented the following
> lines:
>
> LoadModule dav_module modules/mod_dav.so
> LoadModule dav_fs_module modules/mod_dav_fs.so
>
> And added the following lines:
>
> LoadModule dav_svn_module modules/mod_dav_svn.so
> LoadModule authz_svn_module modules/mod_authz_svn.so
>
> I have also added the mod_dav_svn.so and mod_authz_svn.so files to the
> modules folder of apache.
>
> 3.My repository is located at c:\repos.
>
> 4. I am also attaching the page I see on the browser when I try to
> access the repository through http://localhost/newrepos.
>
> Thanks.

 From httpd.conf:

> <directory c:\repos>
> Allow from all
> </directory>
>
> <Location /newrepos>
> DAV svn
> SVNParentPath c:\repos
> SVNListParentPath On
> </Location>

What's shown in the browser:

> Collection of Repositories
>
> conf/
> dav/
> db/
> hooks/
> locks/
>
>
> Powered by Subversion version 1.3.2 (r19776).

Ok, so the problem is that you're using SVNParentPath when you need
to use SVNPath instead.

When you use SVNParentPath c:\repos, you're telling Subversion that c:
\repos is a directory that contains several repositories. However,
you've told us that c:\repos is itself a single repository. So
instead you need SVNPath c:\repos. SVNListParentPath is also now
irrelevant, since you're no longer using the SVNParentPath option.

If you do want to host several repositories, then you need to put
them all in a common directory, and point SVNParentPath at that
directory.

-- 
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 Mon Feb 26 10:56:10 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.