No replies
altaf's picture
Offline
Joined: 12/12/2007
Juice: 15
Was this information Helpful?

how to set filepath for download (Product settings->File Download Settings->Files path) if it is outside httpdocs
Current my dir struc for drupal is
var/www/vhosts/iccfa.com/httpdocs

and download dir path is
/var/www/vhosts/iccfa.com/downloads

Actually that is outside httpdocs so whenever i try to set file download settings it gives me error

Error:-
* warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/www/vhosts/iccfa.com/downloads) is not within the allowed path(s): (/var/www/vhosts/iccfa.com/httpdocs:/tmp:/var/www/vhosts/iccfa.com/keys) in /var/www/vhosts/iccfa.com/httpdocs/modules/ubercart/uc_file/uc_file.module on line 542.
* /var/www/vhosts/iccfa.com/downloads is not a valid file or directory

I even try to set open_basedir off and set path "/var/www/vhosts/iccfa.com/downloads" but no effect even i changed permission to 777

can anybody throw light on it any small help would be appreciated

H2H

--altaf