* Roberto De Ioris <[email protected]> [2013-03-11 12:36]:
>
>> * Roberto De Ioris 
>> <[email protected]> [2013-03-11
>> 11:44]:
>>>
>>>>
>>>>> The following router rules send the router parser into a busy
>>>>> loop:
>>>>>
>>>>> [uwsgi]
>>>>> plugins = 0:notfound,http
>>>>> http-socket = :8080
>>>>>
>>>>> check-static = /home/gber/public_html
>>>>> static-index = index.html
>>>>>
>>>>> route = /$ goto:skip-dir-redirect
>>>>> route-if = isdir:${DOCUMENT_ROOT}/${REQUEST_URI}
>>>>> redirect-permanent:${DOCUMENT_ROOT}/${REQUEST_URI}/
>>>>
>>>>
>>>> should not be
>>>>
>>>> redirect-permanent:${REQUEST_URI}/
>>>>
>>>> ?
>>>>
>>>>
>>>
>>> oops, you mean a loop on startup.
>>>
>>> Should be fixed now
>>
>> Now the rule
>> route-if = isdir:${DOCUMENT_ROOT}/${REQUEST_URI}
>> redirect-permanent:${REQUEST_URI}/
>>
>> is rejected with:
>>
>> unable to register route "isdir:${DOCUMENT_ROOT}/${REQUEST_URI}
>> redirect-permanent:${REQUEST_URI}/"
>>
>
> have you loaded the router_redirect plugin ?

Sorry, I had not, working fine now.
-- 
Guido Berhoerster
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to