[TYPO3-english] SSL backend

Toshiyuki Toda toda at mobeta.net
Sat Mar 21 06:20:55 CET 2009


Toshiyuki Toda さんは書きました:
> Hi all:
> 
> I want to use backend with SSL and I use "pound" load blancer software.
> I can access backend by SSL via pound and login with acount and password
> in login screen, but "Login-error or session timed-out" error message
> was shown.
> I think TYPO3 can not redirect incollectlly. why?
> 
> So any help is very much appreciated!
> - Toshiyuki

Hi all:

Thank you, Xavier.
I use pound as SSL wrapper only and I realize pound add
"X-Forwarded-For" header so I modify line 3203 on
typo3_src-4.1.7/t3lib/class.t3lib_div.php below.
When we use load balancer can add original header, I think this way is
avaliable.

>case 'TYPO3_SSL':
>	$retVal = $_SERVER['HTTP_X_FORWARDED_FOR'] >||
$_SERVER['SSL_SESSION_ID'] || !strcmp($_SERVER['HTTPS'],'on') ||
!strcmp($_SERVER['HTTPS'],'1') ? TRUE : FALSE;
>	// see http://bugs.typo3.org/view.php?id=3909
> break;


More information about the TYPO3-english mailing list