my problem: If I attempt to access a https template through expression engine, I get a blank screen:
Solved by host (finally found this on their website, their support desk never mentioned it!)
https://secure.domainname.com You can use a different prefix, eg "www." or "store."
Solution: I will get host to change prefix to www.
Just in case anyone comes across this problem, here are some details of what was going on:
FACT 1: The EE site url is as follows, and I can access all my templates like a normal site.
FACT 2: I have an SSL certificate installed and my host provides access using https and a prefix, but 'secure' is not a subdomain, it just points to files in the same path as http://www.domainname.com:
FACT 3: Within the site I have a few forms that I'd like to make secure using SSL such as:
FACT 4: But with my host the above URL needs to be:
FACT 5: Im using Focus Lab, LLC Master Config, so my config file reads as:
$protocol = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https://' : 'http://'; $base_url = $protocol . $_SERVER['HTTP_HOST']; $env_config['base_url'] = $base_url . '/'; $env_config['site_url'] = $env_config['base_url'];
FACT/CLUE 6: If I disable EE's htaccess in the root off the www folder, I can launch a test file located at www/test/phpinfo.php as, but this is not what I want, as this is not an EE page, just something created in dreamweaver:
FACT/CLUE 7: With htaccess enabled again I cannot access the above file (I get blank screen), but I can access it via:
POSSIBLE CAUSE OF ISSUE I looked at changing values in the config and htaccess, but nothing has given me access to the EE template via https. The main problem appears to be with the prefix secure Other users of EE + https do not appear to have the 'secure' prefix as part of URL, but someone must know how to overcome.