[TYPO3] Checking https server variable

Tyler Kraft headhunterxiii at yahoo.ca
Wed Aug 1 16:05:43 CEST 2007


Hi

I had tried [globalString = _SERVER|HTTPS = 1] but no dice. This on the 
other hand works perfectly.

Thanks.
Ty


Oliver Rowlands wrote:
> 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
>>
>>
> 
> 


More information about the TYPO3-english mailing list