On Jan 30, 2010, at 10:21 PM, D. Richard Hipp wrote: > > Perhaps the syntax should be: > > fossil server --directory FOLDER_HOLDING_REPOSITORIES > > In that case, fossil is able to serve any fossil repository in the > named directory. The particular repository chosen by the path in the > URL. With this syntax, new repositories can be added to the site > without having to restart the server - simply move files into the > appropriate folder. We still have the problem of what to do with an > unknown path.
The implementation of this is in the latest check-in: http://www.fossil-scm.org/fossil/vinfo/9cd2c42e79 There is no --directory option. Instead, just specify a directory name as the repository and Fossil will automatically use repositories within that directory, based on the first element of the pathname. For example: Folder xyz contains abc.fossil, def.fossil, and ghi.fossil. fossil server xyz -port 80 Then you can view any of the three projects using URLs: http://localhost/abc http://localhost/def http://localhost/ghi Note that repository names must in with ".fossil". And the basenames of the repositories (the part before the ".fossil") may only contain alphanumeric characters, "-" and "_"; no spaces or other special characters are allows. I tested the new functionality on linux and winXP. This feature currently only works for "server" and "http" commands. It does not work for "ui" or "cgi". Please advice if you find any problems. D. Richard Hipp [email protected] _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

