aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Turbing <pascal@turbing.de>2009-12-07 12:20:28 +0100
committerPascal Turbing <pascal@turbing.de>2009-12-07 12:20:28 +0100
commitf422a8c24c8bb0803ab0aa1562ebce61917e3682 (patch)
treecc01a63595cc09951e5142855d0203b4e2dbac81
parent6ff2c622be217ba12893dddde1a3a185c9f1dab4 (diff)
Added lighty config to README
-rw-r--r--README11
1 files changed, 10 insertions, 1 deletions
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