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

Re: mod_dav_svn as root

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-02-17 10:34:07 CET

On Feb 17, 2006, at 09:51, Dag-Erling Smørgrav wrote:

>>> This should do it:
>>>
>>> <VirtualHost *:80>
>>> ServerName svn.example.com
>>> DocumentRoot /wherever/you/have/your/favicon/svnindex/etc
>>> <LocationMatch ^/(?!favicon\.ico|index\.html|svnindex\.xsl)>
>>> DAV svn
>>> SVNParentPath /var/lib/svn
>>> SVNIndexXSLT /svnindex.xsl
>>> <LimitExcept GET PROPFIND OPTIONS REPORT>
>>> Require valid-user
>>> </LimitExcept>
>>> </LocationMatch>
>>> </VirtualHost>
>
> Thanks! I should have though of that.

It works for you? It really does produce the problem for me that I
mentioned before:

>> svn: PROPFIND request failed on '%5E/(%3F!favicon%5C.ico%7Cindex%
>> 5C.html%7Csvnindex%5C.xsl)/!svn/vcc/default'
>> svn: PROPFIND of '%5E/(%3F!favicon%5C.ico%7Cindex%5C.html%
>> 7Csvnindex%5C.xsl)/!svn/vcc/default': 400 Bad Request (http://
>> svn.example.com)

Is this maybe a bug in Apache 2.2 then? I think you said you were
using 2.0.55...

>> I think I have to retract this solution... while it works great in
>> the web browser, it acts peculiar when I try to "svn ls" anything in
>> my repository from the command line:
>>
>> $ svn ls http://svn.example.com
>
> you didn't specify the repository...
>
> $ svn ls http://svn.example.com/project

Ah, I forgot to mention that I'm using SVNPath on my lone repository,
not SVNParentPath like you, sorry.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 17 10:39:27 2006

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