Install Livecode Server on macOSx with Xampp

Are you using LiveCode to create server scripts or CGIs?

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
jtrolle
Posts: 6
Joined: Thu Sep 05, 2019 9:31 pm

Install Livecode Server on macOSx with Xampp

Post by jtrolle » Thu Mar 05, 2020 1:20 pm

Hello, sorry for my English ... I don't speak much English and I use the translator...
I am trying to install LiveCode server on a Mac OX with Xampp..
I have looked through the forum, I have tried everything , I have seen all the LiveCode Lessons guides, and I have not got it to work

I am using a Mac with macOS Mojave 10_14_5
I have installed Xampp version 7_2 _28
and the liveCode server version: LiveCodeCommunityServer-9_5_1

Right now I have the LiveCode Server folder in the following path --> /Applications/XAMPP/xamppfiles/LiveCodeCommunityServer-9_5_1
I have modified the httpd,conf file that is in the path --> /Applications/XAMPP/xamppfiles/etc/httpd,conf


I have modified the file as I have seen in the manuals, being as follows:

Code: Select all

DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs"
<Directory "/Applications/XAMPP/xamppfiles/htdocs">
 	Options Indexes FollowSymLinks ExecCGI Includes
 
  	# JAVI scripts
  	#Options Indexes FollowSymLinks
 	 Allow from all
	Require local
  	AddHandler livecode-script .lc
  	Action livecode-script /livecode-cgi/livecode-community-server
  	# end JAVI script
  
   	AllowOverride All
   	Require all granted
</Directory>
  
 #JAVI scripts
<Directory "/Applications/XAMPP/xamppfiles/LiveCodeCommunityServer-9_5_1">
    Options Indexes FollowSymLinks MultiViews ExecCGI
    #Options ExecCGI
    Allow from all
    Require all granted
</Directory>

ScriptAlias /livecode-cgi/livecode-community-server /Applications/XAMPP/xamppfiles/LiveCodeCommunityServer-9_5_1/livecode-community-server

#end JAVI script

I created a test,lc file in the path --> /Applications/XAMPP/xamppfiles/htdocs/test/test,lc
This file has the following code

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>"

?>

</body>

</html>
The answer in the browser is as follows

¡Error del servidor!

Se ha producido un error interno en el servidor y no se ha podido completar su solicitud.

Mensaje de error:
End of script output before headers: livecode-community-server

Si usted cree que esto es un error del servidor, por favor comuníqueselo al administrador del portal.

Error 500

localhost
Apache/2 4 41 (Unix) OpenSSL/1 1 1d PHP/7 2 28 mod_perl/2 0 8-dev Perl/v5 16 3


Im looking for information, but I haven't seen anything that works

Is there anyone who can help me to run the LiveCode Server on MacOx with Xampp?

Thanks

Post Reply

Return to “CGIs and the Server”