RE: [viewvc-users] root_parents
Jon Foster <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Tim Johnson wrote:
> Now to authentication. Currently it only shows the 4 repos that
> have world read access, whereas I would like to have it
> authenticate and then allow individual users access to their files.
> I set authzfile = /var/opt/subversion/auth/svnaccessfile , and
> authorizer = svnauthz, but don't get any prompts to authenticate.
I assume you're using Apache and that ViewVC is being served as a CGI
script?
You need to set up Apache to do HTTP authentication. Apache will then
pass the username to ViewVC, and ViewVC will use that username to do
authz. ViewVC doesn't do the prompting for passwords itself.
In my Apache config file I have something like this:
ScriptAlias /viewvc /some/path/viewvc.cgi
<Location /viewvc>
AuthType Basic
AuthName "ViewVC"
AuthBasicProvider file
AuthUserFile /some/path/apache_passwords
Require valid-user
</Location>
Kind regards,
Jon
--
Please direct all replies to the mailing list
**********************************************************************
This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Cabot Communications Ltd.
If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone.
Cabot Communications Limited
Verona House, Filwood Road, Bristol BS16 3RY, UK
+44 (0) 1179584232
Co. Registered in England number 02817269
Please contact the sender if you believe you have received this email in error.
**********************************************************************
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2616821
To unsubscribe from this discussion, e-mail: [[email protected]].