httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] Help running perl cgi over apache
Date Tue, 17 Feb 2004 12:54:16 GMT
>
> >  print "Content-type: text/plain\n\n";
>
> Shouldn't that be \r\n\r\n on a Linux system?

Not in CGI - which explicitly says \n is enough.

> >  system("/bin/sh /path/to/command &");

The answer to that has been in the CGI FAQ since '96.  Close your
file descriptors.

-- 
Nick Kew

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message