Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How can I change my image directory to upload to ssl


macsnjets

Recommended Posts

I previously made a post on an issue where my images on my secure pages don't show because of different directories. (http://www.oscommerce.com/forums/viewtopic.php?t=28780) To get ssl to work my secure pages have to be in a different directory. Non secure pages go in http://web21.omnis.com/steves/www and secure pages go in https://web21.omnis.com/steves/ssl. Under the normal configuration the images go into web21.omnis.com/steves/www/catalog/images but then when you go to a secure page the page can't find the images because its looking in web21.omnis.com/steves/ssl/catalog/images and the images don't get uploaded there. How can I change the config pages to have all images and new product images uploaded in the ssl directory? I might get a slight decrease in performance but at least I won't run into issues with secure and non-secure items on a page.......sounds confusing, am I making sense? Thanks

Link to comment
Share on other sites

Should have one folder called images and everything shoud be secure if pulled from that folder but if not, you can make the image paths absolute.

 

 

EX:https://web21.omnis.com/steves/ssl/folder images are in/image.gif

 

this would make them all secure

Link to comment
Share on other sites

OR you could just copy all your pics into the secure folder as well as yoiur other image folder, you'd have 2 sets of images but if you have the room for it, shouldn't matter

Link to comment
Share on other sites

Yes I understand that is what I have to do but I don't want to copy everything into the secure image folder as each new product is uploaded. Thats what I'm doing now and yes it works. I would rather have the product image upload into the secure folder rather than the non secure folder and have all images pulled from the secure folder but I would suspect I need to change both of the configuration.php pages and maybe the catagories.php page. I'm just not sure how to do it.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...