Can't install livecode server on xampp

Creating desktop or client-server database solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
mister
Posts: 39
Joined: Thu Nov 27, 2014 9:03 pm

Can't install livecode server on xampp

Post by mister » Sat Mar 17, 2018 9:42 pm

i've been trying make Livecode server work with XAMPP 2.24 using the "latest" httpd.conf file on macOSX El Capitan using Livecode 8.13 with server 8.13. Yes, i have permissions. i've tried everything i could think of; i put the Add Handler inside the directory and outside it, etc i used an older livecode server 6_6_1. I even tried the user.config file based upon the livecode lesson(the link in the comments still doesn't work). Any help is appreciated.

ServerRoot "/Applications/XAMPP/xamppfiles"

#Listen 12.34.56.78:80
Listen 80
ServerAdmin you@example.com
ServerName localhost

<Directory />
AllowOverride none
Require all denied
</Directory>

DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs"
<Directory "/Applications/XAMPP/xamppfiles/htdocs">
Options Indexes FollowSymLinks ExecCGI Includes
AllowOverride All
Require all granted
AddHandler livecode-script .lc
Action livecode-script /livecode-cgi/livecode-community-server
</Directory>

ScriptAlias /livecode-cgi "/applications/xaamppfiles/cgi-bin/livecode-community-server"/livecode-server

<Directory "/Applications/XAMPP/xamppfiles/cgi-bin/LiveCodeCommunityServer"
AllowOverride All
Options ExecCGI Includes
Require all granted
</Directory>

Larry

ghettocottage
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 366
Joined: Tue Apr 10, 2012 9:18 am

Re: Can't install livecode server on xampp

Post by ghettocottage » Sun Mar 18, 2018 12:39 am

I have not ever tried on a mac, but on a typical apache web-server you also have to install a few extra modules like:

sudo a2enmod cgi
sudo a2enmod alias
sudo a2enmod actions

mister
Posts: 39
Joined: Thu Nov 27, 2014 9:03 pm

Re: Can't install livecode server on xampp

Post by mister » Sun Mar 18, 2018 8:31 pm

ghettocottage,

Thanks for the reply, i looked and there is a folder called "modules" which contain those. i assume that Apache can access them. i almost had the program work. The html almost always shows up, but one time the livecode output showed without the html text.Go figure! i've Googled for answers and tried everything i know. It will probably end up being a quotation mark out of place.

i'll try a little longer or maybe some one will know the answer. i just can't believe there isn't an updated lesson for this.
Thanks again,
Larry

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

Re: Can't install livecode server on xampp

Post by FourthWorld » Sun Mar 18, 2018 9:08 pm

There are too many server configurations for any single CGI engine maintainer to provide documentation for them all.

What's needed to use LC Server as a CGI is not much different from using any CGI not already included in a particular server.

You may have good luck searching among XAMPP resources for instructions on setting up CGIs in that config.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

MaxV
Posts: 1579
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: Can't install livecode server on xampp

Post by MaxV » Tue Aug 21, 2018 10:23 pm


Post Reply

Return to “Databases”