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

mod_dav_svn and Apache <Location> directive

From: MichaŽl Bruneel <m_at_alethes.be>
Date: Fri, 4 Nov 2011 19:50:14 +0100


  It seems that the dav_svn Apache module is not compatible with
<Location> directive when used with regular expression containing
negative part. For example, given that configuration:

    <Location ~ "^/(?!viewvc)" >
      DAV svn
      SVNPath /srv/svnroot/myproject

    ScriptAlias /viewvc "/usr/lib/cgi-bin/viewvc.cgi"

the content of the <title> tag in the HTML response becomes:

    <title>(?!viewvc) - Revision 1848: /</title>

instead of:

    <title>/ - Revision 1848: /</title>

and we get this error :

    svn: Server sent unexpected return value (400 Bad Request) in response
    to PROPFIND request for '%5E/(%3F!viewvc)/!svn/vcc/default'

  The repository root contains trunk/, branches/ and tags/ directories
and a viewvc/ directory will never be versioned. The viewvc URL is used
to browse the repository through ViewVC interface.

  Is it the really expected behaviour? Or is there something wrong
somewhere else?


MichaŽl Bruneel

  • application/pgp-signature attachment: stored
Received on 2011-11-04 19:51:03 CET

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.