Setting Up LiveCode Server on a Shared HostGator Server
Posted: Mon Oct 15, 2012 4:25 am
I had a time figuring this out so I'll share what I did in 3 simple steps.
Do the following to get LiveCode Server up and running on your shared HostGator server by doing the following:
1. Unzip the livecode-server for linux package into your /public_html/cgi-bin/ directory.
2. Set the permissions of the folders/files inside the /public_html/cgi-bin/ directory as follows:
3. Place the following code into the .htaccess file located in the /public_html/ directory:
If +FollowSymlinks is missing from /public_html/.htaccess on a shared HostGator server, you will get a 403 error when you try to navigate to a .lc page.
Congratulations! You should now be able to run your Livecode scripts from your shared HostGator server!
Do the following to get LiveCode Server up and running on your shared HostGator server by doing the following:
1. Unzip the livecode-server for linux package into your /public_html/cgi-bin/ directory.
2. Set the permissions of the folders/files inside the /public_html/cgi-bin/ directory as follows:
Code: Select all
drivers/ 0755
externals/ 0755
livecode-server 0755
3. Place the following code into the .htaccess file located in the /public_html/ directory:
Code: Select all
Options ExecCGI +FollowSymlinks
AddHandler livecode-script .lc
Action livecode-script /cgi-bin/livecode-server
Congratulations! You should now be able to run your Livecode scripts from your shared HostGator server!