On Thu, Nov 10, 2011 at 10:57:37PM +0100, Paolo Bolzoni wrote:

> Today I tried to use althttpd.c as HTTP server for serving few fossil
> scm. But I cannot execute CGI scripts.
[...]
> Now once I start xinetd if I go to 127.0.0.1 with my browser
> the server greets me saying there is no document in / that is fine.
[...]

Is there any reason not to run fossil directly from inetd to serve a
directory with repositories?  Fossil is really self-hosting and does not
need a HTTP server because it's itself a HTTP server.

For instance, I have:

~% grep fossil /etc/inetd.conf           
8080 stream tcp nowait fossil /usr/local/bin/fossil /usr/local/bin/fossil http 
/var/local/lib/fossil/

That /var/local/lib/fossil/ directory contains a set of *.fossil files.
This allows me to use http://that_host:8080/repo/ to acces the
"repo.fossil" repository.  This works for both kinds of access: using
fossil client for pushes/pulls and using a browser for interactive
stuff.

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

Reply via email to