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

Re: Augmenting the WebDAV side of Subversion with merkle hashes for directories.

From: Paul Hammant <paul_at_hammant.org>
Date: Fri, 24 Nov 2017 11:14:41 -0500

OK, not a straight handler, but 'ScriptAliasMatch'. Like so:

ScriptAliasMatch \.foo*$ "/path/to/helloworld.py$1"

I should be able to hit /a/b/d/e/f.foo in a browser and have helloworld.py
execute, right?

Well, it works just fine when declared at root level (not in a <directory>
or <location> directive) and for when the request URL is anything outside
the Subversion mounted dir/location:

But when I change the URL to be inside the Svn location, then mod_dav_svn
intercepts the request and reports 404 - the wildcard on .foo suffixed URLs
is ignored.


   http://myserver/a/b/d/dfgw/wewerwer/anthing.foo --> works fine
<http://myserver/a/b/d/dfgw/wewerwer/anthing.foo> --> does not work

Unless there's a way through this (other nesting techniques), I'll have to
mount the Merkle directory summaries on a parallel directory tree:

   http://myserver/svn/path/to/department_salaries.xls --> Svn via DAV
   http://myserver/svn/path/to/imminent_layoffs.doc --> Svn via DAV

   http://myserver/meta/path/to/.indexSHA1s.csv --> a GET-centric app
   http://myserver/meta/path/.indexSHA1s.csv --> a GET-centric app
   http://myserver/meta/.indexSHA1s.csv --> a GET-centric app


- Paul
Received on 2017-11-24 17:14:55 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.