perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul G. Weiss" <>
Subject RE: http or https in URL?
Date Tue, 06 Nov 2001 16:31:22 GMT
Not the best way.  There is nothing to stop me from running
straight http on port 443:

or https on port 80:

If you're using mod_ssl to do the https stuff, it will set
the HTTPS environment variable to 'on' when using https.

-----Original Message-----
From: Rob Nagler []
Sent: Tuesday, November 06, 2001 10:46 AM
Subject: Re: http or https in URL?

> But how do I get the protocol, http or https.

You can check the port on $c->local_addr.  443 is https.


View raw message