apache - Premature end of script headers on one server but not another -
i have 2 servers. both running same code , connected same database. when make ajax call, 1 server works fine, , other throws internal server error. inside apache log of internal service error server, says 'premature end of script headers'. makes me think there apache error on 1 machine, apache folder looks identical on both machines.
what sort of differences between servers cause 1 throw error?
the error tells no headers output should output. typically happens cgi script fails reason , hence not output anything, or outputs stuff before outputting headers.
to debug it: in apache error log. tell went wrong.
to find error_log: errorlog directive in apache configuration file.
Comments
Post a Comment