working web.xml and apache vhost example

Former SVN Browser
Posts: 3
Joined: Thu Apr 01, 2010 9:20 am

working web.xml and apache vhost example

Postby nutella » Thu Apr 01, 2010 9:28 am

So far i managed to get working one single svn repository like that (web.xml):

Code: Select all






In this way I can use ldap authentication via the apache vhost. However I cannot add multiple repositories or a root folder to the repositories (ie: <param-value></param-value>) . Then ldap authentication seems not to work, neither does normal user password authentication via web.xml. I really tried all possible combinations, but no luck so far...

Could someone post me an example to a multiple repository setup in the web.xml (either with "ParentRepositoryDirectory" and/or "RepositoryUrl") and an apache vhost example that would work?

Posts: 4
Joined: Tue Feb 09, 2010 9:33 pm

Re: working web.xml and apache vhost example

Postby da42le » Tue Apr 13, 2010 5:38 pm

I haven't worked with the LDAP authentication, but maybe I can shed some light on how to get multiple repositories working.

There are two options; "ParentRepositoryDirectory" and "RepositoryUrl". You will only use one of these. "RepositoryUrl" will point directly to a repository. "ParentRepositoryDirectory" will point to the top level svn repository.

For my setup, I use apache http authentication, so I am mapping my apache server to my svn repository using dav-svn. My apache web address would be<repository>

Example: Lets assume you have

If you only want to use svnwebclient for a single repository, you would use RepositoryUrl and point to one of those paths. Only a single repository will work this way.

Later, there was an updated to allow multiple repository access. This is the purpose of "ParentRepositoryDirectory".

If you want to use all three repositories, you would use "ParentRepositoryDirectory" and point to "". When you go to the svnwebclient home page, it will prompt you for "repository name" along with user name and password.

When I access svnwebclient, I am accessing from tomcat back through apache solely for authentication purposes. svnwebclient address would be Repository name would be test1 (etc), and usual authenication name and password.

Hope this helps.

Return to “Polarion SVN Web Client”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests