Re: how do you use it?
Marc Prewitt <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Tom Allison wrote: > I'm kind of perplexed here so I'll ask the stupid questions. > > When I use perl and call for a CGI module, I get with it all kinds of really > cool abilities related to %ENV and STDIN/STDOUT and the ability to even set > cookies... > > I can't find much of anything about what FCGI/FastCGI offers in terms of methods > or properties that are similar.. > Look at http://search.cpan.org/~lds/CGI.pm-3.20/CGI/Fast.pm with http://www.cpan.org/modules/by-module/FCGI/. It makes fcgi work exactly like cgi.pm except for environment variables. You get all headers and can set cookies with CGI::Cookie. You do get environment variables set but they are start on process startup and are not reset on a connection by connection basis. Stdout/Stderr are piped to the web server so that stdout is sent to the browser and stderr goes to the webserver error log. (If you're using mod_fcgi with apache.) ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/