Main Board > Programming

Apache HTTP Interface

(1/1)

bteixeira:
The HTTP interface, where you receive a request and are writing to %print_fn with the html (or xml or json or whatever) that you want to return... does it have to be Apache?  In the documentation there's clearly scripting info in a .cgi file to say start PxPlus and runs *plus/apache/pxp_cgi.  Is there anything in there that requires Apache rather than a different web server?  For example, could I have an equivalent script in IIS that runs PxPlus *plus/apache/pxp_cgi and it will forward the web request and return the response to IIS?

Stéphane Devouard:
Hi
Up to 4 years ago, the Apache interface used to be compatible with IIS as well and there were some information about it in the « Running on the web » section of the doc IIRC.
It looks like this information has been moved to the Webster+ docs at
https://manual.pvxplus.com/PXPLUS/Webster/Webster%20Setup.htm#iis_setup
Basically you need to create a CGI handler for the .pxp file extension in IIS, and give all you web-based programs this common extension, and you should be good to go.
Hope this helps

Mike King:
Just to confirm what Stéphane posted, you can use IIS or pretty much any web server to launch PxPlus using CGI.

Make sure you add the PxPlus web program prefix to IIS as shown in the attached image

Navigation

[0] Message Index

Go to full version