I have a Django application configured to use uWsgi with a directory rule of
"/":

vserver!20!rule!200!match = directory
vserver!20!rule!200!match!directory = /

But if i use a URL like http://staging.culturemap.com/narf i get an error of
"uWSGI Error  wsgi application not found".

Urls like http://staging.culturemap.com/narf/ and
http://staging.culturemap.com/ are fine.

When I look in the uWsgi log I usually see something like:
[pid: 2070|app: 0|req: 18/25] 66.249.68.129 () {52 vars in 897 bytes} [Tue
Feb 23 16:25:34 2010] GET /search/?q=Kerry%20Inman => generated 22 bytes in
41 msecs (HTTP/1.1 401) 3 headers in 229 bytes

However when I get these errors I see:
[pid: 2070|app: -1|req: -1/31] 98.198.121.71 () {58 vars in 1565 bytes} [Tue
Feb 23 16:28:04 2010] GET /narf.html => generated 46 bytes in 0 msecs
(HTTP/1.1 500) 2 headers in 63 bytes

Notice the "app: -1", I think it should be "app: 0".  This looks like a bug
of sort but is it a problem with Cherokee or uWsgi?  Anyone know a work
around?

---------------------------------------------------------------
Paul Bailey
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to