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

Re: SVNListParentPath and AuthzSVNAccessFile

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 25 Jun 2008 11:08:07 +0200

Please ask your questions on the users mailing list. Do not send your
mails directly to me.

Bob Kuo wrote:
> Stefan
>
> I read through a post on the tortoise svn mailing list (at
> _http://svn.haxx.se/tsvnusers/archive-2006-01/0295.shtml_) where you
> described why SVNParentPath and AuthzSVNAccessFile and SVNListParentPath
> on need apache configuration. You said because the folder “isn’t
> controlled by mod_authz_svn” and that “you have to give read access in
> your apache conf file for that location to all your users too.” I was
> wondering if you could show me some sample code that would do that or
> point me in the right direction. Below is the relevant parts of the
> httpd.conf:
>
> LoadModule dav_svn_module modules/mod_dav_svn.so
> LoadModule authz_svn_module modules/mod_authz_svn.so
> <Directory "D:/svn">
> AllowOverride None
> Order allow,deny
> Allow from all
> Options +Indexes
> </Directory>

Remove that <Directory> section.

> <Location /svn>
> # how to authenticate a user
> AuthType Basic
> AuthName "Subversion repository"
> AuthUserFile D:/svn/passwords
>
> # only authenticated users may access the repository
> Require valid-user
>
> DAV svn
> # any "/svn/foo" URL will map to a repository /usr/local/svn/foo
> SVNParentPath D:/svn/
> # display all projects
> SVNListParentPath on # doesn't currently work with the authorization
> scheme we have setup
>
> # our access control policy
> AuthzSVNAccessFile D:/svn/authz
> # For beautification purposes
> SVNIndexXSLT "/xslt/svnindex.xsl"
> </Location>

> # Disallow browsing of Subversion working copy
> # administrative directories.
> <DirectoryMatch "^/.*/\.svn/">
> Order deny,allow
> Deny from all
> </DirectoryMatch>
> CustomLog logs/svn_logfile "%t %u %{SVN-ACTION}e" env=SVN-ACTION
>
> I appreciate any help or pointers you can give.

http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-serversetup.html#tsvn-serversetup-apache

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-06-25 11:08:27 CEST

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