subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Schöning <tschoen...@am-soft.de>
Subject Re: Can the Apache front end and svnserve service run on the same server?
Date Wed, 05 Aug 2015 19:34:35 GMT
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@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


Mime
View raw message