Rob wrote:
> 
> Having problems running a cgi script and I'm not sure why although its
> probably something really simple!

Try switching on CGI logging. This will give you a lot more information
than you find in the error log:

The directive to use is:

ScriptLog       <your_apache_dir>/logs/common_script_log

Be careful of a few things with this directive (read the appropriate
documentation for it first):

- The logfile should be owned by the user apache runs as (e.g.
"apached"). This is different from most apache logfiles which are owned
by root.
- Do not continue to use this directive after you have debugged the
problem. It produces a lot of output and slows the server.

Other  tips:

- Try to execute the program from the command line to verify that it
works.
- Check that you are printing the CGI header before any other output.

Rgds,

OWen Boyle.
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to