Hi Paolo,

I agree with Pieropaolo, I would guess this is a file/directory permission 
issue.  Test by creating a staging folder in /var and giving the Apache 
user (www-data or nobody) full permissions (chown and chmod 777) to the 
directory.  If it works, start tightening directory permissions (chmod 700, 
chmod 600) until it fails to find the problem.  Another posibility is that 
the SELinux Apache policy is not permitting it to access files from /tmp, 
disable the policies, test, update and reenable the policies (
http://www.cyberciti.biz/faq/howto-disable-httpd-selinux-security-protection/
).


--Roberto


On Monday, October 29, 2012 7:52:11 AM UTC-4, Pierpaolo Baldan wrote:
>
> Ciao Paolo
> did you have a right permission on Apache ?
> Pierpaolo
>
>
>  
> 2012/10/27 Paolo 68 <[email protected] <javascript:>>
>
>> Hi,
>> when I set up a staging folder like /tmp/staging and configure that as 
>> source I can see the contained files if I run the app as ./manage.py 
>> runserver but if I access the app via WSGI/Apache no files are shown, Why?
>> Should I add any additional setting? 
>>
>> -- 
>>  
>>  
>>  
>>
>
>

-- 



Reply via email to