oh wow.. ok .. you've got it easy on one hand because you have full access.. and hard on another because you have full access.
do this instead.. vim /usr/bin/debughttp (as root)
(you know how to set perms on that? chmod 0700, just you everything, everyone else nothing)#!/bin/sh # this is just an example #tail -f /var/log/httpd/error_log tail -f /var/log/httpd/ssl_error_log | sed 's/^.\+0.41\]\|\, referer.\ ++\.cgi\|\?rm=\w\+//g' # or just # tail -f /var/log/httpd/error_log
Open a terminal and # debughttp forget the CGI::Carp 'fatalsToBrowser' crap.. get rid of all that, get rid of the open(STDERR, '>>' .. all that.
Make sure you have the right path to your httpd error log
call the script from your browser and enjoy the wonder that is POSIX.
In reply to Re^3: a classic : 'Premature end of script headers' problem
by leocharre
in thread a classic : 'Premature end of script headers' problem
by hmbscully
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |