[Cherokee] Setting up an django SCGI app
Alvaro Lopez Ortega
alvaro at gnu.org
Sat Aug 30 16:31:43 CEST 2008
Rui Lopes wrote:
> Alvaro Lopez Ortega wrote:
>> Hi there Rui!
>>
>>> 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, I would like to have
>>> several django scgi apps mounted on different places, eg:
>>>
>>> /demo1 --> scgi_app1
>>> /demo2 --> scgi_app2
>>
>> Do you have an example of what would be the expected PATH_INFO and
>> SCRIPT_NAME in a case like those? (I don't think 'runserver' allows
>> that, does it?).
>
> Please note that I'm not sure what should appear in those variables. All
> I known is what I've observed and written in the original email,
Could you please check whether this patch fixes your problem?
This part of the code is quite tricky, so we must be extra careful when
modifying it. If it works for you, I will commit the change in trunk.
Additionally, I will also add a new QA test to cover the case and ensure
there will not be any regression.
Cheers!
--
Greetings, alo
http://www.alobbs.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pathinfo.patch.rui1.diff
Type: text/x-diff
Size: 3350 bytes
Desc: not available
Url : http://lists.octality.com/pipermail/cherokee/attachments/20080830/e3da9f91/attachment.diff
More information about the Cherokee
mailing list