[viewvc-users] how can I "skip" the repository listing
Sam Watson <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <i2m4e7a41861004201319g6f556145nd59da92aac5acf0d__34274.0871631124$1271797525$gmane$org@mail.gmail.com> |
Hi, I have a separate viewvc instance for each repository on our server (because each one needs its own ACL, managed by basic basic auth. I have a separate ScriptAlias for each repos, with a common prefix, that all point to the same viewvc.cgi, which I hacked to figure out the repos to show based on the REQUEST_URI. So, I have: ScriptAlias /viewvc/repos_a /path/to/viewvc.cgi ScriptAlias /viewvc/repos_b /path/to/viewvc.cgi ScriptAlias /viewvc/repos_c /path/to/viewvc.cgi ScriptAlias /viewvc /path/to/viewvc-wrapper.cgi viewvc-wrapper.cgi shows my own listing of all repositories and provides links to each, in th form /viewvc/repos_name. So far so good. But when I go to /viewvc/repos_a, I'm shown a repository listing, and obviously the only repos to show is repos_a. So to actually view the repository root, it's /viewvc/repos_a/repos_a. This is clunky. Is there an easy way to disable the repository listing? i can gaurantee that there is always going to be only one repository listed in svn_roots (but I also set default_root for safe measure). /SW ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2590777 To unsubscribe from this discussion, e-mail: [[email protected]].