shopsavengo Posted August 11, 2005 Posted August 11, 2005 Hello Everyone, I installed Osc, and it's great Shopping Cart, I need help with the following; 1. I already got all my products images on my other domain, what I want to do is instead of upload them to my new domain, I want to just link to them from the Old website to this new website EX: instead of using; http://www.mydomain.com/catalog/images/ I want to do this link from my other domain to the new domain: Example: http://www.mydomain.com/images/productpicture.gif What do I need to change to accomplish this; instead of uploading all my product image to my new server, I want to link to my product images from the old website to my Osc Catalog on the new site. Please help Thanks!!! :'(
AlanR Posted August 11, 2005 Posted August 11, 2005 For a site not using ssl this should work: define('DIR_WS_IMAGES', 'http://www.myolddomain.com/catalog/images/'); Your problem will come in ssl because you probably won't have an ssl connection available between the two servers. Even then you'd have to figure out a new way to switch from define('DIR_WS_IMAGES', 'http://www.myolddomain.com/catalog/images/'); to: define('DIR_WS_IMAGES', 'https://www.myolddomain.com/catalog/images/'); which is not such a big deal but is it worth it just to avoid the hassle of copying the images over? They're all in one folder after all. Are the two domains hosted on the same server by chance? Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
shopsavengo Posted August 11, 2005 Author Posted August 11, 2005 I will try and see if that works. Thanks. The domains are both on different servers. :-" is that a problem
Guest Posted August 11, 2005 Posted August 11, 2005 you may run into the problems, if the host has the server setup properly, where you can not access the images across from a different domain, this prevents people from using someone else's bandwidth
AlanR Posted August 11, 2005 Posted August 11, 2005 I will try and see if that works. Thanks. The domains are both on different servers. :-" is that a problem <{POST_SNAPBACK}> No, but it would be easier if they were. I think the original designer(s) set things up the way they are is for exactly this reason. As to Mibble's caveat, you should be able to control the "hotlinking" somewhere on the image server, even restricting it to your specific use. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
shopsavengo Posted August 12, 2005 Author Posted August 12, 2005 It did not work out for me, is their any other way I can do this and which files should I edit: I edited the Configure.php Please help me; They both are my domains but with different hosting services. I want to know if their is a contribution that will help me just do that. Thanks everyone for your help :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.