Archives for posts tagged ‘lighttpd’

Firefox vs. Chrome vs. IE8: multiple connections to one HTTP/SCGI/WSGI app

I am currently evaluating ways to run a persistent Python WSGI Webapp using Apache2 or Lighttpd. The idea is to have a daemon running on it’s own doing all the work, that also has an interface towards the webserver.
So I set up Lighttpd as SCGI client and used flup to wrap a simple WSGI app [...]

Quick way to Lighttpd HTTPS/SSL

Assuming one has a Lighttpd basic setup running on port 80, this is a fast and easy way to using SSL encryption with a self signed certificate. With this configuration modern browsers will complain about the certificate however!

create certificate (loosly following this tutorial)
# cd /etc/lighttpd
# openssl req -new -x509 -keyout server.pem -out server.pem -nodes

enable configuration:
# [...]