It does not seem to work.
Code: Select all
import cgi
...
form = cgi.FieldStorage()
I assume it has something to do with the fact that VMS Apache - VMS Python is different from *nix Apache - *nix Python.
I have tried the obvious of doing a:
$ define/nolog sys$input apache$input
in the COM wrapper before starting Python, but it did not solve the problem.
(obvious because in C or whatever then one actually has to read form input from apache$input not stdin / sys$input - and it was what was needed to make it work on Alpha using JFP Python 2.7)