Re: [viewvc-users] .htaccess

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <4BD0981B.1080008__43960.7807704762$1271961637$gmane$org@collab.net>
[email protected] wrote:
> Hi
> We are running viewvcs 0.9.2 on apache and I'm trying to limit access to
> specific directories via .htaccess files.  Can this work?  I have verified
> a none cvs directory with .htaccess and it works, so I am pretty confident
> in the base setup.  But, it allows access to all and doesn't prompt for a
> password when I go through viewcvs.  Any ideas?

ViewCVS won't honor .htaccess file scattered across a CVS repository.
.htaccess files are for Apache's directory traversal needs, and ViewVC (as
it's now called) virtualizes all that directory stuff via its version
control libraries.

ViewCVS 0.9.2 is *ancient* (8+ years ago) by software standards.  I'd
suggest upgrading to something much, much newer (like, say, the latest
release).  You still won't find support for .htaccess restrictions of
individual directories, but ViewVC 1.1 adds support for configurable
path-based authorization via other mechanism (some built-in, but with the
option for a Python programmer to write their own if required).

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2592813

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkvQmBsACgkQokEGqRcG/W5tVACgrSGussORxfMK3Ae7UO9D5QLR
YIcAoMGWV1QT/7QHbCquqEWR4A02dzPk
=XTWA
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.