Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 18th, 2001, 08:20 PM
footinmouth footinmouth is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: North Vancouver, BC, Canada
Posts: 44 footinmouth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
LPW and Https -- not implemented error

I am on win98, Apache 1.3.9, perl 5.6.0.


Using LPW for perl to perl simulated "post"

I am getting error = 501 Protocol scheme 'https' is not supported

I have one script on my local non https machine and the other is on a linux server that uses https for ecommerce.

I have put both files on this SSL server and still :

I am getting error = 501 Protocol scheme 'https' is not supported

========

I am not supposed to show this code as it is for an ecommerce site. I am looking for some one who has done https through LPW.

======
snippet of trouble:

my $url = "http://127.0.0.1/cgi-bin/y.cgi"; # works

but :

my $url = "https://127.0.0.1/cgi-bin/y.cgi"; # fails

my $req = POST $url, [
name1 => "$user",
address1 => "$home",
zip1 => "$num"
];


my $res = $ua->request($req);
my $err = $res->status_line; # Get the error back from the server if any
$_ = $res->as_string; # Get server body text, $_ used in regexp on next line

if (/Illegal Operation/ig || $err != 200) {
print "Server returned error.\n";
}
print "$err\n";
__________________
Thanks

Foot in Mouth ver 1.2.5 Onion

Reply With Quote
  #2  
Old June 18th, 2001, 11:07 PM
footinmouth footinmouth is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: North Vancouver, BC, Canada
Posts: 44 footinmouth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
No replay so .......

Sorry I cannot see a zero reply.
The answer is some where , or not.


Gasoline = 79.9 cents per Canadian perl dollar. [cheap stuff]

if (CDN) { $gas=84.4/litre }

if (USA) { $gas=5.00/gallon }


Sorry off topic but still crazy after all these years [ perl helped ]



Reply With Quote
  #3  
Old June 19th, 2001, 11:11 AM
footinmouth footinmouth is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: North Vancouver, BC, Canada
Posts: 44 footinmouth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Answer to my own question

Answer :

ppm install crypt-ssleay

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > LPW and Https -- not implemented error


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway