February 4, 2012

Lighttpd 1.5 prerelease doesn't like Django

Whew. I spent quite a bit more time debugging this problem than it really should have taken. Django just wasn’t playing nice with the latest Lighttpd pre-release.

Long story short

Don’t use the prerelease, use the most recent 1.4.x stable. Save yourself hours of cursing and trace-debugging.

Analysis

Lighttpd had the following problems:

  • No request PATH_INFO. Django hates that. I hacked my testing version of Django to get past that, but no luck because.
  • Lighttpd just wouldn’t accept the response. I put in trace logs and found that my app was sending a perfect response, but Lighty just wouldn’t listen to it.

[tags]lighhtpd,django,python[/tags]

Share and Enjoy:
  • services sprite Lighttpd 1.5 prerelease doesn't like Django
  • services sprite Lighttpd 1.5 prerelease doesn't like Django
  • services sprite Lighttpd 1.5 prerelease doesn't like Django
  • services sprite Lighttpd 1.5 prerelease doesn't like Django
  • services sprite Lighttpd 1.5 prerelease doesn't like Django
  • services sprite Lighttpd 1.5 prerelease doesn't like Django
  • services sprite Lighttpd 1.5 prerelease doesn't like Django
  • services sprite Lighttpd 1.5 prerelease doesn't like Django

Related posts:

  1. Lighttpd on Cpanel VPS Working on a new project for a client, I need...
  2. Django and authenticated smtp I just sent off my first patch for Django. It...
  3. Django and multipart emails As part of the Django Storefront system I am writing,...
  4. Django Formatter Mixin Class I've always disliked having to write __repr__ methods for my...
  5. Helpful Django utilities and links Two simple links which have been very helpful in doing...

About Bruce Kroeze

Comments

  1. enildeR says:

    Have you revisited this issue with the latest 1.5?

    I’m about to try, but I was reading this while taking a break, so I figured I’d ask.

Speak Your Mind

*