Added lighty config to README

This commit is contained in:
Pascal Turbing 2009-12-07 12:20:28 +01:00
parent 6ff2c622be
commit f422a8c24c
1 changed files with 10 additions and 1 deletions

11
README
View File

@ -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