TYPO3 error message "TYPO3 error message Missing referrer for main".

Last modified:

Problem

Immediately after successfully logging into the TYPO3 backend, the error message appears: Missing referrer for /main

 

 

This message often appears when the web server is accessed via a reserve proxy in a DMZ.

 

Solution

In the typo3conf directory, enter the following lines in the AdditionalConfiguration.php file (create a new one if it does not already exist):

 

<?php
$GLOBALS['TYPO3_CONF_VARS']['SYS']['reverseProxySSL'] = '*';
$GLOBALS['TYPO3_CONF_VARS']['SYS']['reverseProxyIP'] = '*';
$GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] = '<ZIELDOMAIN>';
$GLOBALS['TYPO3_CONF_VARS']['SYS']['reverseProxyHeaderMultiValue'] = 'first';

 

Where <TARGET DOMAIN> is the URL of your website.

Tested with: TYPO3 version 10