return functions

Graham Dumpleton Graham.Dumpleton at
Sun May 3 01:33:23 EDT 2009

On May 3, 6:44 am, gert <gert.cuyk... at> wrote:
> Aldo i like the cerrypywsgiserver very much, i do not like the tools
> that go with it
> so i am stuck with a configuration file that looks like this
> After 152 line I finally arrived to a point where i was thinkig "thats
> it, this is like going to work on a uni cycle and is just plain
> ridicules"
> So how can i generate some functions something like
> def generate(url,type): # where type could be htm js css orwsgi

You seem to have finally discovered that when using Apache/mod_wsgi,
Apache does a level of URL matching to filesystem based resources.
This isn't automatic in normal WSGI servers unless you use a WSGI
middleware that does the mapping for you. :-)


More information about the Python-list mailing list