Good day,
I have purchased a dedicated IP address and an SSL Certificate which I haven't installed yet. Before installing the SSL Certificate, I tried to confirm that my Zen Cart installation is correctly configured for SSL support and followed the instructions in the book "e-Start Your Web Store with Zen Cart" to the letter.
I have a local XAMPP installation and enabled SSL for the front-end store and the Admin area. With one exception, everything appears to work fine, that is the secure connection is automatically switching on and off as I enter and exit the login and checkout pages. As explained in the book, there are warnings about the validity of the certificate, but that's expected.
The only exception is that the contact form seems to be insecure. I have my own custom contact form on page http://athenscollectibles.info/index...page=contactus and I originally thought that the different page name prevented SSL to be enabled. However, when I manually changed the page name in the address bar to contact_us (with an underscore), I was transferred to the default Zen Cart form but in http rather than https.
Is there any change or addition required to the configure.php file to enable https in the contact page or is that impossible, in which case a customer might hesitate to enter personal details like email address in the form?
A few lines from my configure.php file are as follows, in case someone finds an error or has a suggestion:
Many thanks in advance for any assistance or guidance.PHP Code:define('HTTP_SERVER', 'http://www.example.com');
define('HTTPS_SERVER', 'https://www.example.com');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'true');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/teststore/');
define('DIR_WS_HTTPS_CATALOG', '/teststore/');


Reply With Quote
