Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

two sites using same /download folder


Guest

Recommended Posts

Posted

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....

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...