Hi Charan, thanks (I will look at it) but I can see the headers from and to firefox with firebug too.
But I don't thnik that this will help me: I need to see what *apache* gets back from the cgi script! Reason: 1. apache gets a bad header/ bad code where the header is not OK 2. apache generates a nice correct html output page with an error message 3. my firefox sees this webpage (but not the bad code, its too late here) But again, thanks for the fast response ;-) Anton Charan wrote: > I guess you can use live http headers addon from firefox. > > > Thanks, > Charan > > > On Mon, Mar 15, 2010 at 8:41 AM, anton <anto...@gmx.de> wrote: > >> Hi, >> >> I get an error "Premature end of script headers:" >> >> Now, I know that apache get some wrong code, >> but I would like to get (to log in a file) this >> data which apache gets. >> >> Its a perl/cgi script which executes a php script and sends the result >> back. >> >> How can I "sniff" what apache gets back from a cgi (or php script)?? >> >> I didn't find information about this in the wiki or in the documentation, >> but other people get 500 errors too ... so there must be any >> possibilities to examine such an error? >> >> Anton >> >> >> >> --------------------------------------------------------------------- >> The official User-To-User support forum of the Apache HTTP Server >> Project. See <URL:http://httpd.apache.org/userslist.html> for more info. >> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >> " from the digest: users-digest-unsubscr...@httpd.apache.org >> For additional commands, e-mail: users-h...@httpd.apache.org >> >> --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org