Re: [viewvc-users] Forbiddenre to hide roots
"C. Michael Pilato" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <4DBB5B8D.7090801__37352.3293914788$1304124313$gmane$org@collab.net> |
On 04/29/2011 12:17 PM, Cuneo, Nicholas wrote: > We are currently setting up ViewVC to see if it meets our requirements for a > repository browser, and so far it looks great! We have it setup to point to > our root directory where all of our repositories are found. Now we wanted > to be able to hide specific repos we don’t want public, and to my > understanding, adding a regular expression to the “forbiddenre” variable was > the way to go. However whenever I add a regular expression to this > variable, not only is it not hidden, but the rest of the repository is > accessible anyway. My regular expression is following the example > ^reponame(/|$) > > Is there something I’m missing? I have also tried clearing my browser > cache, since I thought it was a caching bug to no avail. We are running > ViewVC 1.1.5. > > Thanks, > *Nick Cuneo* Nick, did you also set 'authorizer = forbiddenre' in viewvc.conf? Without this, ViewVC won't consult the forbiddenre authorizer at all. -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Distributed Development On Demand ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2726673 To unsubscribe from this discussion, e-mail: [[email protected]].