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

Attachment: pgp27ZKIaewoc.pgp
Description: PGP signature

Reply via email to