Tracy12 wrote:
> Does this mean there is no direct way to retrieve the scheme from the $r
>
> I have seen old code bases where they do the following
>
> my $uri->Apache::URI->parse($r);
> my $schme= $uri->scheme;
>
> But this is not working in mod_perl2.x
see
http://perl.apache.org/docs/2.
0 it's http, if it's 443, it's
> https. Of course, this breaks if you run them on different ports.
>
> Rob
>
>
--
View this message in context:
http://www.nabble.com/Port-Sheme-information-tf3018818.html#a8401666
Sent from the mod_perl - General mailing list archive at Nabble.com.
Robert Landrum <[EMAIL PROTECTED]> wrote:
> Tracy12 wrote:
> >How can we retrieve the URL Scheme (http/https ?) from a perl module, Port
> >given that only input parameter is $r
> >
> >should we use my $uri = Apache::URI->parse($r) and $uri->scheme;
> I use $r->get_server_port. If it's 80 i
Tracy12 wrote:
How can we retrieve the URL Scheme (http/https ?) from a perl module, Port
given that only input parameter is $r
should we use my $uri = Apache::URI->parse($r) and $uri->scheme;
I use $r->get_server_port. If it's 80 it's http, if it's 443, it's
https. Of course, this
How can we retrieve the URL Scheme (http/https ?) from a perl module, Port
given that only input parameter is $r
should we use my $uri = Apache::URI->parse($r) and $uri->scheme;
--
View this message in context:
http://www.nabble.com/Port-Sheme-information-tf3018818.html#a8