Below is my config (.ini) file.

Requesting the /_auth url should hit my application, all other urls should
redirect to /_auth

The problem is, even a request to /_auth is redirected to /_auth and
`redirect will happen` shows up in the log.
This only happens when I use the `mount` option, not for ex. if I use
wsgi-file instead.

[uwsgi]
master        = true
http-socket   = :8000

plugin        = python
mount         = /_auth=app.py
callable      = app
manage-script-name = true

route         = ^/_auth log:redirect shouldn't happen
route         = ^/_auth last:

route-run     = log:redirect will happen
route-run     = redirect:/_auth


-- 
damjan
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to