Sambar Server Documentation

CGI FAQs


My CGI is failing, where can I find error output (stderr) ?
What environment variables are available to my CGI ?


My CGI is failing, where can I find error output (stderr) ?
By default the Sambar Server uses pipes to communicate between the server and the user's CGI. In this mode, no temporary files are created. However, if the CGI/WinCGI tmp Removal is set to either noerror or never, the temporary files associated with CGI execution will remain in the Sambar Server tmp directory. These files can be useful in debugging script execution (for each CGI executed, files are created showing input, output and stderr content).

What environment variables are available to my CGI ?

© 1999 Sambar Technologies. All rights reserved. Terms of Use.