[TYPO3] Checking https server variable

Oliver Rowlands oliver at liquidlight.co.uk
Wed Aug 1 15:58:55 CEST 2007


Hi Tyler,

This should do the trick:

[globalString = _SERVER|HTTPS=on]
   # Your TS
[end]

Best regards,

Oliver

Tyler Kraft wrote:
> Hi
> 
> I want to do a check to see if the page being served is a https page and 
> then do something different in my output. I belive I have my condition 
> correct but it seems to have no effect when I try it. Can anyone let me 
> know if this would be the correct way for this condition and if not what 
> would be?
> 
> [globalString = IENV:HTTPS>0]
> 
> Thanks,
> Ty
> 
> 


-- 
Oliver Rowlands
:: Liquid Light ::

E - oliver at liquidlight.co.uk
W - http://www.liquidlight.co.uk

T - 00 44 (0)845 6 58 88 35
F - 00 44 (0)845 6 58 44 35


More information about the TYPO3-english mailing list