Setup Subversion on the Apache HTTP server

For a easy mini how-to for setting up Apache2 with SVNis see /usr/share/doc/packages/subversion for the full documentation. Is easier than what's below, but i'll leave the info below for info sake...

Setup Subversion on the Apache HTTP server

Changes to http.conf

LoadModule dav_module /usr/lib/apache2/
LoadModule dav_svn_module /usr/lib/apache2/

#Subversion Repository
< Location /blabbermouth >
DAV svn
SVNPath /usr/svnrepos

# how to authenticate a user
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /etc/svn-auth-file

# For any operations other than these, require an authenticated user.
Require valid-user

Make Changes in subversion's /conf/passwd file to allow read/write/none access..

* = r

Allows anyone to read ALL repositories and user1 and user2 to write to the 'blabbermouth' repository.

Remeber to give the UserID that Apache runs as permission to write to your svn folder. If your svn repos is owned by a user 'svn' and group 'snv' and if Apache runs as 'wwwrun' (check the httpd.conf or uid.conf) then in the console type:
# groups wwwrun to list the groups that wwwrun belongs to.
# usermod -G svn wwwrun will add wwwrun to the svn group. if 'wwwrun' belongs to anyother groups (besides the primary group 'www') then mention them alongside svn.