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

Re: AuthSVNAccessFile with SVN 1.4.6 on Apache 2.2.8 on Windows

From: Lieven Govaerts <svnlgo_at_mobsol.be>
Date: Sat, 08 Mar 2008 14:59:17 +0100

Matt,

can you check to make sure you used the zip file "svn-win32-1.4.6.zip",
with the description "Subversion 1.4.6 Win32 binaries for Apache 2.2.x." ?

These .so files are build against the same version of APR that's used in
apache 2.2.6.

Lieven

Matt Valerio wrote:
> Hello,
>
> 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 httpd.conf.
>
> Here's the relevant part of httpd.conf:
> ===8<===
> <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
> </Location>
> ===8<===
>
> 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:
> ===8<===
> Reporting queued error: faulting application httpd.exe, version 2.2.8.0
> <http://2.2.8.0>, faulting module mod_dav_svn.so, version 1.4.6.28521,
> fault address 0x00004df3.
> ===8<===
>
> 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:
> http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100&expandFolder=8100&folderID=8100
> <http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100&expandFolder=8100&folderID=8100>
> 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,
> -Matt
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-08 14:59:09 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.