Zen Follower
- Join Date:
- Jan 2006
- Posts:
- 403
- Plugin Contributions:
- 0
Post #1 by crazycucumber
Hi can someone help me or point me to a thread that answes this:
I have just moved my test site onto a live server ( but still in a sub directory as not fully live till friday ) and cant get the SSL bit to work :-
I have put the whole site in HTTP://www.mydomain.com/NEWSHOP
and in HTTPS://mydomain.com/ (The client was not using his HTTPS area so I could use the root of it. )
My Configure.php files look like this :-
define('HTTP_SERVER', 'http://www.mydomain.com/newshop');
define('HTTPS_SERVER', 'https://www.mydomain.com');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'true);
..........................
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '/home/httpd/vhosts/mydomain.com/httpdocs/newshop/');
and the admin one is a bit like :
*/
define('HTTP_SERVER', 'http://www.mydomain.com/newshop');
define('HTTPS_SERVER', 'https://www.mydomain.com');
define('HTTP_CATALOG_SERVER', 'http://www.mydomain.com/newshop');
define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.com');
// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'false');
define('ENABLE_SSL_ADMIN', 'false');
// 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_ADMIN', '/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/admin/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_WS_IMAGES', 'images/');
// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_ADMIN', '/home/httpd/vhosts/www.mydomain.com/httpdocs/newshop/admin/');
define('DIR_FS_CATALOG', '/home/httpd/vhosts/www.mydomain.com/httpdocs/newshop/');
The shop bit works ok , but soon as you go to sign in , it usses the SSL area or HTTPS :// and goes back to start trying to install zencart again ( accept ive renamed zc_install )
Probably really obvious , but im a bit new to SSL setups , should I have a complete mirror of zen in my https folder ? I have at the moment with all configure.php files the same too.
Sorry for the length of this one !
Cheers
Crazy......
Various Zen cart sites !