Archive for the 'mod_python' Category

Don’t use mod_python

Wednesday, February 27th, 2008

The peeps in #python.web have put together a list of reasons why you should not use mod_python.

FWIW, I’ve tried both Apache/mod_python and Lighttpd/SCGI, and found mod_python to be rather a pain to configure and maintain.

Serving media files with Amazon S3

Sunday, April 9th, 2006

Adrian Holovaty (of Django fame) writes about how he is using Amazon S3 to serve media files. Interesting read, including some steps to get started. Be sure to check out the comments attached to the post.

Getting started with mod_python

Wednesday, February 22nd, 2006

Graham Dumpleton has a really nice beginner’s guide to mod_python. He starts with getting it loaded into Apache, and covers basic content handlers, global configuration, error logs, and where to go next.

The Reddit web framework

Tuesday, December 6th, 2005

In case you missed it, Reddit rewrote their site in Python (formerly Lisp). Now there’s apparently something called web.py that makes web apps because “everything else out there sucked.”

There’s even a tutorial available.

I’ll leave the growing number of python web frameworks vs. tribble comparison as an exercise for the reader.

Problems resolved

Wednesday, November 30th, 2005

Hopfully this will be my last post related to my previously broken Django install.

As per Adrian’s suggestions (see comments), I looked for any .pyc files in the Django and removed them as follows:

metis# cd /usr/local/django/django_src/django metis# find -name "*.pyc" | xargs rm
Python scripts get compiled into bytecode (.pyc) files when they are run, but these files are not managed by SVN. So that can cause problems when performing updates.

Unfortunately, however, this did not fix my problem…

(more…)