Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: cgi malformed header script error: Bad header=!!!!!!!!!!!!! |
|
Author |
|
laq
Joined: 22 Oct 2007 Posts: 1
|
Posted: Mon 22 Oct '07 20:22 Post subject: cgi malformed header script error: Bad header=!!!!!!!!!!!!! |
|
|
OS= Windows XP
I have TCL cgi scripts which run fine on my tomcat5, but give the error: [client xxx] malformed header from script. Bad header=!!!!!!!!!!!!!!!!!!PROGRAM ABOR: test.cgi.
Since the configuration is so different between the two, I cannot find the reason for this.
I can tell the script is not being run at all, which implies to me it cannot figure out what to do with it.
How can I tell apache to run my .cgi scripts with tcl?
laq |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Tue 23 Oct '07 2:08 Post subject: |
|
|
Add to your config right under the ErrorLog directive
ScriptLog "/path/to/screipt-error.log"
Run the script after a restaring Apache and then read what it tell you in this log. It usually gives excellent info right down to line numbers |
|
Back to top |
|
|
|
|
|
|