Hello,
it took a bit to me to understand that route and static-map are
complementary and are the way to go in case of mixed dynamic app +
static file serving environment. Probably because this is the first time
i use the internal routing and serve static files with uwsgi :)
Anyway this is what i'm using right now:
route = \.php$ uwsgi:,9,0
static-map = ^/foo/=%(docroot)/foo/
static-map = ^/images/=%(docroot)/images/
I was wondering if the static map can be expressed as route too, which
imho looks a lot more natural:
route = \.php$ uwsgi:,9,0
route = ^/foo static:%(docroot)/foo/
route = ^/images static:%(docroot)/images/
Probably it's just a matter of missing router plugin or am i missing
something? Do you see this as an improvement?
thanks in advance,
riccardo
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi