Hi,
I am using mod_perl for authentication.
I could able to extract the Host and path information of the currect URL
using apache request object.
like $apache-header_in(Host) and $apache-uri respectively.
But , i couldn't find how to extract the protocol(http or https ) from the
current URL
On Wed, 17 Sep 2008 00:21:52 -0700 (PDT)
grsvarma019 wrote:
But , i couldn't find how to extract the protocol(http or https )
from the current URL using apache request object.
Can you please anybody help me in this?
See: perldoc Apache2::RequestRec
# HTTP protocol version number
On Wed 17 Sep 2008, grsvarma019 wrote:
But , i couldn't find how to extract the protocol(http or https )
There are Apache2::ModSSL and Apache::SSLLookup on CPAN in case you need
that information in a request phase prior to the ResponseHandler.
Mod_ssl can be configured to export SSL
Torsten Foertsch wrote:
On Wed 17 Sep 2008, grsvarma019 wrote:
But , i couldn't find how to extract the protocol(http or https )
There are Apache2::ModSSL and Apache::SSLLookup on CPAN in case you need
that information in a request phase prior to the ResponseHandler.
I had the
On Wed 17 Sep 2008, John ORourke wrote:
I had the same problem but the machine serving the request had a
reverse proxy in front of it. I used the following to inject a
header on the proxy:
SetEnv SCHEME http
RewriteCond %{HTTPS} on
RewriteRule ^(.*) $1