diff options
author | Pascal Turbing <pascal@turbing.de> | 2009-12-07 12:20:28 +0100 |
---|---|---|
committer | Pascal Turbing <pascal@turbing.de> | 2009-12-07 12:20:28 +0100 |
commit | f422a8c24c8bb0803ab0aa1562ebce61917e3682 (patch) | |
tree | cc01a63595cc09951e5142855d0203b4e2dbac81 | |
parent | 6ff2c622be217ba12893dddde1a3a185c9f1dab4 (diff) |
Added lighty config to README
-rw-r--r-- | README | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |