TypoScript Reference:ref:

The table below shows all possible configuration options for the extension.

Properties

Property Data type Description Default
secure_typo3_root string Specifies TYPO3 installation root folder (directory) when referencing through a secure server. www.example.org
unsecure_typo3_root string Specifies TYPO3 installation root folder (directory) when referencing through a regular (unsecure) server. www.example.org
require_ssl boolean Require SSL for these pages: If set to 1, this page plus all subpages will require SSL 0
disable_httpsenforcer_for_be_user boolean Disable HTTPS Enforcer for backend users: If set to 1, users with valid TYPO3 backend user session can view the site without protocol enforcement 0
ssl_proxy string Name of your ISPs SSL proxy, without preceding https:// or trailing slash.  
always_allow_SSL boolean Always allow secure connections: If set to 1, requests for pages over a secure connection will not be redirected to a non-secure URL 0
sslPort integer SSL port: The port on which your machine receives secure connections, if different from the standard SSL port (443). 443

Property details

secure_typo3_root:ref:

  • DO NOT SPECIFY THE TRAILING SLASH
  • MAKE SURE YOU ARE SPECIFYING THE ROOT OF THE TYPO3 INSTALLATION

Example 1:

Example 2:

unsecure_typo3_root:ref:

  • DO NOT SPECIFY THE TRAILING SLASH
  • MAKE SURE YOU ARE SPECIFYING THE ROOT OF THE TYPO3 INSTALLATION

Example 1:

Example 2:

ssl_proxy:ref:

If set to a non-empty value, HTTPS Enforcer will prepend this string to the non-encrypted URL on SSL redirects and detect a secure connection status by comparing it to the value of HTTP_X_FORWARDED_SERVER. See above on how to find out whether you need to set this.

ssl_port:ref:

If your secure apache runs on, say, port 444, you will need to set that port here, as well as include it in https_enforcer.secure_typo3_root http://www.mydomain.com:444/typo3/). Some ISPs have a setup where the browser connects to the standard SSL port, but your server receives the connection on port 80, while the 'HTTPS' server variable is set to 'on' (check the output of phpinfo() to see if that's the case). You'll need to set https_enforcer.sslPort to 80 but leave https_enforcer.secure_typo3_root unmodified.