Livecode Server on a Mac running OSX 10.9
Michael Doub
mikedoub at gmail.com
Thu Nov 14 16:37:05 EST 2013
Something must be very different now with the MAMP package. I installed it as you suggested but it put everything in:
/Users/mike/Library/Containers/com.bitnami.mampstack/Data/app/
except the MAMP application bundle which is in the applications directory.
I made the changes indicated below and the server failed to start with exit code 1. Do you see my error?
-= Mike
On Nov 13, 2013, at 12:58 PM, kee nethery <kee at kagi.com> wrote:
>
> inside that folder put the contents of the livecode community server.
>
> MAMP
> cgi-bin
> livecode-cgi
> drivers
> externals
> livecode-community-server
Under this base URL = /Users/mike/Library/Containers/com.bitnami.mampstack/Data/app/ I have the following:
Apache2
cgi-bin
live code-cgi
drivers
externals
live code-community-server
conf
extra
https.conf — this is the file that MAMP pulls up from their configuration interface button
…
htdocs
test.lc
index.html — default page that is displayed when successfully tested the MAMP installation
….
logs
You had the cgi-bin directory in parallel with the apache2 directory, I put it under apache2. A difference, but I don’t know it this is the issue.
Here are the changes I made in the https.conf file directories area:
DocumentRoot /Users/mike/Library/Containers/com.bitnami.mampstack/Data/app/apache2/htdocs
<Directory "/Users/mike/Library/Containers/com.bitnami.mampstack/Data/app/apache2/htdocs">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
#MDD original was --> Options Indexes FollowSymLinks
Options Indexes Multiviews
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
#MMRequire all granted
#MDD added below
Order allow,deny
Allow from all
AddHandler livecode-script .lc
Action livecode-script /livecode-cgi/livecode-community-server /Users/mike/Library/Containers/com.bitnami.mampstack/Data/app/apache2/cgi-bin/livecode-cgi/livecode-community-server"
#MDD add above
</Directory>
#MDD added below
<Directory "/Users/mike/Library/Containers/com.bitnami.mampstack/Data/app/apache2/cgi-bin/livecode-cgi/">
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
ScriptAlias /livecode-cgi/livecode-community-server /Users/mike/Library/Containers/com.bitnami.mampstack/Data/app/apache2/cgi-bin/livecode-cgi/livecode-community-server
#MDD add above
More information about the use-livecode
mailing list