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

LocationMatch and PROPFIND

From: Chad Whitacre <chad_at_zetaweb.com>
Date: 2004-10-30 10:44:46 CEST

Hey all,

I am trying to configure Apache to serve subversion, but also serve a
few static files used in presentation (svnindex.xls, etc.). The catch is
that I would love the urls to look like this:

   http://svn.example.com/myrepo

Instead of this:

   http://svn.example.com/repos/myrepo

(I.e., w/o the "repos" in the path.)

My solution so far is to use DocumentRoot/Directory for the static files
and a LocationMatch directive to catch svn requests. Here's what my
LocationMatch looks like:

   <LocationMatch "^/(?!favicon.ico|svnindex.xsl|svnindex.css).*$">

This works fine for GET (i.e., TTW). But when I try to actually checkout
the repo, I get:

svn: PROPFIND request failed on
'%5E/(%3F!favicon.ico%7Csvnpoo.xsl%7Csvnindex.css).*$/myrepo/!svn/vcc/default'

svn: PROPFIND of
'%5E/(%3F!favicon.ico%7Csvnpoo.xsl%7Csvnindex.css).*$/myrepo/!svn/vcc/default':

400 Bad Request (http://svn.example.com)

It looks like somehow the re in the LocationMatch is getting appended to
the path and sent back to the client. Is that what is supposed to happen?

chad

P.S. As expected, same result w/ <Location ~ ...>. Also quotes/no
quotes: no diff.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Oct 30 14:41:17 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.