Hi,

I have chrooted rails app (namespace=X)
I created /robots2.txt file, inside the choroot, and inside rails public folder 
I created symlink robots2.txt -> /robots.txt
So "curl myapp.com/robots2.txt" should work, but I get 404
Is this chroot issue with symlinks or I'm missing something?
I have proper check-static and other options and all files in public folder are 
accessible with curl.

EDIT1: I sent that from my work email that is not subscribed to this list so 
I'm resending.

EDIT2: I found in my logs that it's a security feature:

[uwsgi-fileserve] security error: /robots.txt is not under /home/app/public

So symlinks pointing to outside of static-check=dir won't work. Can I disable 
it? I can't find any option to do so.

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

Reply via email to