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

Re: POST-commit hook issue - Check in works

From: Matt Parks <mparks_at_empowersis.com>
Date: Mon, 10 Feb 2014 08:17:24 -0500

First entry in /var/svn/avn-auth-conf

apache:$apr1$GaNxd/..$YeQrUtQBHINvbwal/v0Au/

But I will try out the file access right now...

Matt

Matthew C. Parks

*Consultant*

*EMPOWER Student Information System*

ComSpec International, Inc.

30800 Telegraph Rd, Ste 2775

Bingham Farms, MI 48025

PH: 248-647-8841 ext. 307

FX: 248-647-6961

*EMPOWER Student Information System for Higher Education - *
www.empowersis.com <http://www.empower-xl.com/>

*Custom Software Development Services - *www.comspec-intnl.com

On Mon, Feb 10, 2014 at 8:13 AM, Branko Čibej <brane_at_wandisco.com> wrote:

> On 10.02.2014 13:48, Matt Parks wrote:
>
> [...]
>
>
>
> "apache" is the name of the local user on the server that your HTTPd
> process is running as.
>
>
>
> HTTPd Conf contains:
>
> # Load Subversion Apache Modules
> LoadModule dav_svn_module modules/mod_dav_svn.so
> LoadModule authz_svn_module modules/mod_authz_svn.so
>
> <Location /svn/>
> # Enable Subversion
> DAV svn
>
> # Directory containing all repos for this path
> SVNParentPath /var/svn
>
> # List repositories collection
> SVNListParentPath On
>
> # Repository Dispaly Name
> SVNReposName "Subversion Repositories"
>
> # Authorization file
> AuthzSVNAccessFile /var/svn/svn-acl-conf
>
> # authenticate a valid user
> # do basic password authentication in the clear
> AuthType Basic
>
> # The name of the protected area or realm
> AuthName "Subversion Repositories"
>
> # Basic Auth
> AuthUserFile /var/svn/svn-auth-conf
>
> # Require valid-user
> Require valid-user
> </Location>
>
>
>
>
>
> I predict that /var/svn/svn-auth-conf does not mention the "apache" user
> anywhere, so it's not a "valid user" as far as HTTPd is concerned, and so
> fails the Require clause in your configuration.
>
> I'm also wondering why you're checking out via http:// in your
> post-commit hook ... this hook runs on the same server and user as the
> HTTPd process, so presumably it should have file:// access to the
> repository.
>
> -- Brane
>
>
> --
> Branko Čibej | Director of Subversion
> WANdisco // Non-Stop Data
> e. brane_at_wandisco.com
>
Received on 2014-02-10 14:17:59 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.