Installing a Xojo Web App Server
We show how to install a virtual private server and run both Xojo 2019 and Xojo 2020 web apps.
All movies Watch on YouTube XojoWebAppServer.m4v (431M)
Download movies files
Right click on the links and choose to save files to disc.
Summary
We update server:
apt-get update apt-get upgrade
We install these packages:
apt-get install apache2 apt-get install php libapache2-mod-php apt-get install libunwind8 apt-get install perl6 apt-get install php-curl
Then let's Encrypt It certificate:
apt-get install certbot apt-get install python3-certbot-apache certbot --apache
In apache2.conf we add
AddHandler cgi-script .cgi
And we change AllowOverride to All.
We enable cgi:
a2enmod cgi systemctl restart apache2
And a Xojo 2019 CGI app runs.
For proxy, we enable it:
a2enmod proxy a2enmod proxy_http
We add a proxy for our virtual host:
ProxyPass "/" "http://localhost:8080/" ProxyPassReverse "/" "http://localhost:8080/"
And finally restart apache:
systemctl restart apache2
Xojo 2020 apps runs localhost only with:
./test2 --NetworkInterfaceIndex Loopback --SecureNetworkInterfaceIndex Loopback &
Watch other Xojo videos:
Xojo Update DBKit | |
Depot diversification visualization | |
More Design Patterns | |
Using URLConnection to Export to PDF | |
Xojo Performance | |
Web Development |