How can I set up an svn subdomain so that I can check / disable without using svn + ssh?

I have an svn repository on my hosting account at ~ / repository /. At the moment I need to create ssh keys for my server so that users can check / remove from the repository using a command like "svn + ssh: //domain.com/project1/trunk". It's ok when we were used by 2 repos, but now I have other people who might be running on the server that I cannot fully trust, so I cannot give them ssh keys as they will have access to all my server.

I would like to set up access to my svn repository via a subdomain for example. svn.domain.com so that users can check / log out of this location using the command: "svn co http://svn.domain.com/project1/trunk " - without using ssh. Can this be done and how?

This should also help me solve my other problem of controlling user access to which svn projects.

Thanks for any help in advance!

+2


a source to share


2 answers


You need to have access to Apache configuration and activate SVN modules in order to be able to access repositories via http / https protocol. I'm not sure if you have this?



+3


a source


Yes, you need to install Apache and run svn in vhost (or in a location inside an existing vhost).



You can configure Apache to use LDAP authentication as well. There are many descriptions setting it all up on the internet -

+1


a source







All Articles