inky Posted February 27, 2005 Share Posted February 27, 2005 I'm trying to set up the secure bits and pieces for a site I have been working on. A secure certificate is in place for https://secure.percychapman.co.uk and appears to all be in order. Now I have tried editing the config.php file (see below) but I am getting 404 errors as the pages don't exist there. I've a feeling this is going to be a tricky thing as my secure subdomain exists as a folder when I ftp the server. Is there an easy fix for this? The only thing I can think of is to install everything again in the secure server - but I'm hoping not to have to do this. The shop can be accessed at percychapman.co.uk/shop // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://percychapman.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure.percychapman.co.uk'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'percychapman.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'secure.percychapman.co.uk'); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', '/shop/'); define('DIR_WS_HTTP_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); Any assistance would be most appreciated. Ta, inky Link to comment Share on other sites More sharing options...
Simplyeasier Posted February 28, 2005 Share Posted February 28, 2005 I'm trying to set up the secure bits and pieces for a site I have been working on. A secure certificate is in place for https://secure.percychapman.co.uk and appears to all be in order. Now I have tried editing the config.php file (see below) but I am getting 404 errors as the pages don't exist there. I've a feeling this is going to be a tricky thing as my secure subdomain exists as a folder when I ftp the server. Is there an easy fix for this? The only thing I can think of is to install everything again in the secure server - but I'm hoping not to have to do this. The shop can be accessed at percychapman.co.uk/shop // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) ?define('HTTP_SERVER', 'http://percychapman.co.uk'); // eg, http://localhost - should not be empty for productive servers ?define('HTTPS_SERVER', 'https://secure.percychapman.co.uk'); // eg, https://localhost - should not be empty for productive servers ?define('ENABLE_SSL', true); // secure webserver for checkout procedure? ?define('HTTP_COOKIE_DOMAIN', 'percychapman.co.uk'); ?define('HTTPS_COOKIE_DOMAIN', 'secure.percychapman.co.uk'); ?define('HTTP_COOKIE_PATH', '/shop/'); ?define('HTTPS_COOKIE_PATH', '/shop/'); ?define('DIR_WS_HTTP_CATALOG', '/shop/'); ?define('DIR_WS_HTTPS_CATALOG', '/shop/'); ?define('DIR_WS_IMAGES', 'images/'); ?define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); ?define('DIR_WS_INCLUDES', 'includes/'); ?define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); ?define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); ?define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); ?define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); ?define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); Any assistance would be most appreciated. Ta, inky <{POST_SNAPBACK}> If you have a server configuration of httpdoc AND httpsdoc for normal and secure pages respectively - then unfortunately you have to duplicate the files B) Charles A kite flies highest AGAINST the wind ! "Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.