Hey Jose,
I agree that the recent changes have made it more difficult to implement
CGI.
I've also wanted modify Quark to accept POST & PUT requests.
With the help of Ryzhikov's Base-CGI patch, I've come up with the
following:
https://github.com/jeremybobbin/quark
Basically, if you pass the `-x` option, when an executible file is
requested, Quark executes the file, writing the request body to stdin,
and writing stdout as the response.
I haven't tried to implement user authorization via filesystem
permissions, though I'd be curious to see what's possible.
Jeremy
Received on Thu Oct 22 2020 - 21:30:51 CEST