On Mon, Mar 15, 2010 at 11:41 AM, anton <antonxx@xxxxxx> 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? error log, http://httpd.apache.org/docs/2.1/mod/mod_cgi.html#scriptlog -- Eric Covener covener@xxxxxxxxx --------------------------------------------------------------------- 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-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx