Open Design and Integration Environment

Artifact [d8248d640f]
Login
Hosted by Hypnotoad
www.etoyoc.com
Etoyoc Industries on Etsy
Support this project: Buy some merch

Artifact d8248d640fbc5f0e5df41a0119d691b7bf1897c8:

Wiki page [Hosting Fossil Mirrors] by hypnotoad 2014-03-31 20:46:33.
D 2014-03-31T20:46:33.619
L Hosting\sFossil\sMirrors
P d33321e0b1a750683eb98c9bd6a7fa6aa2cff601
U hypnotoad
W 1053
During the course of this project, I've had to get very good at hosting fossil repositories.
<p>
My current setup is built around <a href="http://www. lighttpd.net">lighttpd</a> running under Debian (or Ubuntu.)
<p>
Installing lighttpd is easy:<p>
<code>
apt-get lighttpd
</code>
<p>
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.)
<p>
The code is posted on this site to <a href="/fossil/odie/dir?name=doc/hosting">here</a>.
<p>
The main files that are interesting are:
<ol>
<li><a href="/fossil/odie/doc/trunk/doc/hosting/etc/lighttpd/lighttpd.conf">doc/hosting/etc/lighttpd/lighttpd.conf</a>.
<li><a href="/fossil/odie/doc/trunk/doc/hosting/etc/lighttpd/fossil.tcl">doc/hosting/etc/lighttpd/fossil.tcl</a>.

Z d6f6355180de6d394389284a937c9130