Open Design and Integration Environment

Update of "Hosting Fossil Mirrors"
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2018 Conference, Houston/TX, US, Oct 15-19
Send your abstracts to tclconference@googlegroups.com or submit via the online form
by Aug 20.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: d8248d640fbc5f0e5df41a0119d691b7bf1897c8
Page Name:Hosting Fossil Mirrors
Date: 2014-03-31 20:46:33
Original User: hypnotoad
Parent: d33321e0b1a750683eb98c9bd6a7fa6aa2cff601
Content

During the course of this project, I've had to get very good at hosting fossil repositories.

My current setup is built around lighttpd running under Debian (or Ubuntu.)

Installing lighttpd is easy:

apt-get lighttpd

The tricky part is generating a custom URL and CGI handler for each project. Which, owing to the extensible nature of lighttpd, is not really that tricky. lighttpd allows you to farm out swaths of your webserver's configuration to scripts. The twist is that your script needs to output the configuration you desire to stdout (much the same way as you would to generate CGI.)

The code is posted on this site to here.

The main files that are interesting are:

  1. doc/hosting/etc/lighttpd/lighttpd.conf.
  2. doc/hosting/etc/lighttpd/fossil.tcl.