Hello,

Il 03/05/2012 10:25, Riccardo Magliocchetti ha scritto:
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/

Actually these static-map are wrong since it looks like i cannot use regexp here

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

Reply via email to