[Bug 1738385] Request mod_perl package for EPEL 8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1738385



--- Comment #8 from Petr Pisar <ppisar@xxxxxxxxxx> ---
CGI::Fast is for running CGI scripts through FastCGI protocol. There is no need
for that. Instead you should execute the CGI scripts as a normal CGI script
directly by the httpd. You only need to configure httpd to load mod_cgid or
mod_cgi module (depending on active MPM implementation) and hook .cgi  file
names to that module (using "SetHandler cgi-script"). This is nothing new to
RHEL-8. It was like that even in RHEL-7.

For the long-running state-preserving jobs, you can use FCGI Perl module in the
job scripts (already packaged in RHEL-8). In my opinion CGI::Fast does not
provide many benefits comparing to FCGI module. In both cases you need to
change the scripts to contain the FastCGI loop. There is mod_fcgid for for
spawning the scripts from httpd. mod_fcgid has the nice feature that it nicely
reuses httpd MPM configuration (spawning multiple instances, load balancing,
limiting resources, restarting and watching scripts). If you want to get rid of
the FastCGI loop boilerplate code in your scripts I recommend rewriting them to
the PSGI interface and using Plack as a midleware between FastCGI protocol and
your script.

We can package perl-CGI-Fast in EPEL 8 if you find a use for that. I only
recommend you testing it first whether it fits your needs and works for you. My
haze recollections are I had some issues with it. But I cannot remember what
they were.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]

  Powered by Linux