Inquiry form, such as is often the case that we want turned into HTTP only part of the page
If there is a dedicated server, How can can be matched to HTTP / HTTPS and URL, because it will be used in the case of shared server share SSL, different URL in HTTP and HTTPS
Then it will be very cumbersome and worry about things
But, in the case of OneThird CMS, you can easily make your HTTPS-enabled page in the following way
First, if you open the page, so that you can access both HTTP and HTTPS
At the same time, it has to communicate encrypt the passwords when you log
※ In fact, you have to be able to access both HTTP and HTTPS also in this site
Method, only to modify the config.php as follows
Example: SAKURA in rental server
The normal URL
http://spiqe.net/
URL for SSL is
https://secure992.sakura.ne.jp/spiqe.net/
Config.php in the case of for
if ($_SERVER["SERVER_NAME"]=="secure992.sakura.ne.jp") { $config['site_url'] = "https://secure992.sakura.ne.jp/spiqe.net/"; $config['site_ssl'] = "https://secure992.sakura.ne.jp/spiqe.net/"; $config['files_url'] = "https://secure992.sakura.ne.jp/spiqe.net/files/"; $config['site']['cookie_path']='/secure992.sakura.ne.jp/'; $config['canonical'] = "http://spiqe.net/"; } else { $config['site_url'] = "http://spiqe.net/"; $config['site_ssl'] = "https://secure992.sakura.ne.jp/spiqe.net/"; $config['files_url'] = "http://spiqe.net/"; $config['site']['cookie_path']='/'; }
This alone, HTTP, it is possible to both HTTPS access
And performs a login when encrypted communication
In addition, if you open the page in HTTPS, usually page in the canonical set of headers, you can notify the search engine and I Are You a HTTP
To make skip to HTTPS page you open a specific page in the HTTP, the template module
It is easy if you use the redirect_https
download downloaded from, / files / 1 / plugin after the copy below, the relevant page in the open page property
redirect_https is effectively attrition if setting complete