Getting LC server to work on OSX
Matthias Rebbe
matthias_livecode_150811 at m-r-d.de
Tue Nov 5 08:23:04 EST 2013
I know your problem is already solved.
But i would like to share how i use livecode server under mac os x.
I am using DesktopServer from http://www.desktopserver.com
This tool, which uses xampp as the "base", let you create a virtual webserver with a user definable fictional domain name with just a few clicks. It even installs wordpress for you for that virtual domain if you want. You can create as many virtual servers as you like. You can select a template called "blueprint" when creating a virtual server. For livecode-server-use i created a special template which contains a
blank index.html, an index.lc and an .htaccess file (which contains the need code for livecode server integration).
To use livecode-server with my virtual webservers i just had to install livecode-server within the cgi-bin of desktopserver once. The .htaccess of the template i created does the rest.
Before DesktopServer, i used Xampp Pro, but now i prefer DesktopServer for my work. It´s much easier to work with.
There are 2 version of DesktopServer: a limited free version and a premium version.
A nice feature of the premium version is, you can very easily deploy your virtual wordpress site to a live server.
Maybe this is interesting for the one or the other.
Regards,
Matthias
Am 05.11.2013 um 01:14 schrieb Terry Judd <terry.judd at unimelb.edu.au>:
> I thought I'd finally dip my toe in and see how the LC server works.
>
> So, I downloaded the server (6.1.0) and followed the instructions in the relevant lesson...
>
> http://lessons.runrev.com/s/lessons/m/4070/l/36653-how-do-i-install-livecode-server-on-os-x-with-apache
>
> 1. I placed the LC server folder in my home folder...
>
> /Users/tsj/LiveCodeServer-6_1_0-Mac
>
> 2. Created a livecode-cig folder in my Sites folder
>
> /Users/tsj/Sites/livecode-cgi
>
> 3. And edited my .conf file so it looks like this...
>
> <Directory "/Users/tsj/Sites/">
> Options Indexes MultiViews
> AllowOverride None
> Order allow,deny
> Allow from all
> AddHandler livecode-script .lc
> Action livecode-script /livecode-cgi/livecode-server
> </Directory>
>
> <Directory "/Users/tsj/LiveCodeServer-6_1_0-Mac">
> Options ExecCGI
> Order allow,deny
> Allow from all
> </Directory>
>
> ScriptAlias /livecode-cgi/livecode-server "/Users/tsj/LiveCodeServer-6_1_0-Mac/livecode-server"
>
> 4. I then put a test file in my Sites folder (test.lc as per the example in the lesson)...
>
> But when I access the script (http://localhost/~tsj/test.lc) I consistently get a 403 error...
>
> Forbidden
> You don't have permission to access /livecode-cgi/livecode-server/~tsj/test.lc on this server.
> Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
> Apache/2.2.24 (Unix) DAV/2 Server at localhost Port 80
>
> What am I missing?
>
> Terry...
>
> Dr Terry Judd
> Senior Lecturer in Medical Education
> Medical Education Unit
> Faculty of Medicine, Dentistry & Health Sciences
> The University of Melbourne
>
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
Matthias Rebbe
Tel: +49 5741 310000
+49 160 5504462
eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de
More information about the use-livecode
mailing list