{"id":457,"date":"2009-06-11T22:57:33","date_gmt":"2009-06-12T05:57:33","guid":{"rendered":"http:\/\/xiehang.com\/blog\/?p=457"},"modified":"2009-06-11T22:57:33","modified_gmt":"2009-06-12T05:57:33","slug":"django-lighttpd","status":"publish","type":"post","link":"https:\/\/xiehang.com\/blog\/2009\/06\/11\/django-lighttpd\/","title":{"rendered":"django, lighttpd, …"},"content":{"rendered":"

I’m trying to study Django more, this needs to get rid of the limitation of running test locally.<\/p>\n

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

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”.<\/p>\n

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.<\/p>\n

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.<\/p>\n","protected":false},"excerpt":{"rendered":"

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 […]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[66,68,27],"_links":{"self":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/457"}],"collection":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/comments?post=457"}],"version-history":[{"count":1,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/457\/revisions"}],"predecessor-version":[{"id":458,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/posts\/457\/revisions\/458"}],"wp:attachment":[{"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/media?parent=457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/categories?post=457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xiehang.com\/blog\/wp-json\/wp\/v2\/tags?post=457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}