Hello There, Guest! › Register

MySubscriptions 2.2 released.
Looking for a custom plugin for your site? Ask here for a quote.

Solved My Downloads - Move download folder outside of wwwroot
#1

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

Unfortunately you do not have sufficient rights to view replies in this thread. For full access, consider upgrading.





Users browsing this thread: 1 Guest(s)