liburl cgi linux

Dave Cragg dcragg at lacscentre.co.uk
Tue Feb 7 11:38:32 EST 2006


On 7 Feb 2006, at 14:14, Thomas McCarthy wrote:

>
>> I'm assuming you want to post *from* the cgi (and not to it).
>
> Yes
>
>> In that case, you'll need to have the libUrl library loaded somehow.
>
> That's how I got it working before (Unix host, bsd rev engine). Now  
> with a Linux server, it doesn't appear to be working...hmm anyway  
> of checking? is there a site I can post to to check? Could be a  
> useful tool.

I just tried and realised the likely problem.

Did you make the "myliburl.rev" file from a recent version of Rev? If  
so, the libUrl script will cause a problem with the older cgi engine.  
Versions of liburl from 1.1 or later include the open secure socket  
syntax  which Rev engine versions prior to 2.6.1 won't like.

Two ways round this:

Make the myliburl.rev stack with an older version of Rev.

or

After making the myliburl.rev stack, edit the stack script and search  
for lines that contain "open secure socket" (there should be 2) and  
comment them out.

I just did the latter, and I can post from the cgi script on a Linux  
server.

Cheers
Dave



More information about the use-livecode mailing list