On Sun, Feb 19, 2012 at 2:00 PM, ST <[email protected]> wrote: > thank you very much! > Is there any Debian(testing) package that contains althttpd? >
Not that I know of. To install althttpd, you download the single file of source code (all 1488 lines of it) using the "Download" link on the page I referenced in the previous email<http://www.sqlite.org/docsrc/artifact/14c9965da19e?ln>and do this: gcc -Os -o /usr/bin/althttpd althttpd.c The instruction manual for althttpd is here: http://www.sqlite.org/docsrc/artifact/14c9965da19e?ln=17-62 > > ST > > On Sun, 2012-02-19 at 12:33 -0500, Richard Hipp wrote: > > > > > > On Sun, Feb 19, 2012 at 9:52 AM, ST <[email protected]> wrote: > > Hi, > > > > could somebody, please, send me an example of configuration of > > xinetd + > > stunnel + fossil? On the website I found only inetd... > > > > The https://www.fossil-scm.org/ website is implemented using stunnel + > > althttpd + fossil-as-CGI. Actually, this same website also handles > > https://www.sqlite.org/ and several other sites, all of which are > > contained in a single UCC cert. Everything runs on a single VM - a > > Linode 1024 > > > > Note that xinetd does not come into play for https traffic. Stunnel > > takes the place of xinetd, listening for incoming connections and > > launching processes to deal with each one. Stunnel launches althttpd. > > Then althttpd launches fossil using CGI. > > > > The stunnel setup file is: > > > > cert = /etc/stunnel/sqlite.org.crt > > CAfile = /etc/stunnel/sqlite.org.crt > > key = /etc/ssl/certs/stunnel.pem > > > > ; Protocol version (all, SSLv2, SSLv3, TLSv1) > > sslVersion = SSLv3 > > > > pid = /var/run/stunnel4.pid > > > > ; Some performance tunings > > socket = l:TCP_NODELAY=1 > > socket = r:TCP_NODELAY=1 > > > > ; Some debugging stuff useful for troubleshooting > > ;debug = 7 > > ;output = /var/log/stunnel4/stunnel.log > > > > [https] > > accept = 443 > > TIMEOUTclose = 0 > > exec = /usr/bin/althttpd > > execargs = /usr/bin/althttpd -logfile /logs/http.log -root /home/www > > -user www-data -https 1 > > > > > > > > > > thank you in advance, > > ST > > > > _______________________________________________ > > fossil-users mailing list > > [email protected] > > > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > > > > > > > -- > > D. Richard Hipp > > [email protected] > > _______________________________________________ > > fossil-users mailing list > > [email protected] > > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > > _______________________________________________ > fossil-users mailing list > [email protected] > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > -- D. Richard Hipp [email protected]
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

