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, [email protected] wrote:
>
> Message: 16
> Date: Wed, 3 Dec 2014 11:19:17 +0800
> From: Peter W A Wood <[email protected] <mailto:[email protected]>>
> To: How to use LiveCode <[email protected]
> <mailto:[email protected]>>
> Subject: Re: Can't Start LiveCode Server Under Yosemite
> Message-ID: <[email protected]
> <mailto:[email protected]>>
> 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
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode