u65 has asked for the wisdom of the Perl Monks concerning the following question:

Does anyone here use mod_psgi? I hear it discussed a bit in the Perl community in the context of Catalyst, Dancer2, etc., but the repo on github doesn't look active.

Note: The question above has also been asked on the Apache users list.

If the answer is yes, can you point me to a site using it?


Replies are listed 'Best First'.
Re: Anyone using mod_psgi for Apache?
by perlfan (Vicar) on Feb 22, 2016 at 21:39 UTC
    I looked into it at some point, but I forgot why I didn't continue with it. It was probably about the same time I was looking at CGI::Application::PSGI for application unit testing purposes.

    If I have an Apache stack available, I will usually go with CGI::Application with CGI::Application::Dispatch because it's easier to set up in that case. But if not, I'll go with Dancer2 and starman.

    There are many alternatives out there. If you're not just merely curious, what need do you have for it that can't be satisfied elsewhere, in particular?

      I have several static websites with a small amount of CGI scripts, but plan to have more. I have waited for mod_perl to be updated to Apache 2.4+ but it has been a LONG wait. PSGI has been touted as the preferred alternative to CGI and it seemed that mod_psgi would be the easiest way to convert. I have seen several posts here about converting existing CGI setups and your post helps. Thanks!

        I have waited for mod_perl to be updated to Apache 2.4+ but it has been a LONG wait.

        The wait ended last June. By all means investigate mod_psgi and other alternatives but don't be misled into thinking that mod_perl and Apache 2.4 are still incompatible.