[Hcoop-discuss] Update to domtool for SVN authz files

holmesbj at hcoop.net holmesbj at hcoop.net
Wed Mar 8 04:02:47 EST 2006


> Once that's added a full svn <Location> configuration in the domtool way
> could look like the following:
>
> <Location /svn/repos/rm-ext>
>   DavSvn ~/myrepos/rm-ext
>
>   # our access control policy
>   AuthzSVNAccessFile ~/myrepos/conf/authz
>
>   # only authenticated users may access the repository
>   Require valid-user
>
>   # how to authenticate a user
>   BasicAuth ~/myrepos/conf/htauthuser "My Subversion Repository"
> </Location>
>
> If I've got something wrong there let me know.  I pieced it together from
> looking at the domtool source.

I had the full configuration entirely wrong. It would instead look like this:

Location /myrepos
  DavSvn /home/username/myrepos
  BasicAuth /home/username/myrepos/conf/htpasswd MyRespository
  AuthzSVNAccessFile /home/username/myrepos/conf/authz
  Require valid-user
/Location








More information about the HCoop-Discuss mailing list