$r-server-port() returns 0
$r-parsed_uri-port() and $r-parsed_uri-fragment() return nothing !!!
___cliff rayman___ a écrit :
try these and see what they return:
$r-server-port();
$r-parsed_uri-port();
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
Jean-Denis Girard wrote:
For
I've got a section of our site where I want to force the user to
connect via ssl.
Inside of mod_perl, is there a parameter I can grab to see whether
the connection is ssl or not? Or a way to get the port number?
If there isnt a special reason otherwise, why not just put a
redirect in
There is more then one section that needs to be secure and its not
quite as blank and white as folder /secure needs to be secure.
for example.
folder /ecom/checkout needs to be secure.
folder /ecom/showcart doesn't
Scott
On 4 Aug 2000, at 10:16, David Mitchell wrote:
VirtualHost _default_:80
On Fri, 4 Aug 2000 [EMAIL PROTECTED] wrote:
There is more then one section that needs to be secure and its not
quite as blank and white as folder /secure needs to be secure.
for example.
folder /ecom/checkout needs to be secure.
folder /ecom/showcart doesn't
it is really starting to sound
For some reason (probably my error), $r-get_server_port() always returns 80
although my mod_perl backend only listen to 8080 and 8443 (I use Listen
directives).
I'm using (sockaddr_in($r-connection-local_addr))[0] to get the port
instead.
Though it works, I must load one more module (Socket),
try these and see what they return:
$r-server-port();
$r-parsed_uri-port();
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
Jean-Denis Girard wrote:
For some reason (probably my error), $r-get_server_port() always returns 80
although my mod_perl backend only listen to 8080 and 8443 (I
I've got a section of our site where I want to force the user to
connect via ssl.
Inside of mod_perl, is there a parameter I can grab to see whether
the connection is ssl or not? Or a way to get the port number?
I went through the archives last night and couldn't find anything
near this. Am
"s" == scotta [EMAIL PROTECTED] writes:
s I've got a section of our site where I want to force the user to
s connect via ssl.
s Inside of mod_perl, is there a parameter I can grab to see whether
s the connection is ssl or not? Or a way to get the port number?
perldoc Apache
then scan for
use Apache::URI ();
$r-parsed_uri-scheme;
returns http or https
[EMAIL PROTECTED] wrote:
I've got a section of our site where I want to force the user to
connect via ssl.
Inside of mod_perl, is there a parameter I can grab to see whether
the connection is ssl or not? Or a way to get the
On Thu, 3 Aug 2000, ___cliff rayman___ wrote:
use Apache::URI ();
$r-parsed_uri-scheme;
returns http or https
Not really, you can spoof both:
http://thingy.kcilink.com/modperlguide/config/Knowing_the_proxy_pass_ed_Connec.html
[EMAIL PROTECTED] wrote:
I've got a section of our site
On Thu, 3 Aug 2000, Stas Bekman wrote:
use Apache::URI ();
$r-parsed_uri-scheme;
returns http or https
Not really, you can spoof both:
Does the user have to spoof it deliberately in order for the wrong one to
be detected?
If spoofing requires the user to do it on purpose, then in
On Thu, 3 Aug 2000, Stas Bekman wrote:
On Thu, 3 Aug 2000, ___cliff rayman___ wrote:
use Apache::URI ();
$r-parsed_uri-scheme;
returns http or https
Not really, you can spoof both:
http://thingy.kcilink.com/modperlguide/config/Knowing_the_proxy_pass_ed_Connec.html
[EMAIL
Ok, so what is the PORT variable and how do i access it?
Scott
On 3 Aug 2000, at 22:08, Stas Bekman wrote:
Not really, you can spoof both:
http://thingy.kcilink.com/modperlguide/config/Knowing_the_proxy_pass_e
d_Connec.html
$port=$r-get_server_port();
[EMAIL PROTECTED] wrote:
Ok, so what is the PORT variable and how do i access it?
Scott
On 3 Aug 2000, at 22:08, Stas Bekman wrote:
Not really, you can spoof both:
http://thingy.kcilink.com/modperlguide/config/Knowing_the_proxy_pass_e
d_Connec.html
--
On Thu, 3 Aug 2000, Philip Mak wrote:
On Thu, 3 Aug 2000, Stas Bekman wrote:
use Apache::URI ();
$r-parsed_uri-scheme;
returns http or https
Not really, you can spoof both:
Does the user have to spoof it deliberately in order for the wrong one to
be detected?
If
15 matches
Mail list logo