This is great!  I wish it served a page at the root that listed all hosted 
repositories.  Would it be a security problem to do that?

RW

Ron Wilson, Engineering Project Lead
(o) 434.455.6453, (m) 434.851.1612, www.harris.com

HARRIS CORPORATION   |   RF Communications Division     
assuredcommunications(tm)


> -----Original Message-----
> From: [email protected] [mailto:fossil-users-
> [email protected]] On Behalf Of D. Richard Hipp
> Sent: Sunday, January 31, 2010 3:36 PM
> To: [email protected]
> Subject: Re: [fossil-users] Repository-dependant cookies
> 
> 
> 
> 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
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to