RE: http or https in URL?

2001-11-07 Thread Reif Peter
From: Stas Bekman *EXTERN* [mailto:[EMAIL PROTECTED]] Reif Peter wrote: In a mod_perl handler I want to construct the original URL of the request. I can construct it with r-get_server_name, r-get_server_port, r-uri and $r-parsed_uri-query. But how do I get the protocol, http

http or https in URL?

2001-11-06 Thread Reif Peter
In a mod_perl handler I want to construct the original URL of the request. I can construct it with r-get_server_name, r-get_server_port, r-uri and $r-parsed_uri-query. But how do I get the protocol, http or https. Is there a way to find out whether SSLEngine On is set? Yes, I can set it with

Re: http or https in URL?

2001-11-06 Thread Rob Nagler
But how do I get the protocol, http or https. You can check the port on $c-local_addr. 443 is https. Rob

Antwort: http or https in URL?

2001-11-06 Thread Michael . Jacob
of $modul and $page. Michael Datum: 06.11.2001 16:43 An:[EMAIL PROTECTED] Betreff: http or https in URL? Nachrichtentext: In a mod_perl handler I want to construct the original URL of the request. I can construct it with r-get_server_name, r-get_server_port, r-uri

Re: http or https in URL?

2001-11-06 Thread David Young
PROTECTED] Organization: bivio Software Artisans, Inc. http://www.bivio.net Date: Tue, 6 Nov 2001 08:45:45 -0700 To: [EMAIL PROTECTED] 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. Rob

RE: Antwort: http or https in URL?

2001-11-06 Thread Geoffrey Young
sub savelink ($modul: string min 4 max 4, $page: string default index.html) { my $r = Apache-request; my $session_id = $r-pnotes('sessionid'); my $uri = Apache::URI-parse($r); my $hostinfo = $uri-hostinfo; my $scheme = $uri-scheme; my $url = $scheme . '://' .

Re: http or https in URL?

2001-11-06 Thread Issac Goldstand
- Original Message - From: Reif Peter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 06, 2001 17:37 Subject: http or https in URL? In a mod_perl handler I want to construct the original URL of the request. I can construct it with r-get_server_name, r-get_server_port, r-uri and $r

RE: http or https in URL?

2001-11-06 Thread Reif Peter
From: Richard L. Goerwitz III *EXTERN* [mailto:[EMAIL PROTECTED]] Reif Peter wrote: Yes, I can set it with PerlSetVar protocol https, but is there a simpler way? If you're in a response handler, you could test for the HTTPS environment variable. Otherwise you're stuck with a