28 messages in ru.sysoev.nginxRe: [wsgi] Python interpreter initial...
FromSent OnAttachments
Manlio PerilloAug 20, 2007 3:15 am 
Igor SysoevAug 20, 2007 3:28 am 
Igor SysoevAug 20, 2007 3:41 am 
Igor SysoevAug 20, 2007 3:45 am 
Manlio PerilloAug 20, 2007 3:50 am 
Manlio PerilloAug 20, 2007 3:57 am 
Igor SysoevAug 20, 2007 6:17 am 
Manlio PerilloAug 20, 2007 6:35 am 
Manlio PerilloAug 20, 2007 1:16 pm 
Rui LopesAug 20, 2007 1:35 pm 
Aleksandar LazicAug 20, 2007 1:52 pm 
Manlio PerilloAug 20, 2007 1:55 pm 
Cliff WellsAug 20, 2007 4:22 pm 
Manlio PerilloAug 21, 2007 12:17 am 
Manlio PerilloAug 21, 2007 12:19 am 
Aleksandar LazicAug 21, 2007 12:56 am 
Aleksandar LazicAug 21, 2007 12:58 am 
Aleksandar LazicAug 21, 2007 1:00 am 
Manlio PerilloAug 21, 2007 1:04 am 
Manlio PerilloAug 21, 2007 4:51 am 
Aleksandar LazicAug 21, 2007 6:26 am 
marc...@public.gmane.orgAug 21, 2007 6:26 am 
Aleksandar LazicAug 21, 2007 6:34 am 
Manlio PerilloAug 21, 2007 6:35 am 
Kiril AngovAug 21, 2007 6:59 am 
Manlio PerilloAug 21, 2007 7:09 am 
Aleksandar LazicAug 21, 2007 7:17 am 
Cliff WellsAug 21, 2007 11:01 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [wsgi] Python interpreter initializationActions...
From:Manlio Perillo (manl@public.gmane.org)
Date:Aug 20, 2007 3:57:57 am
List:ru.sysoev.nginx

Igor Sysoev ha scritto:

Anyway I do not know how to write small inlines in python with its indentions:

server {

location / {

python ' def handler(r) ... ... ... ... ';

In Python the indentation is "relative", so your code should be right.

However I do not plan to support inline Python code, but only things like (see http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives):

server { location / { wsgi_alias /path/to/your/module; wsgi_callable_object application; } }

That is: only "full" WSGI applications.

Again, I want to keep the code as simple as possible.