Rui Lopes wrote:
> Alvaro Lopez Ortega wrote:
> [...]
>> I have tried to reproduce the problem but I have not succeed. Both 
>> fcgi and scgi pass the same variable set:
>>
>> =========
>> $ ./manage.py runfcgi method=threaded host=127.0.0.1 port=3033 
>> protocol=scgi daemonize=false
>>
>> 2008-08-25 14:30:45 : WSGIServer starting up
>> 2008-08-25 14:30:47 : GET /demo/lalala
>> environ['PATH_INFO'] /lalala
>> environ['SCRIPT_NAME'] /demo
>> =========
>>
>> =========
>> $ ./manage.py runfcgi method=threaded host=127.0.0.1 port=3033 
>> protocol=fcgi daemonize=false
>>
>> environ['PATH_INFO'] /lalala
>> environ['SCRIPT_NAME'] /demo
>> =========
>>
>> Anyway, that wasn't the main issue, was it?
> 
> I wasn't clear in my original mail. I was comparing:
> 
> ./manage.py runserver
> 
> with
> 
> ./manage.py runfcgi ...
> 
> That is, running the normal "django" non-flup server (HTTP) vs flup 
> server (SCGI/FCGI).
> 
> But maybe the current behavior is to be expected, and I'm 
> misunderstanding this?

It might be a bug, actually. Last time we checked everything was 
alright, and I even added a few new QA tests to ensure there would not 
be any regression regarding this scgi/fcgi related subject.

Since both branches/0.8 and trunk are passing every single QA test, it 
may be because you have hit a bug and a uncovered scenario.

> My original cherokee setup was:
> 
> vserver!1!rule!10000!match = directory
> vserver!1!rule!10000!match!directory = /demo
> 
> but if I change it to:
> 
> vserver!1!rule!10000!match = directory
> vserver!1!rule!10000!match!directory = /
> 
> it to works without changing django, though, 

Yeah, that raises my point. There are tests for the most common Django 
set up, where it is the top domain handler.

> I would like to have 
> several django scgi apps mounted on different places, eg:
> 
> /demo1   -->  scgi_app1
> /demo2   -->  scgi_app2
> ...
> 
> Humm, but maybe this is not really a cherokee question, and the ball is 
> entirely on the scgi app side?

It looks like a Cherokee bug. I'm checking it right away.

Thanks for reporting Rui!

--
Greetings, alo
http://www.alobbs.com/
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to