On May 3, 6:44 am, gert <gert.cuyk...@gmail.com> 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 > > http://pastebin.com/m4d8184bc > > 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. :-) Graham -- http://mail.python.org/mailman/listinfo/python-list