Alvaro Lopez Ortega wrote:
> On 13-oct-08, at 12:12, Rui Lopes wrote:
>> Alvaro Lopez Ortega wrote:
>>> On 13-oct-08, at 06:26, Johnny Robeson wrote:
>>>
>>>> has anybody tested this yet? and is it really necessary anymore.
>>>> I don't see this integrated in the code
>>>>
>>> As far as I remember, the main issue was fixed; wasn't it Rui?
>>>
>> It was;  just rechecked trunk and its fine.  So there is no need for 
>> this patch.
>>
>> There is a little quirk that I didn't yet tracked (I don't think its 
>> cherokee fault) though, when you want to mount the django app in a 
>> subdirectory of the site, eg:
>>
>> vserver!1!rule!10!match = directory
>> vserver!1!rule!10!match!directory = /demo
>>
>> and you have you django apps urls.py as:
>>
>> urlpatterns = patterns('',
>>   (r'^demo/', include('hello.demo.urls')),
>> )
>
> Since the application is already contained in the /demo directory by 
> the server.. wouldn't the RoR URL handling code be more like (r'^/', 
> include('hello.demo.urls'))? :-m
Indeed, it works fine.  I has trying to make the django app aware of its 
full path that way, but I guess, a better way is to configure urls.py 
like that, and use django Site object somehow to get the site root path.

Thanks!

Best regards,
Rui Lopes
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to