Adding Basic Authentication
As detailed on 14 Nov, the lack of httpd authentication prevents svn updates from getting an author assigned. So now I’m installing authentication per the Subversion instructions:
htpasswd2 -cm /etc/apache2/basicHTTPpasswd bozzie- Cut & pasted the Auth{Type,Name,User} directives from the instructions into the
<Location> /svnsection of mydefault-server.conffile. Cut & pasted theRequire valid-useronly for write actions, also from the instructions.
Re-created the repository and imported. The import challenged for a password and the newly checked-in revision finally has an author.
SVN is ready for use, I think.
ViewCVS (ViewVC)
SuSE installs this package in /srv/viewcvs. Finally found some installation instructions by downloading the current version from the Tigris web site and ad-libbing from the viewVC instructions.
Summary of mods to default-server.conf:
Alias /viewcvs-docroot /srv/viewcvs/templates/docrootScriptAlias /viewcvs /srv/viewcvs/www/cgi/viewcvs.cgi- Plus
viewcvs.confmust be edited.
ViewCVS presents a serviceable graphic interface to SVN, which I imagine is even better in the current viewVC version. There is also a graphing interface of some sort that I haven’t looked into yet.
Hi,
I would like to know to configure ViewVC on Apache2/SSL/SVN. My subversion+apache2+ssl is working fine a the moment. It would be nice to have ViewVC.
It would be very helpful if you please mail me or post some detailed step by step instructions.
Thank you,
Adarsh
Link | March 28th, 2007 at 11:18 am
Hi Adarsh,
After you’ve installed the openSUSE viewVC package, click on the Subversion category in my blog, then follow the ViewVC-specific configuration info that appears in the following posts:
24 Feb 2007, Part I, step 2, item 5: APACHE_SERVER_FLAGS ..
24 Feb 2007, Part II, steps 8 and 9.
At this point, viewVC should be available.
Optionally, 24 Feb 2007, Part II, step 2 and 24 Jan 2007 have additional info regarding authentication.
Link | March 30th, 2007 at 2:34 am