in reply to (OT) Determining whether request is coming via SSL

Assuming you're using Apache, the mod_ssl docs say it sets a whole bunch of environment variables when SSL is used.
  • Comment on Re: (OT) Determining whether request is coming via SSL