On Wed, May 29, 2013 at 5:22 AM, MIURA Masahiro <[email protected]>wrote:

> On Wed, May 29, 2013 at 6:11 PM, Nigel Bray <[email protected]> wrote:
> > I am struggling to see what is tripping me up when a single repository
> works
> > fine, but multiple repositories within a directory fails as follows:
> > https://mail.google.com/mail/ca/u/0/#inbox
> >
> > $ cat repo.cgi
> > #!/home/sites/my.domain/bin/fossil
> > repository: /home/sites/my.domain/repos
>
> See the section "Serving multiple repositories with one script" in
> http://www.fossil-scm.org/xfer/doc/trunk/www/server.wiki
>
> In short, you need something like:
>
> #!/home/sites/my.domain/bin/fossil
> directory: /home/sites/my.domain/repos
> notfound: http://url.to/your/favorite/404page.html
>


I think Miura is correct.  But just to clarify - the key change is to
replace "repository:" with "directory:".  The "notfound:" line is useful,
but not required, iirc.

-- 
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to