New Zenner
- Join Date:
- Apr 2006
- Posts:
- 15
- Plugin Contributions:
- 0
can't move download dir. out of the web root.
I can't seem to move the download directory above the web root. Moving the download directory and changing the config.php files to match (using the full path) works when it's in the web space. For example these all work:
/var/www/vhosts/host.com/httpdocs/someplace/store/download/
/var/www/vhosts/host.com/httpdocs/someplace/download/
/var/www/vhosts/host.com/httpdocs/download/
But this doesn't:
/var/www/vhosts/host.com/download/
I just get a warning in the store:
Warning: The downloadable products directory does not exist:
I'm setting the config.php like this:
define('DIR_FS_DOWNLOAD', '/var/www/vhosts/host.com/download/');
I've even tried changing the 'host.com' directory's owner/group/permissions to match the 'httpdocs' web root directory, but no luck.