Terry Mitchell Posted June 5, 2009 Share Posted June 5, 2009 Hi Alex I hope you are well. I run an mp3 downloads store. I´m running OS RC2 on a unix server and am using your rather wonderful SDS (which you gave me some good advice on setting up some time ago). All is good on the site and the SDS is working perfectly. I'm now getting ready to launch the Brazilian version of the site (same server, same appearance, different language/pricing policy/database) and want to know if its possible to access the downloads from the main site rather than copying all of the files onto the Brazilian site (and therefore needing to double storage capacity by 1 tb!!). I tried direct paths to the folders, turning on redirect and nothing seems to work. I'm really pulling my hair out over this one. There must be a way of doing it. The URL for my main site is: http://www.theelectric-underground.com/catalog/default.php and the Brazilian site is: http://www.theelectric-underground.com/teu...log/default.php Here is the code for my cat/inc/config.php file. <?php define('HTTP_SERVER', 'http://www.theelectric-underground.com'); define('HTTPS_SERVER', 'http://www.theelectric-underground.com'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'www.theelectric-underground.com'); define('HTTPS_COOKIE_DOMAIN', 'www.theelectric-underground.com'); define('HTTP_COOKIE_PATH', '/teu/catalog/'); define('HTTPS_COOKIE_PATH', '/teu/catalog/'); define('DIR_WS_HTTP_CATALOG', '/teu/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/teu/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', '/home/theelec/public_html/catalog/pub/'); define('DIR_FS_CATALOG', '/home/theelec/public_html/teu/catalog/'); define('DIR_FS_DOWNLOAD', '/home/theelec/public_html/catalog/download/'); define('DIR_FS_DOWNLOAD_PUBLIC', '/home/theelec/public_html/catalog/pub/'); ?> Please, if you could have a quick look and see if you can spot any glaring errors or offer any advice it would be much appreciated. Many, many thanks Terry Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.