You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Matt Valerio <ma...@gmail.com> on 2008/03/07 14:50:24 UTC

AuthSVNAccessFile with SVN 1.4.6 on Apache 2.2.8 on Windows

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,
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
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

Re: AuthSVNAccessFile with SVN 1.4.6 on Apache 2.2.8 on Windows

Posted by Matt Valerio <ma...@gmail.com>.
Hmmm, interesting.

I tried both the installer and the zip file and both of them didn't work.

2 or more with the same problem constitutes a bug, no?



On Mon, Mar 17, 2008 at 5:48 PM, Gorion <ni...@gmail.com> wrote:

>
> I too have the same problem as mattman206. Using apache 2.2.8.0 with the
> latest subversion. Also when i comment that line, everything goes without
> any error's, with the line uncommented, it crashes..
>
>
>
> mattman206 wrote:
> >
> > 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 <sv...@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
> >> >
> >> >
> >> >
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/AuthSVNAccessFile-with-SVN-1.4.6-on-Apache-2.2.8-on-Windows-tp15898271p16104774.html
> Sent from the Subversion Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

Re: AuthSVNAccessFile with SVN 1.4.6 on Apache 2.2.8 on Windows

Posted by Gorion <ni...@gmail.com>.
I too have the same problem as mattman206. Using apache 2.2.8.0 with the
latest subversion. Also when i comment that line, everything goes without
any error's, with the line uncommented, it crashes..



mattman206 wrote:
> 
> 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 <sv...@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
>> >
>> >
>> >
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/AuthSVNAccessFile-with-SVN-1.4.6-on-Apache-2.2.8-on-Windows-tp15898271p16104774.html
Sent from the Subversion Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: AuthSVNAccessFile with SVN 1.4.6 on Apache 2.2.8 on Windows

Posted by Matt Valerio <ma...@gmail.com>.
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 <sv...@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
> >
> >
> >
>
>

Re: AuthSVNAccessFile with SVN 1.4.6 on Apache 2.2.8 on Windows

Posted by Lieven Govaerts <sv...@mobsol.be>.
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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org