Ian Bicking: the old part of his blog

Re: Towards PHP

btw. The problem is not the syntax or missing template language. The problem is the distribution.

If would be better to have a central mod-wsgi which hosting providers can configure like this:

execution = /usr/bin/flupsrv

The flupsrv would look like that:

#!/usr/bin/env python import sys from flup.server.fcgi import WSGIServer

mname, fname = sys.argv[1].rsplit(':', 1) module = __import__(mname, locals(), globals(), ['']) cls = getattr(module, fname)


And the user only has to create a nice small .htaccess with the following content:

SetHandler wsgi-application myapplication:app

Or something as simple like that

Comment on Towards PHP
by Armin Ronacher