bakerjay has asked for the wisdom of the Perl Monks concerning the following question:
Running Apache 1.3.33 - relevant config is simple, just#!/usr/bin/perl use CGI; use FCGI; use Data::Dumper; my $count = 0; my $request = FCGI::Request(); while($request->Accept() >= 0) { print("Content-type: text/html\r\n\r\n"); print "Hello world - count = $count\n"; my $q = new CGI; print "Name = " . $q->param("name") ; $count++; }
So...how can I get the proper CGI params each time the page is loaded?FastCgiConfig -autoUpdate <Directory "/"> Options FollowSymLinks +ExecCGI AllowOverride None AddHandler fastcgi-script pl fpl fcgi </Directory>
Thanks very much
Jay
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Not getting CGI parameters under FastCGI
by almut (Canon) on May 23, 2008 at 22:50 UTC | |
by bakerjay (Initiate) on May 25, 2008 at 03:23 UTC | |
by bakerjay (Initiate) on May 25, 2008 at 04:51 UTC | |
|
Re: Not getting CGI parameters under FastCGI
by Anonymous Monk on May 24, 2008 at 08:26 UTC | |
by bakerjay (Initiate) on May 25, 2008 at 03:27 UTC |