In mod_perl programming, I want to know the scheme that a user used to communicate with the server, ie. 'http' or 'https'.
Said otherwise: how can I know if I'm on a SSL-enabled host or not? I can't use the port number for that, it may vary independently of SSL usage.