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]
Related posts:
- Lighttpd on Cpanel VPS Working on a new project for a client, I need...
- Django and authenticated smtp I just sent off my first patch for Django. It...
- Django and multipart emails As part of the Django Storefront system I am writing,...
- Django Formatter Mixin Class I've always disliked having to write __repr__ methods for my...
- Helpful Django utilities and links Two simple links which have been very helpful in doing...
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.