apocavi Posted January 21, 2005 Share Posted January 21, 2005 Hi there! I just installed OSC and added a few products to the catalog. Everything's working fine, except SSL-Mode. In SSL-Mode all pictures disappear. I figured out that the problem most probably has something to do with the server-configuration, which uses two different directories for SSL-encryptet content and non-SSL content (httpdocs and httpsdocs). As a workaround I could just manually copy the images of products I added to the catalog from httpdocs/images/... to httpsdocs/images/... Is there a way to either let OSC upload the pictures to the httpsdocs directory as well as to the httpdocs directory automatically, or to change the path the images reside on in ssl-mode (to the httpdocs-dir)? Thanks in advance for your support! Matthias Link to comment Share on other sites More sharing options...
Simplyeasier Posted January 21, 2005 Share Posted January 21, 2005 Hi there! I just installed OSC and added a few products to the catalog. Everything's working fine, except SSL-Mode. In SSL-Mode all pictures disappear. I figured out that the problem most probably has something to do with the server-configuration, which uses two different directories for SSL-encryptet content and non-SSL content (httpdocs and httpsdocs). As a workaround I could just manually copy the images of products I added to the catalog from httpdocs/images/... to httpsdocs/images/... Is there a way to either let OSC upload the pictures to the httpsdocs directory as well as to the httpdocs directory automatically, or to change the path the images reside on in ssl-mode (to the httpdocs-dir)? Thanks in advance for your support! Matthias <{POST_SNAPBACK}> A few things do you have an ssl cert ? No - then set enable ssl to false in your configure.php yes - set it to true osC will AUTOMATICALLY take care of the images and other web pages where ssl security is required providing you have set the config parameter AND you have the certificate (or not) as the case might be. hth Charles A kite flies highest AGAINST the wind ! "Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!" Link to comment Share on other sites More sharing options...
apocavi Posted January 21, 2005 Author Share Posted January 21, 2005 Thanks for your answer! A SSL-Cert seems to be installed - I just checked this - and osC has been installed with the ssl-feature turned on (I marked the corresponding chackbox duriong installation). Nevertheless, no files have been copied to the httpsdocs folder, nor are they copied now, as I load up images. I have to do that manually. With kind regards Matthias do you have an ssl cert ? No - then set enable ssl to false in your configure.php yes - set it to true osC will AUTOMATICALLY take care of the images and other web pages where ssl security is required providing you have set the config parameter AND you have the certificate (or not) as the case might be. <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Simplyeasier Posted January 21, 2005 Share Posted January 21, 2005 Thanks for your answer! A SSL-Cert seems to be installed - I just checked this - and osC has been installed with the ssl-feature turned on (I marked the corresponding chackbox duriong installation). Nevertheless, no files have been copied to the httpsdocs folder, nor are they copied now, as I load up images. I have to do that manually. With kind regards Matthias <{POST_SNAPBACK}> I am not sure what you mean by https folder - there is no such folder for use with images on osC - osC applies the rules to find your images under catalog and then decides if SSL security is needed all done automatically - A kite flies highest AGAINST the wind ! "Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!" Link to comment Share on other sites More sharing options...
apocavi Posted January 21, 2005 Author Share Posted January 21, 2005 Hi there :-) The server which hosts OSC is configured in a way that it puts non-ssl documents in a folder named "httpdocs" and ssl-documents in a folder named "httpsdocs". Any call in a format like "http://www.mydomain.de/filename" will result in apache sending the file "filename" from the "httpdocs"-directory. Any call in a format like "https://www.mydomain.de/filename" will result in apache sending the file "filename" from the "httpsdocs"-directory. Within the given environmental settings (which I can't influence), osC just keeps an eye on the files in the "httpdocs"-directory, and I manually have to copy the files needed from the httpdocs to the httpsdocs-dir. Which ain't quite comfortable. With kind regards Matthias I am not sure what you mean by https folder - there is no such folder for use with images on osC - osC applies the rules to find your images under catalog and then decides if SSL security is needed all done automatically - <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
♥Vger Posted January 21, 2005 Share Posted January 21, 2005 Mathias is hosted with one of those companies that uses two seperate folders for http and https. In this case he will need to copy all of his httpdocs files into the httpsdocs folder, and every time he updates a file in httpdocs he will also have to upload the changed file to httpsdocs (manually). However, I do not think this is the problem. It sounds like he has ticked the 'Use SSL' box during installation, without haveing purchased a full ssl cert. And if you haven't specifically bought one Mathias - you don't have one! Vger Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.