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

mod_dav_svn with Apache 2.0.48

From: Chuck Berg <chuck_at_encinc.com>
Date: 2004-01-30 22:13:35 CET

I can't get mod_dav_svn to work. I'm using Apache 2.0.48 and Subversion 0.37.0
on Solaris 8.

In my httpd.conf, I have:

the last two LoadModule statements:
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

At the very end:

<Location /svn>
  DAV svn
  SVNParentPath /data/svn
</Location>

I then do:
$ svnadmin create /data/svn/foo
$ svn co http://localhost/svn/foo
svn: PROPFIND request failed on '/svn/foo'
svn:
Could not open the requested SVN filesystem

I see in error_log:
[Fri Jan 30 15:55:53 2004] [error] [client 127.0.0.1] (20014)Error string not specified yet: Can't create a converter from 'native' to 'UTF-8'
[Fri Jan 30 15:55:53 2004] [error] [client 127.0.0.1] Could not fetch resource information. [500, #0]
[Fri Jan 30 15:55:53 2004] [error] [client 127.0.0.1] Could not open the requested SVN filesystem [500, #2]
[Fri Jan 30 15:55:53 2004] [error] [client 127.0.0.1] (2)No such file or directory: Could not open the requested SVN filesystem [500, #2]

And in access_log:
127.0.0.1 - - [30/Jan/2004:15:55:53 -0500] "PROPFIND /svn/foo HTTP/1.1" 500 234

If I truss the Apache process, it does this:
read(9, " P R O P F I N D / s v".., 8000) = 502
stat("/opt/Apache/2.0.48/htdocs/svn/foo", 0xFD909778) Err#2 ENOENT
lstat("/opt", 0xFD909778) = 0
stat("/opt", 0xFD9096B0) = 0
lstat("/opt/Apache", 0xFD909778) = 0
lstat("/opt/Apache/2.0.48", 0xFD909778) = 0
lstat("/opt/Apache/2.0.48/htdocs", 0xFD909778) = 0
lstat("/opt/Apache/2.0.48/htdocs/svn", 0xFD909778) Err#2 ENOENT

/opt/Apache/2.0.48/htdocs is my DocumentRoot. Why would it look there?

So I make a link:
$ ln -s /data/svn /opt/Apache/2.0.48/htdocs/svn

But that didn't work:
$ svn co http://localhost/svn/foo
svn: PROPFIND request failed on '/svn/foo'
svn: PROPFIND of '/svn/foo': 301 Moved Permanently (http://localhost)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 30 22:22:08 2004

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.