RE: [viewvc-users] Re: Authentication
"Parekh, Birju" <[email protected]> Mon, 30 Apr 2012 11:10:49 -0500
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks a lot. Now I am able to authenticate. I am in a test phase. Is there a way to authenticate towards LDAP instead of local authentication. I am a newbie and would really appreciate your help. OS: Fedora 16 Apache 2 Thanks Birju Parekh Network & Voice Engineer Northwestern Medical Faculty Foundation 680 N Lake Shore Driver Suite 1118 Chicago, IL 60611 Phone (312) 695 4775 Email: [email protected] -----Original Message----- From: C. Michael Pilato [mailto:[email protected]] Sent: Monday, April 30, 2012 10:54 AM To: Parekh, Birju Cc: [email protected] Subject: Re: [viewvc-users] Re: Authentication 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=2956352 To unsubscribe from this discussion, e-mail: [[email protected]].