PDA

View Full Version : no images or stylesheet with SSL


jeffreyd
8-8-03, 12:13 AM
When I enable SSL and change the configure.php file to point to the https server I lose all images when entering a secure portion of site. When I right-click..properties on the image it is pointing to http://%20https://pulsar......

I have looked through the forums here and at OScommerce, but have yet to find a solution.

Any suggestions would be appreciated.

Laurey
8-8-03, 02:19 AM
haven't tried it here.. but on other sites I have webmastered on, you would just need to use your full (non-virtual) path, ie:

your domain: www.yourdomain.com/stylesheet.css

https version: www.hostdomain.com/youraccount/stylesheet.css

again.. haven't tried it here.. worth trying though :)
good luck!
-L

stevel
8-8-03, 12:22 PM
I've used stylesheets with https here and they work fine. I'd guess you have an error in your osCommerce configuration include file, perhaps an extra blank in a string?

jeffreyd
8-8-03, 12:41 PM
Thank you stevel!!

You were correct. I did have an extra blank in the following line in my config include file:
define('HTTPS_SERVER', ' https://pulsar.powweb....
once I changed it to:
define('HTTPS_SERVER', 'https://pulsar.powweb....

everything works beautifully.

Thank you again!!

JeffreyD