[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: Matt Valerio <matt.valerio_at_gmail.com>
Date: Sat, 8 Mar 2008 22:28:01 -0500

Thanks for replying, Lieven,

I'd installed the EXE file at first and ran into the problems.
(svn-1.4.6-setup.exe)
I copied the .so files over to my Apache modules directory.

Then I downloaded the zip file you speak of, and extracted only the .so
files to my Apache modules directory.

So, I assume that I should completely uninstall the Subversion
1.4.6installer and then set everything up using the contents of the
zip file?
(That is, the contents of the zip file and the exe are completely
different?)

Thanks,
-Matt

On Sat, Mar 8, 2008 at 8:59 AM, Lieven Govaerts <svnlgo_at_mobsol.be> wrote:

> 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
> >
> >
> >
>
>
Received on 2008-03-09 04:28:40 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.