I want to use bash for some CGI stuff but cannot seem to get the query
string from the browser. I used bash years ago so I do not know if Apache
or bash itself has changed in this regard. (Please do not suggest another
language, I have written CGI is nearly every language but I must use bash
for this explicit project)
I have tried reading directly from STDIN with read, I have tried
accessing the ENV variables but QUERY_STRING or CONTENT_LENGTH is not
getting set. All the other CGI variables seem to be getting set
correctly.
GATEWAY_INTERFACE is getting set to CGI/1.1 which is correct.
Maybe I am making a bonehead mistake, been doinf EJB/servlets for the
past year, CGI is a bit foggy.
Can anyone give me some suggestions?
Thanks,
CC