Issue
I've just installed SVN. I would like to know the steps for making SVN repository browsable through http in my LAN, without the need for the network administrator to open up another custom port. This is an exemple of how it should look like.
Thanks in advance.
Solution
Did it :)
I had to move the two following modules :
- mod_authz_svn.so
- mod_dav_svn.so
located in the DirectoryOfInstallationOfSVN\bin
to DirectoryOfInstallationOfApache\Modules
and copied the DLLs files from the first directory to DirectoryOfInstallationOfApache\bin
.
After that I had to configure the httpd.conf file located at
DirectoryOfInstallationOfApache\conf
by adding following :<Location /svn> DAV svn SVNPath "path to your SVN repository goes here" (without the double quotes ) AuthType Basic AuthName "Write here whatever you like" AuthUserFile "DirectoryOfInstallationOfApache\bin\passwd" Require valid-user </Location>
One may find some PORT related issues, you can change the port at which the Apache is Listening by modifying the #
Listen
command in the httpd.conf file.Finally, in order to be able to add new users, don't forget to copy the
passwd
file located inDirectoryOfInstallaionOfSVN\repository\conf
toDierctoryOfInstallationOfApache\bin
. You will be able then to add new users to SVN via cmd using :htpasswd -m passwd "new username goes here" (without the double quotes).
You will be asked to provide a password twice for the new user.
Answered By - mounaim Answer Checked By - Robin (WPSolving Admin)