Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Just another Perl shrine
 
PerlMonks  

Re: CGI or CGI::Fast

by CountZero (Chancellor)
on Sep 08, 2012 at 11:27 UTC ( #992471=note: print w/ replies, xml ) Need Help??


in reply to CGI or CGI::Fast

Does your server run Fast CGI? If not, there is no reason why you would use CGI::Fast.

mod_fastcgi for Apache is a third-party module and can be found at www.fastcgi.com. You will also need to install the FCGI module from CPAN. Fast CGI also exists for other servers.

Much more info is to be found in the documentation.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics


Comment on Re: CGI or CGI::Fast
Re^2: CGI or CGI::Fast
by Anonymous Monk on Sep 08, 2012 at 11:42 UTC

    I ran a small test on the server using "CGI::Fast qw(:standard);", the page was correctly displayed. So I assume that means FCGI is installed?

      Below FCGI lives the actual Fast CGI engine in your server. I do not know what FCGI does when there is no such engine in the server. Anything between degrading gracefully to the "normal" CGI protocol and crashing loudly is possible.

      Ask your sysadmin if he has mod_fastcgi (when your server is Apache) active in your (virtual) server.

      CountZero

      A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

      My blog: Imperial Deltronics

        Ah I see. So even if the script runs with "CGI::Fast", it doesn't mean that mod_fastcgi is installed?

        Is there a variable from CGI::Fast that one can use for testing the presence or absence of the engine?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://992471]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (13)
As of 2014-04-16 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (433 votes), past polls