Artifact d8248d640fbc5f0e5df41a0119d691b7bf1897c8:
Wiki page
[
Hosting Fossil Mirrors] by
hypnotoad
2014-03-31 20:46:33.
0000: 44 20 32 30 31 34 2d 30 33 2d 33 31 54 32 30 3a D 2014-03-31T20:
0010: 34 36 3a 33 33 2e 36 31 39 0a 4c 20 48 6f 73 74 46:33.619.L Host
0020: 69 6e 67 5c 73 46 6f 73 73 69 6c 5c 73 4d 69 72 ing\sFossil\sMir
0030: 72 6f 72 73 0a 50 20 64 33 33 33 32 31 65 30 62 rors.P d33321e0b
0040: 31 61 37 35 30 36 38 33 65 62 39 38 63 39 62 64 1a750683eb98c9bd
0050: 36 61 37 66 61 36 61 61 32 63 66 66 36 30 31 0a 6a7fa6aa2cff601.
0060: 55 20 68 79 70 6e 6f 74 6f 61 64 0a 57 20 31 30 U hypnotoad.W 10
0070: 35 33 0a 44 75 72 69 6e 67 20 74 68 65 20 63 6f 53.During the co
0080: 75 72 73 65 20 6f 66 20 74 68 69 73 20 70 72 6f urse of this pro
0090: 6a 65 63 74 2c 20 49 27 76 65 20 68 61 64 20 74 ject, I've had t
00a0: 6f 20 67 65 74 20 76 65 72 79 20 67 6f 6f 64 20 o get very good
00b0: 61 74 20 68 6f 73 74 69 6e 67 20 66 6f 73 73 69 at hosting fossi
00c0: 6c 20 72 65 70 6f 73 69 74 6f 72 69 65 73 2e 0d l repositories..
00d0: 0a 3c 70 3e 0d 0a 4d 79 20 63 75 72 72 65 6e 74 .<p>..My current
00e0: 20 73 65 74 75 70 20 69 73 20 62 75 69 6c 74 20 setup is built
00f0: 61 72 6f 75 6e 64 20 3c 61 20 68 72 65 66 3d 22 around <a href="
0100: 68 74 74 70 3a 2f 2f 77 77 77 2e 20 6c 69 67 68 http://www. ligh
0110: 74 74 70 64 2e 6e 65 74 22 3e 6c 69 67 68 74 74 ttpd.net">lightt
0120: 70 64 3c 2f 61 3e 20 72 75 6e 6e 69 6e 67 20 75 pd</a> running u
0130: 6e 64 65 72 20 44 65 62 69 61 6e 20 28 6f 72 20 nder Debian (or
0140: 55 62 75 6e 74 75 2e 29 0d 0a 3c 70 3e 0d 0a 49 Ubuntu.)..<p>..I
0150: 6e 73 74 61 6c 6c 69 6e 67 20 6c 69 67 68 74 74 nstalling lightt
0160: 70 64 20 69 73 20 65 61 73 79 3a 3c 70 3e 0d 0a pd is easy:<p>..
0170: 3c 63 6f 64 65 3e 0d 0a 61 70 74 2d 67 65 74 20 <code>..apt-get
0180: 6c 69 67 68 74 74 70 64 0d 0a 3c 2f 63 6f 64 65 lighttpd..</code
0190: 3e 0d 0a 3c 70 3e 0d 0a 54 68 65 20 74 72 69 63 >..<p>..The tric
01a0: 6b 79 20 70 61 72 74 20 69 73 20 67 65 6e 65 72 ky part is gener
01b0: 61 74 69 6e 67 20 61 20 63 75 73 74 6f 6d 20 55 ating a custom U
01c0: 52 4c 20 61 6e 64 20 43 47 49 20 68 61 6e 64 6c RL and CGI handl
01d0: 65 72 20 66 6f 72 20 65 61 63 68 20 70 72 6f 6a er for each proj
01e0: 65 63 74 2e 20 57 68 69 63 68 2c 20 6f 77 69 6e ect. Which, owin
01f0: 67 20 74 6f 20 74 68 65 20 65 78 74 65 6e 73 69 g to the extensi
0200: 62 6c 65 20 6e 61 74 75 72 65 20 6f 66 20 6c 69 ble nature of li
0210: 67 68 74 74 70 64 2c 20 69 73 20 6e 6f 74 20 72 ghttpd, is not r
0220: 65 61 6c 6c 79 20 74 68 61 74 20 74 72 69 63 6b eally that trick
0230: 79 2e 20 6c 69 67 68 74 74 70 64 20 61 6c 6c 6f y. lighttpd allo
0240: 77 73 20 79 6f 75 20 74 6f 20 66 61 72 6d 20 6f ws you to farm o
0250: 75 74 20 73 77 61 74 68 73 20 6f 66 20 79 6f 75 ut swaths of you
0260: 72 20 77 65 62 73 65 72 76 65 72 27 73 20 63 6f r webserver's co
0270: 6e 66 69 67 75 72 61 74 69 6f 6e 20 74 6f 20 73 nfiguration to s
0280: 63 72 69 70 74 73 2e 20 54 68 65 20 74 77 69 73 cripts. The twis
0290: 74 20 69 73 20 74 68 61 74 20 79 6f 75 72 20 73 t is that your s
02a0: 63 72 69 70 74 20 6e 65 65 64 73 20 74 6f 20 6f cript needs to o
02b0: 75 74 70 75 74 20 74 68 65 20 63 6f 6e 66 69 67 utput the config
02c0: 75 72 61 74 69 6f 6e 20 79 6f 75 20 64 65 73 69 uration you desi
02d0: 72 65 20 74 6f 20 73 74 64 6f 75 74 20 28 6d 75 re to stdout (mu
02e0: 63 68 20 74 68 65 20 73 61 6d 65 20 77 61 79 20 ch the same way
02f0: 61 73 20 79 6f 75 20 77 6f 75 6c 64 20 74 6f 20 as you would to
0300: 67 65 6e 65 72 61 74 65 20 43 47 49 2e 29 0d 0a generate CGI.)..
0310: 3c 70 3e 0d 0a 54 68 65 20 63 6f 64 65 20 69 73 <p>..The code is
0320: 20 70 6f 73 74 65 64 20 6f 6e 20 74 68 69 73 20 posted on this
0330: 73 69 74 65 20 74 6f 20 3c 61 20 68 72 65 66 3d site to <a href=
0340: 22 2f 66 6f 73 73 69 6c 2f 6f 64 69 65 2f 64 69 "/fossil/odie/di
0350: 72 3f 6e 61 6d 65 3d 64 6f 63 2f 68 6f 73 74 69 r?name=doc/hosti
0360: 6e 67 22 3e 68 65 72 65 3c 2f 61 3e 2e 0d 0a 3c ng">here</a>...<
0370: 70 3e 0d 0a 54 68 65 20 6d 61 69 6e 20 66 69 6c p>..The main fil
0380: 65 73 20 74 68 61 74 20 61 72 65 20 69 6e 74 65 es that are inte
0390: 72 65 73 74 69 6e 67 20 61 72 65 3a 0d 0a 3c 6f resting are:..<o
03a0: 6c 3e 0d 0a 3c 6c 69 3e 3c 61 20 68 72 65 66 3d l>..<li><a href=
03b0: 22 2f 66 6f 73 73 69 6c 2f 6f 64 69 65 2f 64 6f "/fossil/odie/do
03c0: 63 2f 74 72 75 6e 6b 2f 64 6f 63 2f 68 6f 73 74 c/trunk/doc/host
03d0: 69 6e 67 2f 65 74 63 2f 6c 69 67 68 74 74 70 64 ing/etc/lighttpd
03e0: 2f 6c 69 67 68 74 74 70 64 2e 63 6f 6e 66 22 3e /lighttpd.conf">
03f0: 64 6f 63 2f 68 6f 73 74 69 6e 67 2f 65 74 63 2f doc/hosting/etc/
0400: 6c 69 67 68 74 74 70 64 2f 6c 69 67 68 74 74 70 lighttpd/lighttp
0410: 64 2e 63 6f 6e 66 3c 2f 61 3e 2e 0d 0a 3c 6c 69 d.conf</a>...<li
0420: 3e 3c 61 20 68 72 65 66 3d 22 2f 66 6f 73 73 69 ><a href="/fossi
0430: 6c 2f 6f 64 69 65 2f 64 6f 63 2f 74 72 75 6e 6b l/odie/doc/trunk
0440: 2f 64 6f 63 2f 68 6f 73 74 69 6e 67 2f 65 74 63 /doc/hosting/etc
0450: 2f 6c 69 67 68 74 74 70 64 2f 66 6f 73 73 69 6c /lighttpd/fossil
0460: 2e 74 63 6c 22 3e 64 6f 63 2f 68 6f 73 74 69 6e .tcl">doc/hostin
0470: 67 2f 65 74 63 2f 6c 69 67 68 74 74 70 64 2f 66 g/etc/lighttpd/f
0480: 6f 73 73 69 6c 2e 74 63 6c 3c 2f 61 3e 2e 0d 0a ossil.tcl</a>...
0490: 0a 5a 20 64 36 66 36 33 35 35 31 38 30 64 65 36 .Z d6f6355180de6
04a0: 64 33 39 34 33 38 39 32 38 34 61 39 33 37 63 39 d394389284a937c9
04b0: 31 33 30 0a 130.