Jun 112009
 

I’m trying to study Django more, this needs to get rid of the limitation of running test locally.

I was doing port forwarding and then I thought, “anyway I will try deployment later on, why not just start the trial from now?”

So, I started looking around, of course first thing came to mind is mod_python with apache httpd, but my Ubuntu has lighttpd running already (I have no idea when and why I deployed it), and then I thought, “yea, apache httpd is way too heavy, let me try lighttpd”.

It turned out lighttpd is not perfect in administration though it may get me some performance gain. I have to launch fastcgi by myself, and in a real production environment it means I need to write some monitoring (parent) process to make sure the fastcgi server is running for all the time.

Anyway I make django running on lighttpd, there are some URL mess and I still haven’t figured everything out, it seems django+lighttpd prefer application-per-domain instead of application-per-URI, I will check more to see if it is the case or not.

Sorry, the comment form is closed at this time.