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

Re: Subversion with Slackware 10

From: Jani Averbach <jaa_at_jaa.iki.fi>
Date: 2005-02-07 19:10:28 CET

On 2005-02-07 11:51-0600, Andrew Bolander wrote:
> Can no one shed any light on this issue? I really am at a loss on this
> one. I tried compiling Subversion from scratch and had the same problems.
>
> Andrew Bolander wrote:
> >Hey guys,
> >
> >I am trying to setup a Subversion repository on my slack 10 box. I have
> >upgraded to apache 2.0.52 using the package at linuxpackages.org. I have
> >installed the Subversion 1.1.3 package from there as well.
> >
> >I can create the repository, and access it locally just fine. I added
> >this to my httpd.conf:
> >
> >---------------------------------------------------------------------------------------------------
> >
> >
> >LoadModule dav_svn_module lib/apache2/mod_dav_svn.so
> >LoadModule authz_svn_module lib/apache2/mod_authz_svn.so
> >
> >DavLockDB /var/DavLock
> >
> ><Location /svn>
> >Dav svn
> >SVNPath /var/repository/
> >AuthType Basic
> >AuthName "Subversion Repository"
> >AuthUserFile /etc/apache2/passwd/subversion-access
> >Require valid-user
> ></Location>
> >---------------------------------------------------------------------------------------------------
....
> >I can access my local webpages via apache just fine. I can access
> >regular DAV sites just fine, (I use the Firefox Bookmark Syncronization
> >extension) using DAV On.
> >
> >When I have the authz_svn_module loaded, and try to access one of my
> >normal (non-dav) pages that use Auth Basic authentication, they fail. I
> >just get a blank page. When I don't load authz_svn_module, my pages load
> >fine.

Where have you defined your

  AuthzSVNAccessFile /path/to/config/file

config line?

> >When I try to access my (url)/svn using subversion, Apache segfaults.
> >my doc-root is /var/www/htdocs.
> >Looking at the strace output, it seems like apache is looking for
> >/var/www/htdocs/svn instead of following the Location tag and enabling
> >the DAV handler. Here is the strace output:
> >
...
> >I am hoping that I just forgot to do something in my httpd.conf. I don't
> >understand why, #1, apache is still looking at /var/www/htdocs/svn, #2,
> >it is segfaulting, or #3, why mod_authz_svn would affect auth-basic
> >authentication in any way.

Have you tried to compile Apache HTTPD by yourself? Does it still
segfault? Is the httpd linked against correct libraries?
Have you check what your /server-info says? Does it reveal anything weird?

You could try to start from very basic configuration and add by piece
by piece more functionality and try find where things go goofy.

For example:
- set up the bare server
- add Basic Auth
- add SVN without any auth
- add Basic Auth for SVN
- add mod_authz_svn for SVN
- add any remaining extra functionality

BR, Jani

-- 
Jani Averbach
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 7 19:12:53 2005

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.