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

RE: RE: Multiple Repositiories, SVNParentPath, and Apache AutoIndex

From: Stephen Warren <swarren_at_paramanet.com>
Date: 2004-04-01 19:42:40 CEST

-----Original Message-----
From: Stephen Duncan [mailto:jrduncans@stephenduncanjr.com]

> Thanks for the idea, but that still doesn't buy me what I'd like.
> I'd need a way to treat directories like normal directories, but
> when subversion controlled sections were navigated to, the
> subversion module would take over.

> Say I have the following structure, where the single letter
> directories are repositories, the rest are normal directories:

> svn
> ->webapps
> ->p
> ->q
> ->administrative
> ->r

> I'd like to be able to go the svn directory through a browser,
> and see the webapps and administrative folders, and be able to
> click on them to navigate down. Say I click on webapps, I'd like
> to see links for p and q. If I click on p, then I'd like to see
> what the svn module normally provides when I go directly to
> svn/webapps/p.

You could try using mod_rewrite - get it to match ^/svn/$ and redirect to somewhere that generates the index, which has links back to /svn/xxx/. This "somewhere" could be a CGI script that essentially ls's that directory, or perhaps you can fool Apache's indexing module into doing it somehow - don't know how myself...

Stephen Warren, Software Engineer, Parama Networks, San Jose, CA
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 1 19:43:39 2004

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.