Page 1 of 1

Can't install livecode server on xampp

Posted: Sat Mar 17, 2018 9:42 pm
by mister
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

Re: Can't install livecode server on xampp

Posted: Sun Mar 18, 2018 12:39 am
by ghettocottage
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

Re: Can't install livecode server on xampp

Posted: Sun Mar 18, 2018 8:31 pm
by mister
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

Re: Can't install livecode server on xampp

Posted: Sun Mar 18, 2018 9:08 pm
by FourthWorld
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.

Re: Can't install livecode server on xampp

Posted: Tue Aug 21, 2018 10:23 pm
by MaxV