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

httpd, mod_dav and LocationMatch

From: Marc Lalonde <mlalonde_at_crim.ca>
Date: 2004-11-18 18:34:50 CET

Hello,

An issue has been raised a couple of times on the dev mailing list about
using regexp in the Apache 'Location' directive to include/exclude urls
to be passed to mod_dav (last time: msg 82012). Although GET requests
(with a web browser) work well, svn clients trying to e.g. checkout a
project get a "PROPFIND request failed". The funny part is that indeed
something prepends the encoding of the regexp to the relative path to
the project. During a checkout, the first two PROPFINDs get to Apache
correctly but the third one is malformed:

132.218.30.48 - - [17/Nov/2004:22:34:06 -0500] "PROPFIND /ophtalmo
HTTP/1.1" 401 486
132.218.30.48 - mlalonde [17/Nov/2004:22:34:06 -0500] "PROPFIND
/ophtalmo HTTP/1.1" 207 709
132.218.30.48 - - [17/Nov/2004:22:34:06 -0500] "PROPFIND
(%5E/%5B%5Ec%5D.*)%7C(%5E/c%5B%5Eg%5D.*)%7C(%5E/cg%5B%5Ei%5D$)/ophtalmo/!svn/vcc/default

HTTP/1.1" 400 311

The farthest I've been able to go is on the server side (mod_dav),where
repos->root_path in dav_svn_build_uri (./subversion/mod_dav_svn/util.c)
is corrupt.The argument root_path passed to dav_svn_get_resource
(repos.c) is also invalid. How is this last function called? Through a
hook? Does anyone have any idea on the source of the problem?

Thanks,

Marc

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 18 18:40:54 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.