[mod_python] Publisher handler-like URLs in CGI?

Anthony anthonybaby at gmail.com
Thu Dec 21 21:39:56 EST 2006


Something I love about mod_python is the way the Publisher handler
allow one to expose a function within a module as a URL. Does anyone
know if it's possible to get this functionality on CGI so that the
following is allowed?

processing() in app.py ---> http://site.com/app.py/processing/

photoalbum() in index.py ---> http://site.com/photoalbum/

And a little less on topic, could this be done if mod_python were not
available, say if you were accessing python via CGI/FastCGI on Apache?

Anthony


More information about the Mod_python mailing list