BaileyBoy Posted May 31, 2005 Posted May 31, 2005 Hi: I found a past post on this forum to answer a question regarding SSL on a shared server, the code in question is: define('HTTP_SERVER', ''); define('HTTPS_SERVER', 'https://theurlisworkingfine.net/catalog/'); define('ENABLE_SSL', 'true'); However, whenever I go to the first secure page it gives the following error: The requested URL /~admin266/catalog/https://theurlisworkingfine.net' was not found on this server. and the URL in the address bar is shown twice like this: https://theurlisworkingfine.net/catalog/htt...ne.net/catalog/ Anyone know what this bit is, and how to fix? /~admin266/catalog/
EricK Posted May 31, 2005 Posted May 31, 2005 I saved this example from a while ago, hope it helps... define('HTTP_SERVER', 'http://www.yourdomain.com'); define('HTTPS_SERVER', 'https://yoursecureURL.com/~yourusername'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', '.yourdomain.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/');
Recommended Posts
Archived
This topic is now archived and is closed to further replies.