MyBB-Plugins Forums

Full Version: My Downloads - Move download folder outside of wwwroot
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
my wwwroot directory is
Code:
\var\www\mysite\html
I want to change download directory to
Code:
\var\www\mysite\downloads

If I change the settings in admin cp to
Code:
\var\www\mysite\downloads
I get the following error message
Quote:The following problem has occurred when uploading the download file:
The file upload failed. Please choose a valid file and try again. Error details: There was a problem moving the uploaded file to its destination.

changing download directory to
Code:
../downloads
gives me same error message

folder downloads is chmoded to 777 and is owned by same user as apache
Code:
drwxrwxrwx  2 www-data www-data      4096 Feb 12 15:28 downloads

if download folder is set to inside of wwwroot, it works fine
but it beats the purpose of what I'm trying to accomplish

No Permission

Unfortunately you do not have sufficient rights to view replies in this thread.