Can't Get Server Engine to Work on My Mac

Mike Bonner bonnmike at gmail.com
Fri Apr 20 06:13:14 EDT 2012


Hey, there should be a line to set the options for that directory, might
make sure that ExecCGI is there in the conf file.

Also, while not sure how likely this is, when you go looking for the right
set of conf files to modify, make sure that you don't have both /etc/httpd
folder and /etc/apache2  If you have both, the most likely location that
you should be modifying is the /etc/apache2 stuff. Also again if you have
both there is a chance that the set up of the files is a bit different in
that you won't modify the httpd.conf itself (though I think this can be
made to work) but instead there are a couple of folders for 'sites' (one
contains symlinks of the files of the other. Any file that has a symlink is
an active 'site' for your server)

Let me know if this is the case for you and i'll see if I can dig up my
info on setting up LC with the alternative structure.  I know its around
here somewhere.
On Wed, Apr 18, 2012 at  12:47 PM, Gregory Lypny <gregory.lypny at videotron.ca
> wrote:

> Hello everyone,
>
> I must have missed something because I can't get the server engine to work
> on my Mac.  Here's what I did.
>
> 1.  I placed the livecode-server executable and the drivers and externals
> folder into /Library/WebServer/CGI-Executables/
>
> 2.  I added these two lines
>
>        AddHandler livecode-script .lc
>        Action livecode-script /cgi-bin/livecode-server
>
> at the end of the <Directory "/Library/WebServer/Documents"> section of
> httpd.conf
>
> 3.  I restarted Apache by toggling the web sharing checkbox in system
> preferences
>
> To test the server, I created a page in iWeb and added an HTML snippet
> containing
>
>        <p> The internet date is <?rev put the internet date ?></p>
>
> Nothing from the snippet appears on the page.  What am I doing wrong?
>
> Gregory
>
>
>
>
> _______________________________________________
> 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
>



More information about the use-livecode mailing list