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.

Specifically:

   http://myserver/a/b/d/dfgw/wewerwer/anthing.foo  --> works fine
   http://myserver/svn/anthing.foo
<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

Regards,

- Paul

Reply via email to