Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Check https connection open

by vit (Friar)
on Jun 16, 2011 at 14:57 UTC ( [id://909973]=note: print w/replies, xml ) Need Help??


in reply to Re: Check https connection open
in thread Check https connection open

I want to use HTTPS in my site url when it is available and HTTP when it is not.
On our production server we opened a special port in Amazon EC2 for HTTPS secure communication, whereas on my local server I don't have it.
So I want to form a right action automatically without manually changing to http on my local server and back to https on production server in my code.
In other words I want to put a right $action in
<form name="query_form" action=$action method="POST"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://909973]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-20 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found