Fossil SCM
More details on althttpd in the section of www/ssl.wiki that discusses the stunnel + althttpd + fossil serving option used by fossil-scm.org and sqlite.org.
Commit
9c747e1cf33f715764eca740f66c6e5ecd98b706971c0a4ab87ce5723d625af3
Parent
350c627a5290845…
1 file changed
+13
-6
+13
-6
| --- www/ssl.wiki | ||
| +++ www/ssl.wiki | ||
| @@ -245,17 +245,24 @@ | ||
| 245 | 245 | |
| 246 | 246 | The public SQLite and Fossil web sites can't just use stunnel + Fossil |
| 247 | 247 | because parts of the web site are static, served by |
| 248 | 248 | [https://sqlite.org/docsrc/doc/trunk/misc/althttpd.md|a separate web |
| 249 | 249 | server called <tt>althttpd</tt>], written by the primary author of both |
| 250 | -SQLite and Fossil. It is a lightweight HTTP-only web server. It handles | |
| 251 | -the static HTTP hits on <tt>sqlite.org</tt> and <tt>fossil-scm.org</tt>, | |
| 252 | -delegating HTTPS and dynamic Fossil content hits to stunnel and Fossil. | |
| 250 | +SQLite and Fossil. <tt>althttpd</tt> is a lightweight HTTP-only web | |
| 251 | +server. It handles the static HTTP hits on <tt>sqlite.org</tt> and | |
| 252 | +<tt>fossil-scm.org</tt>, delegating HTTPS hits to stunnel and dynamic | |
| 253 | +content hits to Fossil. | |
| 254 | + | |
| 255 | +(The largest single chunk of static content served directly by | |
| 256 | +<tt>althttpd</tt> rather than via Fossil is the | |
| 257 | +[https://sqlite.org/docs.html | SQLite documentation], which is built | |
| 258 | +[https://sqlite.org/docsrc/ | from source files] and then served | |
| 259 | +statically.) | |
| 253 | 260 | |
| 254 | -The only documentation for althttpd currently is in its header comment. | |
| 255 | -As is typical for drh software, althttpd is a single-file C program, so | |
| 256 | -that at worst, you just have to read its code to understand it. | |
| 261 | +In addition to the documentation linked above, there is a large header | |
| 262 | +comment in the [https://sqlite.org/docsrc/file/misc/althttpd.c|single C | |
| 263 | +file] of <tt>althttpd</tt> which is most helpful. | |
| 257 | 264 | |
| 258 | 265 | |
| 259 | 266 | <h3 id="nginx">nginx</h3> |
| 260 | 267 | |
| 261 | 268 | If your needs are more complex than althttpd can handle or you'd prefer |
| 262 | 269 |
| --- www/ssl.wiki | |
| +++ www/ssl.wiki | |
| @@ -245,17 +245,24 @@ | |
| 245 | |
| 246 | The public SQLite and Fossil web sites can't just use stunnel + Fossil |
| 247 | because parts of the web site are static, served by |
| 248 | [https://sqlite.org/docsrc/doc/trunk/misc/althttpd.md|a separate web |
| 249 | server called <tt>althttpd</tt>], written by the primary author of both |
| 250 | SQLite and Fossil. It is a lightweight HTTP-only web server. It handles |
| 251 | the static HTTP hits on <tt>sqlite.org</tt> and <tt>fossil-scm.org</tt>, |
| 252 | delegating HTTPS and dynamic Fossil content hits to stunnel and Fossil. |
| 253 | |
| 254 | The only documentation for althttpd currently is in its header comment. |
| 255 | As is typical for drh software, althttpd is a single-file C program, so |
| 256 | that at worst, you just have to read its code to understand it. |
| 257 | |
| 258 | |
| 259 | <h3 id="nginx">nginx</h3> |
| 260 | |
| 261 | If your needs are more complex than althttpd can handle or you'd prefer |
| 262 |
| --- www/ssl.wiki | |
| +++ www/ssl.wiki | |
| @@ -245,17 +245,24 @@ | |
| 245 | |
| 246 | The public SQLite and Fossil web sites can't just use stunnel + Fossil |
| 247 | because parts of the web site are static, served by |
| 248 | [https://sqlite.org/docsrc/doc/trunk/misc/althttpd.md|a separate web |
| 249 | server called <tt>althttpd</tt>], written by the primary author of both |
| 250 | SQLite and Fossil. <tt>althttpd</tt> is a lightweight HTTP-only web |
| 251 | server. It handles the static HTTP hits on <tt>sqlite.org</tt> and |
| 252 | <tt>fossil-scm.org</tt>, delegating HTTPS hits to stunnel and dynamic |
| 253 | content hits to Fossil. |
| 254 | |
| 255 | (The largest single chunk of static content served directly by |
| 256 | <tt>althttpd</tt> rather than via Fossil is the |
| 257 | [https://sqlite.org/docs.html | SQLite documentation], which is built |
| 258 | [https://sqlite.org/docsrc/ | from source files] and then served |
| 259 | statically.) |
| 260 | |
| 261 | In addition to the documentation linked above, there is a large header |
| 262 | comment in the [https://sqlite.org/docsrc/file/misc/althttpd.c|single C |
| 263 | file] of <tt>althttpd</tt> which is most helpful. |
| 264 | |
| 265 | |
| 266 | <h3 id="nginx">nginx</h3> |
| 267 | |
| 268 | If your needs are more complex than althttpd can handle or you'd prefer |
| 269 |