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

Listing 'bug' with mod_dav_svn and regex-location

From: Jille Timmermans <jille_at_hexon.cx>
Date: Tue, 17 Jun 2008 22:19:47 +0200

Hello list,

I was playing around with mod_dav_svn in apache (2.2), and it suddenly
gave a 403 error.
I have a VirtualHost with DAV svn enabled in /, and I wanted to use
SVNIndexXSLT;

Config snippet:
<VirtualHost *:80>
    <Directory /path/to/>
       Order allow,deny
       Allow from all
    </Directory>
    Alias /svnindex.xsl /path/to/svnindex.xsl
    <Location ~ "^(?!/svnindex)">
        DAV svn
        SVNParentPath /svnrepos/path
        SVNListParentPath on
        SVNIndexXSLT "/svnindex.xsl"
        AuthType Basic
        AuthName "Subversion repositories"
        AuthUserFile /svnrepos/path/passwd
        require valid-user
    </Location>
</VirtualHost>

Well, this works fine when accessing http://vhost/repository/* or
http://vhost/svnindex.xsl
However, if I go to http://vhost/ I get a 403 error, with in my error-log:
[Tue Jun 17 22:08:34 2008] [error] [client IP] Could not fetch resource
information. [403, #0]
[Tue Jun 17 22:08:34 2008] [error] [client IP] (35)Resource temporarily
unavailable: The URI does not contain the name of a repository. [403,
#190001]

When I use <Location /> and comment SVNIndexXSLT I can normally access
http://vhost/

I don't think the pcre in the Location should cause a 403 error, so I
assume it is an SVN bug.

(Yes, I run 1.4.6)

-- Jille Timmermans
Ps, also a direct reply; I'm not on the list.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-17 22:58:57 CEST

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.