Hiawatha version: 9.1
Operating System: Arch Linux on ARM
Using a pretty barebones Hiawatha configuration including the following (non-default) elements:
CGIextension = cgi
TimeForCGI = 30
ExecuteCGI = yes (as a Directory entry to the cgi-bin folder)
The following code snippet in a CGI target works on Apache, but hangs until timeout in Hiawatha (Hugo, I know how much you love to hear that
:
#!/bin/bash
...
POST_DATA=$(</dev/stdin)
...
I've isolated the hang to that one line. I've verified that permissions aren't the issue (even setting the target of /dev/stdin to 777 didn't help), and I'm scratching my head to understand what the issue is. Google-fu didn't seem to help (or at least the two similar instances I found didn't seem related), I've scoured every post in the forum without a clear match, and there's nothing that stands out in the hiawatha.conf man page as a smoking gun.
Help?
Rodney