andy
Posts: 183
|
| Posted: 04/19/2008, 12:04 AM |
|
Hi
I have recently converted my project to an SSL project. Having duly purchased my SSL certificate, I entered the "https://mysubdomain.mydomain.co.uk" in the project settings field: "Secure Server URL" and at page level, set each page's SSL Access Only setting to "Yes". I also set each page's "Convert URL To" setting to "Yes".
As far as I understand, this is all you have to do to convert a project to SSL.
Any way it didn't work and the nice people at 1&1 Internet diagnosed and fixed the problem as being the function CCCheckSSL() code in common.php.
This is how they rewrote 2 lines of it highlighted here in bold. The CCS code is commented out.
It now works:
[In common.php]
function CCCheckSSL()
{
//$HTTPS = isset($_SERVER["HTTPS"]) ? strtolower($_SERVER["HTTPS"]) : "" ;
$HTTPS = isset($_SERVER["HTTPS"]) ? strtolower($_SERVER["HTTPS"]) : NULL ;
//if($HTTPS != "on")
if(!isset($HTTPS))
{
echo "SSL connection error. This page can only be accessed via a secure connection.";
exit;
}
}
//End CCCheckSSL
Is this a bug in CCS? Anyone else had similar problem?
_________________
Andy
RAD tools for rich UI controls:
http://www.koolphptools.com |