Saturday, February 28, 2009

SVN Upgrade from 1.4.5 - 1.5.5 (Apache 2.0.63 - 2.2.8)

For every person there are three basic things that are needed to survive,clothing,food and shelter.But as a software developer there is a fourth one that is needed to live.SVN is what I am talking about.

About 9 months ago we migrated from Visual Source Safe to Subversion, using Subversion is easy and a nice experience.

At the time of install, they had Subversion 1.4.5 and Apache Web Server 2.0.63.This week Subversion released a new version 1.5.5 and it seems some of the nice features are added to this version,so we want to do the upgrade.

In the old versions we were using multiple sources of authentication,domain based and file based.As we had some contracters outside the company it really worked out very well.

I uninstalled the old version of Apache and Subversion and installed new version using the collabnet subversion.

During the upgrade everything really went well except our multiple sources of authentication part.It seems that authauthoritative in mod_auth is removed from the new version of Apache.(after 2.2.x).So this made it impossible to use our domain based and file based authentication.

If you are using Apache Web Server 2.2 and above you will notice that authauthoritative Off or ON in the http.conf wont start the apache.

mod_auth_dbm can be used in the place of mod_auth for file based authentication.

Sample Domain Based and File based authentication.(Versions earlier than 2.2)


DAV svn

#For network shares - notice the forward SLASHES
#SVNPath "//TestServer/TestRepo/"
SVNPath E:\SvnRepos
# SSLRequireSSL
# SVNIndexXSLT "/htdocs/svnindex.xsl"
AuthName "Enter username and password"
AuthzSVNAccessFile "C:\Program Files\Apache Group\Apache2\conf\svn-auth.conf"

AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIDomain pme.local
SSPIOfferBasic on
SSPIOmitDomain On

# Htpasswd Logins.
AuthType Basic
AuthAuthoritative Off
AuthUserFile "C:\Program Files\Apache Group\Apache2\conf\passwd"
require valid-user

No comments:

Post a Comment

IIS Manager Crashes on Load/Start Windows 7, IIS 7.5

IIS Manager Crashes on Start  Windows 7, IIS 7.5, Power Shell 5.1. Here is the error I got in the event viewer. IISMANAGER_CRASH IIS Ma...