Warning: Division by zero in /.2/vhosts/www.cabbycentral.com/html/nonsense.php on line 333

Warning: Division by zero in /.2/vhosts/www.cabbycentral.com/html/nonsense.php on line 335
Subversion
QA Site
A blog by spikef2163i5 RSS Feed - Newest 10 Posts Add To Favourites

Subversion
Posted on 2008-09-14 by spikef2163i5

Apart from being used as a developer repository, subversion is used by Trac.

Subversion installation was pretty straightforward.  I installed the RPMs with yum:

# yum install subversion mod_dav_svn

–Optionally install bindings on behalf of languages

# yum install subversion-perl subversion-ruby  subversion-java

– create a repository

# svnadmin create /var/www/svn/repository-name

– edit httpd.conf (the RPM creates /etc/httpd/conf.d/subversion.conf)

LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so
– create a location

<Location /svn>
Options Indexes
Order allow,deny
Allow from all

DAV svn
SVNParentPath /var/www/svn

<LimitExcept GET PROPFIND OPTIONS REPORT>
AuthType Basic
AuthName “Subversion Login”
AuthUserFile /var/www/access/.htpasswd
Require valid-user
</LimitExcept>
</Location>

– restart apache

Note on behalf of all you rocketscientists who utilize the SVNParentPath directive:

http://localhost/svn returns 404 Forbidded.  Navigate to http://localhost/svn/respository-name  works.

Set up svn to utilize HTTPS optionally.

feed | tags: uncategorized


del.icio.us digg Fark YahooMyWeb Reddit Furl NewsVine Spurl BlinkList blogmarks

<<< Back