> While testing routing I found that the goto examples from the > documentation do not seem to work. I'm using the following > configuration: > > ---- > > [uwsgi] > plugins = 0:notfound,http > http-socket = :8080 > check-static = /home/gber/public_html > static-index = index.html > > route-host = ^localhost:8080$ goto:localhost > route = .* last: > > route-label = localhost > route = ^/test log:someone called /test > > notfound-log = true > > ---- > > Making a request with > > curl -v http://localhost:8080/test > > does not result in "someone called /test" being logged, nor do > any other rules put under this label work, so it seems the goto > isn't being hit. > > I can see the hotname is correct: > > [uWSGI DEBUG] HTTP_HOST=localhost:8080 > > so not sure why the rule does not work. > -- > Guido Berhoerster > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >
an off by one error in goto label generation. Should be working now -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
