From f422a8c24c8bb0803ab0aa1562ebce61917e3682 Mon Sep 17 00:00:00 2001 From: Pascal Turbing Date: Mon, 7 Dec 2009 12:20:28 +0100 Subject: Added lighty config to README --- README | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README b/README index abee632..de96cc9 100644 --- a/README +++ b/README @@ -48,7 +48,16 @@ To finish the installation, reload Apache with 1.2) Lighttpd ============= -Coming soon... +First you have to enable cgi support for lighttp by running 'lighty-enable-mod cgi' as root. +Now create a new config in /etc/lighttpd/conf-available/ named 50-blogthon.conf or something similar with this content: + +$HTTP["host"] == "YourBlogURL" { + cgi.assign = ( ".cgi" => "/usr/bin/python" ) + index-file.names = ( "blogthon.cgi" ) +} + +Enable this config by runnung 'lighty-enable-mod blogthon' and restart lighttpd with +'/etc/init.d/lighttpd restart' as root. 2) Entries -- cgit v1.2.3