in reply to Premature end of script headers

try to put a test.cgi script in www dir with this :
#!/bin/sh
echo "Content-type: text/plain"
echo
set
It generates the same error in error.log