Not too sure where the original instructions come from - perhaps activethought.net
7) Enable the actions and cgi mods:
a2enmod actions a2enmod cgi
8) Edit the Apache .conf file:
cd /etc/apache2/sites-enabled nano 000-default.conf
Here is the Apache 000-default.conf file.
You will also want to configure the Apache 000-default-le-ssl.conf with information from Let's Encrypt Livecode to configure secure https access to the server.
9) In the editor I added the 2 required lines as follows right before the end </virtualhost> line:
Action lc-script /cgi-bin/livecode-community-server AddHandler lc-script .lc
ctrl-x yes to save, enter to keep the file name (make sure you don't change it).
10) Restart your Apache server using:
service apache2 restart
or safer:
service apache2 stop; service apache2 start
You may get a message on restart about not being able to reliably determine the servers domain name, depending on how things are currently set up.
# See also
- Set up Your SSH Keys
- Lockdown Password Access
- Let's Encrypt Livecode
- Livecode Server on DigitalOcean
- Livecode .htaccess
- Nginx
- Revigniter
- activethought.net
- HostM - hostm ![]()