in reply to (Ovid) Re(3): Apache+cgi problem
in thread Apache+cgi problem

I remember the post on clpm too .... I think the point here is that what your program is emitting are CGI headers and not HTTP ones where the line separators should be as described. Indeed the draft CGI/1.2 Specification says :

   The server must translate the header data from the CGI
   header field syntax to the HTTP header field syntax if
   these differ. For example, the character sequence for
   newline (such as Unix's ASCII NL) used by CGI scripts 
   may not be the same as that used by HTTP (ASCII CR
   followed by LF). The server must also resolve any
   conflicts between header fields returned by the script
   and header fields that it would otherwise send itself.

Update: I didn't find the original post to which Ovid referred however i did find This thread in CLPM which has all manner of good stuff in it

/J\