RE: Setting a web page at the repositories' parent URL
From: Eramo, Mark <meramo_at_hbs.edu>
Date: Fri, 5 Nov 2010 14:50:00 -0400
Hi Gingko
In the httpd-subversion.conf file, I have the various repositories defined like this.....
<Location /svn/repo1>
<Location /svn/repo2>
<Location /svn/repo3>
Then when I hit http://server/svn/repo1, I get access to repo1, I hit http://server/svn/repo1, I get access to repo2, etc.
If you use SVNParentPath instead of SVNPath, you can have issues so this seems to work well for me.
As far as a web page goes, you could create a custom index.html that has all the links to the various repositories so if users just goes right to http://server, they see the custom index.html which has all the repository links.
Regards,
-----Original Message-----
Hello,
I have a question concerning the "mod_dav_svn" module that Apache use for accessing the repositories.
According to the documentation, if I set a configuration like this one :
<Location /svn>
... I define a parent directory under which I can put all of my repositories.
So I can access them like this :
http://www.myserver.com/svn/my_first_repository/
But if I just type :
I get a page like this one:
------------------------------------------------------------------------------------------------------------------------------------------------------------------
Apache/2.2.9 (Debian) DAV/2 SVN/1.6.12 PHP/5.2.13 mod_perl/2.0.4
This is quite ugly, and I saw several SVN servers exhibiting this behavior.
Is there a way to put a web page on this location?
(for example a blank page, or a page with links to the only repositories that I want to be publicly accessible for reading)
Best regards,
GIngko
|
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.