This site is created by Livecode. We use it to construct transporters.

The server is configured using Apache 000-default.conf

<VirtualHost *:80> ServerName DocumentRoot /var/www/ Action lc-script /cgi-bin/livecode-community-server AddHandler lc-script .lc </VirtualHost> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>

You can see from this config that the path to the document root is now:


Which has changed from the original multi-tenant hosting.

# Revigniter Revigniter serves urls as normal using the following routing: -

This uses a `.htaccess` file which enables pretty url routing and CORS headers:

Header add Access-Control-Allow-Origin "*" Header add Access-Control-Allow-Headers "Accept, Authorization, Content-Type" Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS" <IfModule mod_rewrite.c> RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^(index\.lc|image|img|assets|robots\.txt|css|js) RewriteRule ^(.*)$$1 [L] </IfModule>

You can find tis file in the DOCUMMENTROOT directory specified in the Apache 000-default.conf: