working web.xml and apache vhost example
Posted: Thu Apr 01, 2010 9:28 am
So far i managed to get working one single svn repository like that (web.xml):
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>http://testserver.example.com/rootfolder/</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?
Code: Select all
<context-param>
<param-name>ParentRepositoryDirectory</param-name>
<param-value>http://testserver.example.com/test</param-value>
</context-param>
<context-param>
<param-name>Password</param-name>
<param-value>pass</param-value>
</context-param>
<context-param>
<param-name>Username</param-name>
<param-value>user</param-value>
</context-param>
<context-param>
<param-name>ForcedHttpAuth</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>BasicAuth</param-name>
<param-value>true</param-value>
</context-param>
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>http://testserver.example.com/rootfolder/</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?