Guest Posted October 30, 2006 Posted October 30, 2006 Hi All, i've set up a new site on an existing server we have. The new site has some downloadable products that our other site has. But i don't want to have to upload the downloadable products (in this case .zip files) to both /download directories. eg. www.site1.com/download/product.zip www.site2.com/download/product.zip i just want site2 to get the downloads from site1.com's download folder. They are both on the server so i'm sure this must be possible by simply changing some define's in the configure.php file. But i can't get anything to work. site 1 is currently: define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/data/www.site1.com/htdocs/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); but if i change site 2 to that it doesn't work. Please help somebody, we're supposed to launch this week! thanks in advance....
bt101 Posted October 31, 2007 Posted October 31, 2007 Hi Sense, If the both site are locate in same server, the simplest way is use 'ls' command for make a alias. I hope this is helpful for you
Guest Posted November 2, 2007 Posted November 2, 2007 In the path for download a second site just put the path of firts site.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.