Subversion repository access through apache

Accessing a repository through the web via apache Create the following configuration files /etc/apache2/conf.d/subversion.conf /etc/apache2/conf.d/subversion.conf contents: DAV svn SVNPath /srv/svn/myproject/repos AuthType Basic AuthName “Subversion Login” AuthUserFile /etc/apache2/conf.d/subversion-users #Read only unless authenticated. Require valid-user LoadModule dav_module /usr/lib/apache2/mod_dav.so LoadModule dav_fs_module /usr/lib/apache2/mod_dav_fs.so LoadModule dav_svn_module /usr/lib/apache2/mod_dav_svn.so LoadModule authz_svn_module /usr/lib/apache2/mod_authz_svn.so We could have a seperate //Location// for each svn repository […]

Read More »

Subversion Repository Creation

Make the directory where the repository is going to be mkdir /srv/svn/myproject Set the permissions so apache can have the access to the folder and repository cd /srv/svn/myproject chown wwwrun /srv/svn Now create the repository in the directory svnadmin create –-fs-type fsfs /srv/svn/myproject/repos You should now have a direcory /srv/svn/myproject/repos/ To view the repository in […]

Read More »

Subversion Installation

Prior to subversion-1.4.5 installation the following dependencies must be set up and installed: Suse Linux Enterprise Server 10 (sles 10) Apache 2.2 Autoconf Open ldap dev Neon 0.25.5 neon-0.25.5-7.1.i586.rpm neon-devel-0.25.5-7.1.i586.rpm Download the subversion tar file you require (i.e. subversion-1.4.5.tar.gz) from: [[http://subversion.tigris.org/|Subversion]] Extract the tar file into /tmp using the following command: tar –xzvf suibversion-1.4.5.tar.gz Change […]

Read More »