use-livecode Digest, Vol 135, Issue 3
Gregory Lypny
gregory.lypny at videotron.ca
Wed Dec 3 07:51:36 EST 2014
Hi Peter,
Thank you for the heads up on the ps command. I was able to get Apache running with the original httpd.conf file. Apache does not run with the httpd.conf file that I modified the way you suggested in your previous post for LiveCode server. I must have entered something incorrectly or in the wrong place.
I added
<Directory "Library/WebServer/CGI-Executables/">
Options +ExecCGI
</Directory>
because the LiveCode server file is in the CGI-Executables folder.
I then added
ScriptAlias /livecode-cgi/ "Library/WebServer/CGI-Executables/”
within the existing section that begins with <IfModule alias_module> and ends with </IfModule>
And finally, I added
AddHandler lcscript .lc
Action lcscript /livecode-cgi/livecode-server
to the existing section that begins with <IfModule mime_module> and ends with </IfModule>
I notice that in my old Mavericks httpd.conf file, the last two statements, AddHandler and Action, appear in the section <Directory "/Library/WebServer/Documents”> rather than <IfModule mime_module>.
Gregory
> On Wed, Dec 3, 2014, at 6:00 AM, use-livecode-request at lists.runrev.com wrote:
>
> Message: 16
> Date: Wed, 3 Dec 2014 11:19:17 +0800
> From: Peter W A Wood <peterwawood at gmail.com <mailto:peterwawood at gmail.com>>
> To: How to use LiveCode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>>
> Subject: Re: Can't Start LiveCode Server Under Yosemite
> Message-ID: <6C0422D9-1743-4C33-AC28-8C132C48C316 at gmail.com <mailto:6C0422D9-1743-4C33-AC28-8C132C48C316 at gmail.com>>
> Content-Type: text/plain; charset=utf-8
>
> Hi Gregory
>
> The first think that I would check is whether Apache is actually running or not. This is how I checked on my machine, using the ps command:
>
> Schulz:~ fatty$ sudo apachectl start
> Schulz:~ fatty$ ps -U www
> PID TTY TIME CMD
> 35439 ?? 0:00.00 /usr/sbin/httpd -D FOREGROUND
> Schulz:~ fatty$ sudo apachectl stop
> Schulz:~ fatty$ ps -U www
> PID TTY TIME CMD
> Schulz:~ fatty$ sudo apachectl start
> Schulz:~ fatty$ ps -U www
> PID TTY TIME CMD
> 35458 ?? 0:00.00 /usr/sbin/httpd -D FOREGROUND
>
> The next thing I would check would be the Apache error log, which you you should be able to do with this command:
>
> tail /private/var/log/apache2/error_log
>
> Regards
>
> Peter
More information about the use-livecode
mailing list