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

Re: Access Control and ViewCVS

From: Benjamin Zeiss <bnz_at_zeiss.net>
Date: 2004-05-22 12:57:08 CEST

hi anthony,

--On Friday, May 21, 2004 03:16:47 PM -0500 Anthony Glover
<gloverae@elmco.com> wrote:

> I just got ViewCVS installed and was browsing my repository when I
> noticed that my access controls that I had set up for Apache are being
> ignored. I guess this makes sense since I am not using the Location

well, as already said, viewcvs doesn't support access control itself. but
you can still use apache for this (at least if you have full control over
your apache configuration). my setup looks something like this:

ScriptAlias /viewcvs /somepath/viewcvs-1.0-dev/www/cgi/viewcvs.cgi

<Location /viewcvs>
    SVNPath /somepath/svn/repos

    AuthType Basic
    AuthName "Subversion repository"
    AuthUserFile /somepath/dav_svn.passwd
    AuthzSVNAccessFile /somepath/dav_acl

    Satisfy Any
    Require valid-user

you just have to make sure, that you don't enable any features in viewcvs
which don't follow the directory structure such as the download tarball

by the way: there seems to be happening something concerning the access
control stuff in trac (<http://www.edgewall.com/products/trac/>) for the
next release according to corresponding ticket. this might become a good
alternative once it is implemented.

Benjamin Zeiss
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat May 22 12:57:54 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.