diff --git a/Documentation/Configuration/Htaccess.rst b/Documentation/Configuration/Htaccess.rst index e30cd020b79..fb7c75d038f 100755 --- a/Documentation/Configuration/Htaccess.rst +++ b/Documentation/Configuration/Htaccess.rst @@ -31,6 +31,11 @@ variables (SFC_ROOT, SFC_GZIP) and read the comments carefully. RewriteCond %{HTTP:X-Tx-Solr-Iq} .+ RewriteRule .* - [E=SFC_HOST:invalid-host] + # Important Note for scheme and port. TYPO3 handle Reverse proxies by respect + # X-Forwarded-For headers. The Apache do not know this configuration. If there + # is a reverse proxy that e.g. terminate SSL and all requests are "http", please + # Adapt the following lines to force "http". + # Get scheme RewriteRule .* - [E=SFC_PROTOCOL:http] RewriteCond %{SERVER_PORT} ^443$ [OR] diff --git a/Resources/Private/Templates/Htaccess.html b/Resources/Private/Templates/Htaccess.html index b228ddc5d78..c3151b99104 100755 --- a/Resources/Private/Templates/Htaccess.html +++ b/Resources/Private/Templates/Htaccess.html @@ -15,6 +15,10 @@ Explicitly prevent direct access here. This is needed because the .htaccess access check in the root dir is overwritten by the RewriteRules defined here. + + Important: The Timezone of the TIME variable is based on your server timezone and + the timezone of the ViewHelper is based on the typo3 configured timezone. Please keep + in mind that this is in sync! RewriteCond %{ENV:REDIRECT_STATUS} ^$ RewriteRule .* - [F,L]