subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michaël Bruneel...@alethes.be>
Subject mod_dav_svn and Apache <Location> directive
Date Fri, 04 Nov 2011 18:50:14 GMT
  Hi,

  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
    </Location>

    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?

Regards,

--
Michaël Bruneel
http://www.alethes.be

Mime
View raw message