Anyone here have experience running a production setup through a browser? I have a Linux shell script that I want to run as a CGI script. I have no idea how any of this software stuff works, the web, shells, etc. I guess I have an overall grasp of how systems work, but all the web/ linux documentation is either way too sparse, or assumes a deep working knowledge of CGI, lighttpd, HTML. For example, even after reading the documentation, the documentation never mentionned that the /cgi-bin directory needs to be in the documentroot folder defined in a configuration file, and not necessarily the /usr/lib/cgi-lib directory the documentation keeps talking about. It's also not clear how to pass the setting of a HTML "form" to the script... They keep talking about environment variables... But it seems to depend on how your HTML is set up... I finally got some data to pass to the script by changing the form from a POST to a GET... And even then, the production script itself doesn't behave the same when run as a CGI script... It's all very annoying.
- posted
13 years ago