Hi,

I have a question. I am setting up a shared SSL for Zencart (my client doesn't want to pay for a private one).

I was able to set up the shared SSL for the admin area with no problems, but the checkout one is bugging me a bit.

We are using a temporary nameserver (to upload stuff before we officially change the website). Our temporary address for the store is servername.net/~aimaa/store. Our shared SSL address is servername.net/~aimaa. Our server name after we perform the upgrade will be http://www.aimaa.com.


Here is what I have for includes/configure.php:

PHP Code:
define('HTTP_SERVER''http://servername.net');
define('HTTPS_SERVER''https://servername.net/~aimaa');

// 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''/~aimaa/store/');
  
define('DIR_WS_HTTPS_CATALOG''/store/'); 
Now this works fine technical-wise, but during the checkout process, when the SSL kicks in, the page CSS isn't loaded because it's reference is wrong: it's /store/includes/templates/premium4a/css/stylesheet.css' , when it should actually be ~aimaa/store/templates... . I know it's doing this because the DIR WS HTTPS CATALOG is only listing /store/, but if I change the DIR WS HTTPS CATALOG to /~aimaa/store/, then the URL will become /~aimaa/~aimaa/store... and I will get a 404 error. Interesting note: even though CSS doesn't load, text and pictures seem to all have the right reference.

I feel like either this is a simple issue or I am facing a unique problem because of my name-of-directory vs name-of-ssl situation. My Plan B is to basically manually include the css files into checkout headers... but I want to ask the people here to see if I may be misunderstanding the configuration.

Thank you.

-R