Yosemite, Server.app and LiveCode Server

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
revRider
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 49
Joined: Sat Apr 02, 2011 4:06 pm

Yosemite, Server.app and LiveCode Server

Post by revRider » Tue May 05, 2015 2:21 am

Good Day.

Does anyone know if there is new instruction for configuring LiveCode Server, on a Yosemite Server? Could you post a URL? Just upgraded one of our servers to 10.10 running Yosemite Server APP and I was surprised to see, normal 'configuration' doesn't work.

Yes, I have web services configured and turned on. Everything else it working. Don't know if there is a new way to configure CGI-Bin... Tried to edit httpd.config, but even that changed... Rest of world doesn't seem to have noticed Apple's internal changes to the server. I DID, and I didn't like it.. <sigh>

Oh well.
Any assistance would be gratefully appreciated.

~David

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

Re: Yosemite, Server.app and LiveCode Server

Post by Peter Wood » Tue May 05, 2015 3:06 pm

David

I am running LiveCode Server on OS X Yosemite. When I upgraded to the Yosemite, I had to make some minor changes to the http.config file as OS X now ships with Apache 2.4 whereas previously it shipped with Apache 2.2. The Apache config syntax seems to have changed between versions 2.2 and 2.4.

I can't remember which changed so here are the entries that relate to LiveCode in my httpd.conf file:

Code: Select all


LoadModule mime_module libexec/apache2/mod_mime.so
LoadModule cgi_module libexec/apache2/mod_cgi.so
LoadModule actions_module libexec/apache2/mod_actions.so
LoadModule alias_module libexec/apache2/mod_alias.so

<IfModule alias_module>
ScriptAlias /livecode-cgi/ "<path to dir where LiveCode Server is stored with trailing />"
</IfModule>

<Directory "<path to dir where LiveCode Server is stored without trailing />">
    AllowOverride None
    Options +ExecCGI
    Require all granted
</Directory>

<IfModule mime_module>
    AddHandler lcscript .lc
    Action lcscript /livecode-cgi/<name of LiveCode Server exacutable>
</IfModule>



Hope this helps

Peter

revRider
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 49
Joined: Sat Apr 02, 2011 4:06 pm

Re: Yosemite, Server.app and LiveCode Server

Post by revRider » Wed May 06, 2015 6:06 pm

Saw / Found that online..

Tried a few dozen combinations, never got it to work..

Everything works fine on our older 10.6 servers, but not the 10.10..

We are still using the older revserver :
CGI-Executables/revserver/revserver

Executable is the last revserver.

The php code had <?rev and <irev changed all those to <?lc ...

Our code is fine, works fine on servers at other sites (older 10.6 as well). (School system)

~David

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: Yosemite, Server.app and LiveCode Server

Post by sturgis » Mon Jun 22, 2015 1:14 am

Where are you editing the config files for apache? If you're doing it in the /etc hierarchy, that's not where the server app files are stored. Look in /Library/Server/web/config/apache2/ and dig around for what you need.

Post Reply

Return to “Mac OS”