> On May 22, 2013, at 11:55 AM, Roberto De Ioris <[email protected]> wrote: > >> error-route-if = regexp:${uwsgi[status]};^20[0,6]$ addheader:Connection: >> Keep-alive >> error-route-if = >=:${uwsgi[status]};300 addheader:Connection: close > > I am using the latest master, and these rules don't seem to have any > effect. I tried adding a simple: > > error-route-if: equal:${uwsgi[status]};200 log:HELLO WORLD > > or > > error-route-run: log:HELLO WORLD2 > > or > > route-if: regexp:FOO;^F log:starts with F > > and nothing was printed. Can it be because I'm using a YAML configuration > file and had to change "error-route-if =" to "error-route-if:" ? > >
... oh and be sure you have routing enabled (check for routing = True when uWSGI prints its configuration on build). If it is False install libpcre development headers and rebuild -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
