Hi
I have set up my site just fine but had to add the SSL afterwards and it doesn't seem to work properly. When I try the Account link I get the ZC configuration error screen.
The domain is gravisuk.com/index.php
I am running ZC1.3.8a on a dedicated server with a shared certificate, according to support guys the shared certificate path is:
https://www.secure-epay.co.uk/gravis
I asked the tech guys if they could sort it because they have OsC hosting facilities and I figured it may be a similar type of configuration. But this is the reply:
There seems to be some issue with the definitions set in the configure.php being used in secure and non-secure mode.
If you look at main configure.php on your store, you will see that I have made a couple of changes. I have updated the https server line to:
define('HTTPS_SERVER', 'https://www.secure-epay.co.uk/gravis');
I have altered the DIR_FS_CATALOG and succeeded in getting the site working securely, but this then stops in working securely. Looking in the configure.php you should see two lines:
define('DIR_FS_CATALOG', '/var/www/html/');
// define('DIR_FS_CATALOG', '/home/virtual/gravisuk.com/var/www/html/');
The first line is directory when working locally (from the root of the site), this works for non secure urls. The second line is the absolute directory path (from the root of the server), this works for secure urls. Unfortunately neither of these work for both secure and non-secure.
If you remove the // comment from the second line and put it on the first line, you will then find the secure page works correctly, while the non-secure doesn't.
On our osCommerce stores the non-secure version works for secure urls, but this doesn't appear to be the case for Zencart. I think you will need to ask the developers what needs to be done about this.
Regards,
Paul.
Does anyone know a way that I can run on www.gravisuk.com but use the https://www.secure-epay.co.uk/gravis as my SSL folder and if so does the problem outlined above mean anything to you?
admin config:
store config:Code:define('HTTP_SERVER', 'http://www.gravisuk.com'); define('HTTPS_SERVER', 'https://www.gravisuk.com'); define('HTTP_CATALOG_SERVER', 'http://www.gravisuk.com'); define('HTTPS_CATALOG_SERVER', 'https://www.gravisuk.com'); // Use secure webserver for catalog module and/or admin areas? define('ENABLE_SSL_CATALOG', 'false'); define('ENABLE_SSL_ADMIN', 'false');
Many thanks in advance.Code:// Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com define('HTTP_SERVER', 'http://www.gravisuk.com'); // define('HTTPS_SERVER', 'https://www.gravisuk.com'); define('HTTPS_SERVER', 'https://www.secure-epay.co.uk/gravis'); // 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', '/'); define('DIR_WS_HTTPS_CATALOG', '/');
Dave



