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

Re: How to suppress subversion banner (mod_dav_svn)

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Sun, 23 Aug 2009 03:38:35 -0500

On Aug 22, 2009, at 23:54, Vachirasuk Setalaphruk wrote:

> I am using apache + mod_dav_svn to serve repository via HTTP.
> When listing the repository from web browser, it shows banner like
> "Powered by Subversion version 1.x.y (rz)."
> at the bottom of the page.
>
> Is there a configuration option to suppress this banner? Or is it
> the apache thing?

You cannot change the HTML mod_dav_svn produces, but you can tell it
to produce XML instead of HTML, and to use a custom XSLT stylesheet.
In the stylesheet, you can simply omit the part that prints the banner.

In the relevant part of your httpd.conf or other Apache configuration
file, you would put

SVNIndexXSLT /path/to/svnindex.xsl

There is an example svnindex.xsl somewhere you can use as a basis.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2386448

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-23 10:39:31 CEST

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.