News:

Support the VirtueMart project and become a member

Main Menu

S S L

Started by ~raven~, January 25, 2004, 14:15:46 PM

Previous topic - Next topic

~raven~

Okay... let's say so I've decided phpShop for MOS is the best solution and want to integrate it on a production site...  I have my certificate installed and ready to go...

How do I enable ssl?

Soeren

Hello,

please go to
administrator/components/com_phpshop/phpshop.cfg.php

and change the lines with SECUREURL to
Quote//"SECUREURL"             =>      $mosConfig_live_site."/",
"SECUREURL"           =>      str_replace("http", "https", $mosConfig_live_site),

Change URL to SECUREURL everywhere you need secure connections.

ciao, soeren
The future of eCommerce: VirtueMart & Joomla!
http://virtuemart.net

Joseph Bell

Tried adding secure URL to v1.1

define ('SECUREURL', 'https://www.zestglobal.co.nz/TestSiteFolder/');

Should I have it more like the example above?

The problem that occurs is that on every page with any secure URLs I get an error message:
"this page contains both secure and nonsecure items do you wan tot display the nonsecure items?"

This seems to relate to the template (template CSS links and images) and to the mod_mainmenu images. Have fixed (a real kludge) the template but not the mod_mainmenu.

JB

Post edited by: jobiwan, at: 2004/05/19 07:28

Kyle

I am having this same problem.  Have you found a fix yet?

Thanks
Kyle

Joseph Bell

The only fix it seemed I could make was to make the entire site secure by adding a rewrite function to the htacess file to make all http: calls https: instead.

I also had to comb through all the files on the site to correct some sloppy coding (more in Mambo than in PHP shop)  to ensure this worked as a lot of links were static coding and did not use the URL prefixes from the configuration file.

This is definately not an ideal fix and I am trying to refine it before posting the solution. Mainly the images and CSS files are the problem.

All this just because the average internet user does not understand the popup message and how to configure their browser... :dry:

This is also a pain for search engines as some cannot index internal pages of a secure site...bleh!  :(

JB