Re: The Perfect Server [SOLVED]
Posted: Tue Jun 02, 2020 9:48 pm
..also let us know what linux you are using: Ubuntu 18.04, Debian Stable, etc..
Questions and answers about the LiveCode platform.
https://forums.livecode.com/
The VPS is running on Ubuntu 18.04 Server 64bits.ghettocottage wrote: ↑Tue Jun 02, 2020 9:48 pm..also let us know what linux you are using: Ubuntu 18.04, Debian Stable, etc..
Code: Select all
<VirtualHost *:80>
AddHandler livecode-script .lc
Action livecode-script /cgi-bin/livecode-community-server
<Directory /var/www/yourwebsitefolder>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
DirectoryIndex index.lc
DirectoryIndex index.html
DirectoryIndex index.php
Require all granted
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
Require all granted
</Directory>
..
Code: Select all
<IfModule mod_ssl.c>
<VirtualHost *:443>
AddHandler livecode-script .lc
Action livecode-script /cgi-bin/livecode-community-server
<Directory /var/www/yourwebsitefolder>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
DirectoryIndex index.lc
DirectoryIndex index.html
DirectoryIndex index.php
Require all granted
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
Require all granted
</Directory>
...
Code: Select all
<VirtualHost *:80>
ServerAdmin admin@example.com
DocumentRoot /home/admin/web/lcservertest.com
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
AddHandler livecode-script .lc
Action livecode-script /cgi-bin/livecode-server
<Directory /home/admin/web/lcservertest.com/public_html>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
DirectoryIndex index.lc
DirectoryIndex index.html
DirectoryIndex index.php
Require all granted
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
Require all granted
</Directory>
<IfModule mod_ssl.c>
<VirtualHost *:443>
AddHandler livecode-script .lc
Action livecode-script /cgi-bin/livecode-server
<Directory /home/admin/web/lcservertest.com/public_html>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
DirectoryIndex index.lc
DirectoryIndex index.html
DirectoryIndex index.php
Require all granted
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
Code: Select all
<?lc
put the version
?>
Code: Select all
159.65.34.xx
vestacp.example.com
Powered by VESTA