CGI processing + LC + OS X

Are you using LiveCode to create server scripts or CGIs?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
rdmiller
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 15
Joined: Thu Mar 29, 2012 10:46 am

CGI processing + LC + OS X

Post by rdmiller » Thu Dec 18, 2014 9:28 pm

What is the latest version of the LC engine that can be used with the latest version of OS X to process CGI scripts? Apparently, no LC engine can be used for this purpose with Yosemite.

Thanks,
Richard Miller

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: CGI processing + LC + OS X

Post by FourthWorld » Fri Dec 19, 2014 12:02 am

I use Linux exclusively for servers, but others here have noted success using the latest LC Server build on the more recent OS X versions:
http://downloads.livecode.com/livecode/
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Peter Wood
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 92
Joined: Mon Jul 06, 2009 4:53 am
Location: Bamboo River

Re: CGI processing + LC + OS X

Post by Peter Wood » Sat Dec 20, 2014 12:44 am

Why do you say "Apparently, no LC engine can be used for this purpose with Yosemite."?

I believe that is not true.

rca
Posts: 16
Joined: Wed Aug 03, 2011 8:22 pm

Re: CGI processing + LC + OS X

Post by rca » Mon Aug 03, 2015 4:59 am

I can't get it working either on Yosemite
Tried the recommended Apache 2.4 updates etc

Server has been working for years with MAMP, with Apache 2.2 on a 10.9 .5 mac
I cannot get it working on a 10.10machine - spent a whole day on it - trying every configuration of httpd.conf etc

shouldn't be this hard
very disappointing

Peter Wood
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 92
Joined: Mon Jul 06, 2009 4:53 am
Location: Bamboo River

Re: CGI processing + LC + OS X

Post by Peter Wood » Tue Aug 04, 2015 4:41 am

I happily run LiveCode server on OS X Yosemite. I ran this script:

Code: Select all

<html>
<head>
<title>My LiveCode Server Test Page</title>
</head>
<body>
<h1>My LiveCode Server Test Page</h1>
<?lc
put "<p>Hello World! from LiveCode Server</p>"
put "<p>The date is" && the date & "</p>"
put "<p>The platform is" && the platform && ",version" && the systemVersion & "</p>"
put "<p>The version is" && the version & "</p>"
?>
</body>
</html>
I got this result.

Code: Select all

My LiveCode Server Test Page

Hello World! from LiveCode Server

The date is 8/4/15

The platform is MacOS ,version 10.10.4

The version is 6.6.5
There was a configuration file syntax change with Apache 2.4. I posted the key parts of the configuration I use with OS X Yosemite in an earlier message in this forum.

Post Reply

Return to “CGIs and the Server”