Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: CGI::Carp fatalsToFile

by Bod (Parson)
on Oct 05, 2021 at 21:19 UTC ( [id://11137245]=note: print w/replies, xml ) Need Help??


in reply to Re: CGI::Carp fatalsToFile
in thread CGI::Carp fatalsToFile

Thanks hippo - I had forgotten about the old DST Root certificate issue...

It gave me an avenue to explore but alas, that's not it.

To test I have edited the .htaccess so that it does not enforce HTTPS. Then I have changed the code slightly to remove the HTTPS:

my $availability; my $response = LWP::Simple::getstore("http://$ENV{'HTTP_HOST'}/cgi-bin +/booking.pl?command=check&st=$data{'st'}&ed=$data{'ed'}&force=$data{' +force'}", $availability); print qq[("http://$ENV{'HTTP_HOST'}/cgi-bin/booking.pl?command=check&s +t=$data{'st'}&ed=$data{'ed'}&force=$data{'force'}")\n]; print "->$availability<-\n"; print "$response\n";
This still behaves the same. $availability is empty and $response is 500.
I have checked that pasting the URL into a browser still works and doesn't change to HTTPS.

Any other ideas of anything I can try to attempt to debug the issue?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2024-04-19 12:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found