[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

AuthSVNAccessFile with SVN 1.4.6 on Apache 2.2.8 on Windows

From: Matt Valerio <matt.valerio_at_gmail.com>
Date: Fri, 7 Mar 2008 09:50:24 -0500


I'm running into a very strange problem hosting Subversion inside Apache on
Windows, specifically related to the AuthSVNAccessFile directive.

Here's my setup:
Windows Server 2003
Apache 2.2.8
Subversion 1.4.6

I copied both mod_authz_svn.so and mod_dav_svn.so from the Subversion bin
folder to the Apache modules folder, and made sure they were loaded in

Here's the relevant part of httpd.conf:
<Location /svn/>
  DAV svn

  SVNListParentPath on
  SVNParentPath "E:/Trac/Repositories/"
  SVNIndexXSLT "/svnindex.xsl"

  SVNPathAuthz on
# Uncomment the next line to make it crash
# AuthzSVNAccessFile "E:/Trac/Repositories/authz"

  AuthName "Subversion Repositories"
  AuthType Basic
  AuthBasicProvider file
  AuthUserFile "E:/Trac/Repositories/htpasswd"

  require valid-user

When I comment out that line and go to https://servername/svn/, everything
works fine -- I can see all of the files in my repository using my xslt
stylesheet, and the authentication works.

However, if I uncomment the line, then the connection closes and the web
browser says "page could not be displayed" after 5-10 seconds.

If I look in the event viewer, there are a few entries, all the same:
Reporting queued error: faulting application httpd.exe, version,
faulting module mod_dav_svn.so, version, fault address

Nothing is written to the log files, even with LogLevel=debug. (Any idea how
to turn on verbose logging for mod_dav_svn and mod_authz_svn?).

Just to be sure, I used the .so files from both the MSI installer and the
.zip file that were up for download here:
I tried it both ways. They did have different build dates, but only
differed by 45 seconds/

Has anyone else run into something similar?

Thanks a ton,
Received on 2008-03-07 15:50:58 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.