The scenario is a Django project where "static" files are assembled in a 
directory tree rooted in the so called STATIC_ROOT.

You "gather" the files, from various directory sources, with the command 
"collectstatic".

A usual uwsgi configuration would include a line like this:

static-map = /static=/home/whatever/holding/content

And all is well, to this point.
But often, during development, collectstatic is issued with the -l switch, that 
means "create symlinks" instead of actually copying files to the final location.
It's handy 'cause you don't duplicate files, of course.

But it seems that uwsgi refuse to serve files outside the map "root" directory 
– and with reason, of course.
Is it there a method to bypass this check, though? As I said, it would be handy 
during development.

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

Reply via email to