* Roberto De Ioris <[email protected]> [2013-03-10 20:31]:
>
>> * Roberto De Ioris 
>> <[email protected]> [2013-03-10
>> 16:59]:
>>> this is fixed (previous version had static-check precedence over routing
>>> and was obviously wrong)
>>
>> I just noticed that this commit (5631dcabf815554b8fabc4dfe1481aae486bbf4d)
>> broke cgi-index/php-index again.
>> --
>>
>
> I have rewritten the logic. I was not able to make heavy tests.
>
> So let me know if all is good

I'm afraid it's not quite right yet, cgi-index/php-index work
again but routes do not seem to be applied if a static file
exists. I used the following test:

$ ./uwsgi --plugins=0:notfound,http --http-socket=:8080 --check-static=$PWD 
--route='.* break:403 Forbidden'

$ curl -I http://127.0.0.1:8080/logo_uWSGI.png
HTTP/1.1 200 OK
Content-Type: image/png
Content-Length: 5971
Last-Modified: Sun, 10 Mar 2013 21:24:48 GMT

$ curl -I http://127.0.0.1:8080/does-not-exist
HTTP/1.1 403 Forbidden
Connection: close
Content-Type: text/plain
-- 
Guido Berhoerster
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to