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

Apache config using mod_authz_svn for non-svn location (Trac)

From: Felix Collins <felix_at_keyghost.com>
Date: 2006-02-27 23:49:42 CET

Hi, I am trying to restrict access to some other locations in my Apache config.
 It happens that I am running Trac and that the locations of the Trac projects
are (not surprisingly) identical to the svn projects. eg.

SVN project: myserver/repos/myproject
Trac project: myserver/trac/myproject

Trac already provides a way to restrict the built in source browsing (via Trac)
based on the svnauth file. However there is no way to restrict access to the
other parts of the Trac project based on the svn access.

What I want is to only allow people to acccess the Trac projects that match the
SVN projects to which they have access. This sort of project wide access
control is not done by Trac as it is considered to be the responsibility of the
web server.

What I'm wondering is could I use mod_authz_svn in my Trac location to limit
access? Does anyone know how mod_authz_* modules work? Could I simply put a
AuthzSVNAccessFile "C:/svnaccessfile.txt"
directive in my other location?

Thanks for any pointers on this or other ideas. I would hate to have to put the
access restrictions in the conf file.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 28 00:06:05 2006

This is an archived mail posted to the Subversion Users mailing list.