[viewvc-dev] Configured authzfile file not found error workaround

"Kerrigan, Philip" <[email protected]> Wed, 12 Nov 2008 15:22:46 +0100
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Message-ID <9EF0CBD68F9BF14D926DC8516EA962A1016B65A6@derum204.emea.corp.eds.com>
I am trying to configure ViewVC to use svnauthz but when I try to access
the repository I get the error shown below.
An Exception Has Occurred
Configured authzfile file not found
The authzfile vale was configured as shown
authzfile = "F:/Applicazioni/Apache Software
Foundation/Apache2.2/conf/svnaccess.conf"
and the file exists.
I tried all sorts of combinations of relative and absolute path and
forward\back slash before realizing that the " was causing a problem and
that spaces were not allowed.

I eventually resolved the problem by using short 8.3 names for the path,
i.e.
authzfile = f:/APPLIC~1/APACHE~2/Apache2.2/conf/svnaccess.conf
You can get these names by using dir /X from the DOS command line.
I hope this helps someone with the same problem.
My server environment is:
viewvc-1.1-dev-20081111
Python 2.5.2
Apache 2.2.10
Windows Server 2003 SP1
Subversion 1.5.4