Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Subversion Wiki" for 
change notification.

The "InRepoAuthz" page has been changed by BenReser:
http://wiki.apache.org/subversion/InRepoAuthz?action=diff&rev1=2&rev2=3

Comment:
Oops somehow I totally missed the existence of AuthzSVNReposRelativeAccessFile

  
  === SVNParentPath Operation ===
  
- mod_authz_svn isn't aware of SVNParentPath, currently you must use one authz 
file and set the repository flag on the rules.  However, svnserve unless 
otherwise configured with the --config-file option at startup looks for a 
svnserve.conf in each repo and then uses the authz-db value in each config file 
to find the authz file, allowing svnserve -d to use a different authz file for 
each repo.  
+ mod_auth_svn uses two different configuration options with different roots.  
AuthzSVNAccessFile which is relative to the ServerRoot and 
AuthzSVNReposRelativeAccessFile which is relative to the conf directory of the 
repos being accessed, in order to allow different Authz files for different 
repos with SVNParentPath.
  
+ Both of these commands should take the two new formats.  Neither of the two 
new formats (`file://` or `^/`) care about the root for relative file paths.  
There is a small amount of extra overhead for AuthzSVNReposRelativeAccessFile 
in finding the conf dir of the repo, but we can shortcut it when we see 
`file://` or `^/` values.
- The expansion of the format to support the `^/` format would allow 
mod_authz_svn to access a different authz file per repo, but only in the case 
that you were storing the authz file in the repository.
- 
- It is beyond the scope of this change to resolve the general problem with 
mod_authz_svn not being able to access a different authz file per repo when 
stored outside of the repo.
  
  === svnserve --config-file Operation ===
  

Reply via email to