Re: [viewvc-users] Re: Authentication
"C. Michael Pilato" <[email protected]> Mon, 30 Apr 2012 11:53:58 -0400
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
On 04/30/2012 09:19 AM, Parekh, Birju wrote:
> Hi,
>
> I am setting up Rancid on Fedora. I am using ViewVC and CVS for the webview.
> Is there a way to authenticate the viewvc page. I donot want to use LDAP
> just something generic where it prompts for username and password. If these
> is possible can you send me instructions on how to do these.
Check out this information regarding authentication and access control under
Apache:
http://httpd.apache.org/docs/2.0/howto/auth.html
The simplest Apache configuration generally looks something like this for,
say, a ViewVC instance that's exposed at http://myserver.com/apps/viewvc:
<Location /apps/viewvc>
AuthType Basic
AuthName "Rancid Users"
AuthUserFile /path/to/htpasswd-file
Require valid-user
</LocationMatch>
And then you have the file which contains the usernames and passwords
against which your users authenticate, located at the path indicated by the
AuthUserFile directive, and created/managed by the 'htpasswd' program
provided with the Apache HTTP Server distribution.
--
C. Michael Pilato <[email protected]>
CollabNet <> www.collab.net <> Enterprise Cloud Development
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2956346
To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk+etZYACgkQokEGqRcG/W5ofwCbBpJCBk2Qer+Rv9cv/B4ZwL2t 92kAn1kaPqxp4gKl1cGGGtiqWud2dbK9 =psCz -----END PGP SIGNATURE-----