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

Re: Subversion and WebDAV with Apache

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-10-11 05:26:09 CEST

On Oct 10, 2007, at 20:24, Minesh Patel wrote:

> I have set up apache with subversion and webDAV and when viewing
> the files, is there a way to view sub-directories first then
> regular files after. Currently it list files and folders in
> alphabetical order. Is the file display rendering done by svn or
> apache.

The display rendering is done by mod_dav_svn. mod_dav_svn provides
only very limited means to customize this display, but you can have
mod_dav_svn output in XML instead of HTML, and then style that XML
using your own XSLT stylesheet, by using the "SVNIndexXSLT"
directive. There are sample XSLT/CSS files included in the
distribution somewhere... Ah yes, here:

http://svn.collab.net/repos/svn/trunk/tools/xslt/

I am not very versed in XSLT, but I believe you can make it output
the directories first, then the files, if that's what you want.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 11 05:28:35 2007

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.