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
			
			
									
									
						Can't install livecode server on xampp
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
- 
				ghettocottage
 - Livecode Opensource Backer

 - Posts: 366
 - Joined: Tue Apr 10, 2012 9:18 am
 
Re: Can't install livecode server on xampp
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
			
			
									
									
						sudo a2enmod cgi
sudo a2enmod alias
sudo a2enmod actions
Re: Can't install livecode server on xampp
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
			
			
									
									
						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

 - Posts: 10065
 - Joined: Sat Apr 08, 2006 7:05 am
 - Contact:
 
Re: Can't install livecode server on xampp
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.
			
			
									
									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
						LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn