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

RE: help: using http: returns 'Could not open the requested SVN filesystem'

From: Jack <van_at_paintbot.com>
Date: 2006-09-13 05:32:52 CEST

I found the problem.

 

I did 'svn create /usr/local/svn_repository' and specified 'SVNParentPath
/usr/local/svn_repository'

 

This is wrong. SVNParentPath doesn't specify a repository, but rather a
directory containing repositories.

 

So I deleted the repository files in /usr/local/svn_repository

Created an appropriate repository "svn create
/usr/local/svn_repository/myproject"

 

Then 'svn checkout http://www.planefast.com/svn/myproject/trunk myproject'
works.

 

Jack

 

  _____

From: Jack [mailto:van@paintbot.com]
Sent: Tuesday, September 12, 2006 7:39 PM
To: users@subversion.tigris.org
Subject: help: using http: returns 'Could not open the requested SVN
filesystem'

 

Hi, I'm having trouble using http checkout. Using file: works great, but
when I try http:, it returns an error. The relevant info is below, I think.
I think it's permissions or apache set up, or using 'nobody' to run Apache,
but I'm not sure.

 

Please let me know if there's anything else I need to provide.

 

Thanks,

Jack

 

THIS WORKS ------------------------------

 

root@host [/tmp/testsvn/checkoutspace]# svn checkout
file:///usr/local/svn_repository/testsvn/trunk testsvn

A testsvn/test.txt

Checked out revision 2.

 

THIS FAILS ------------------------------

 

root@host [/tmp/testsvn/checkoutspace]# svn checkout
http://www.planefast.com/svn/testsvn/trunk testsvn

Authentication realm: <http://www.planefast.com:80> Subversion Repository

Password for 'root':

Authentication realm: <http://www.planefast.com:80> Subversion Repository

Username: test1

Password for 'test1':

svn: PROPFIND request failed on '/svn/testsvn/trunk'

svn: Could not open the requested SVN filesystem

 

MY httpd.conf and Location INFO -----------------------

 

LoadModule php5_module modules/libphp5.so

LoadModule dav_svn_module modules/mod_dav_svn.so

LoadModule authz_svn_module modules/mod_authz_svn.so

 

User nobody

Group nobody

 

NameVirtualHost *:80

 

<VirtualHost *:80>

   ServerName www.planefast.com

   DocumentRoot /main

 

   <Directory /main>

      Options Indexes MultiViews

      DirectoryIndex index.html index.php

      Order allow,deny

      AllowOverride All

      allow from all

   </Directory>

 

   <Location /svn>

     DAV svn

     SVNParentPath /usr/local/svn_repository

     AuthType Basic

     AuthName "Subversion Repository"

     AuthUserFile /etc/svn-auth-file

     Require valid-user

   </Location>

 

</VirtualHost>

 

REPOSITORY PERMISSIONS -----------------------

 

root@host [/usr/local/svn_repository]# ls -lA

total 7

-rw-r--r-- 1 nobody nobody 229 Sep 12 20:01 README.txt

drwxr-xr-x 2 nobody nobody 128 Sep 12 20:01 conf/

drwxr-xr-x 2 nobody nobody 48 Sep 12 20:01 dav/

drwxr-sr-x 5 nobody nobody 256 Sep 12 20:15 db/

-r--r--r-- 1 nobody nobody 2 Sep 12 20:01 format

drwxr-xr-x 2 nobody nobody 360 Sep 12 20:01 hooks/

drwxr-xr-x 2 nobody nobody 104 Sep 12 20:01 locks/
Received on Wed Sep 13 05:34:13 2006

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.