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

Re: Can the Apache front end and svnserve service run on the same server?

From: Thorsten Schöning <tschoening_at_am-soft.de>
Date: Wed, 5 Aug 2015 21:34:35 +0200

Guten Tag Stefan Sperling,
am Mittwoch, 5. August 2015 um 14:58 schrieben Sie:

> http://svnbook.red-bean.com/nightly/en/svn.serverconfig.multimethod.html

I have a similar task to do and while your link describes what do to
around file permissions, I wonder how to deal with authentication and
authorization: Each of my repos has it's own passwd and authz file and
I would like to know if it's possible to use those per repo-configs in
httpd?

For the authentication part I guess it might be possible using
mod_perls PerlAuthenHandler[1]. This looks like I could parse passwd
per repo on my own using the repo name from the URL and knowing the
paths to the repos.

But what about "AuthzSVNAccessFile"? It seems like this configuration
only accepts one simple path to one single file and there's no per
repo logic available. I wouldn't want to merge all my authz files to
one big one for maintenance reasons and such. Is there any way to hook
into processing of AuthzSVNAccessFile and to dynamically provide the
needed data or build the path to the file using some placeholders,
where one placeholder is the name of the repo or such?

There's PerlAuthzHandler[2] for mod_perl again, but I wouldn't want to
reimplement the processing logic of authz files itself, just would
like to have more influence which path to choose on each request.

[1] https://perl.apache.org/docs/2.0/user/handlers/http.html#PerlAuthenHandler
[2] https://perl.apache.org/docs/2.0/user/handlers/http.html#PerlAuthzHandler

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail: Thorsten.Schoening_at_AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04
AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Received on 2015-08-05 21:34:53 CEST

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.