#LOCAL("Protocol", "")#IF(#INPUT.SERVER_PORT_SECURE)#SET("Protocol", "https")#ELSE#SET("Protocol", "http")#ENDIF #ENDLOCAL