Hi i running my xojo web apps under plesk 12.5 and ubuntu 14.04. Wat is the best configuration for the apache setting for this two options, see attached pic.
Hi i running my xojo web apps under plesk 12.5 and ubuntu 14.04. Wat is the best configuration for the apache setting for this two options, see attached pic.
PHP is not related to Xojo in any way, so those settings does not affect to how Xojo web apps run.
Thanks Jose Maria, but the .cgi file of the web app is running under apache for start the web app, right?
Yes, but that “CGI” mode in Plesk, refers to the way PHP is executed, nothing related with .cgi’s.
Where run the CGI file of XOJO?
You must install (copy) the Xojo App’s files in /var/www/vhosts/YOUR_DOMAIN/httpdocs/cgi-bin/
Then set recursively the owner/group to the ones running the domain/apache (in Plesk under CentOS are: domain_user.psacln) (you can set them as the same that /var/www/vhosts/YOUR_DOMAIN/httpdocs has)
Then you access the app with: http(s)://YOUR_DOMAIN/cgi-bin/sopacalculator/sopacalculator.cgi
You can see one in action under Plesk in: https://www.automati-k.com/cgi-bin/sopacalculator/sopacalculator.cgi
This is a RC glow engine fuel calculator. No databases, only calc.
Yes, i understand this, but i want to know what is the server system/program that run cgi file, example apache, perl. I read in the past that the cgi file is running with pearl and pearl running inside apache, so what server configuration affect the cgi file.
AFAIK Plesk has no CGI configuration more than enable/disable support for CGI/FastCGI (in hosting configuration) are two check boxes to enable/disable them.
The following is as i understand this works * I must be completly wrong! *
As CGI is a program that runs in the OS (from the web server) i think there is no so much to configure at hosting (as Plesk understand) for it. Just think that your Xojo Web App is started by a Perl script that launches a binary program and interacts with it and “speaks” with the browser (via the Javascript loaded (Framework))
… Or something so.
Thank you very much Jose…