in reply to Apache Perl CGI and VirtualHosts

This is the behaviour we would expect to see with mod_cgid (ie. when using a threaded MPM) as opposed to mod_cgi. Which of these two Apache modules are you using?

Replies are listed 'Best First'.
Re^2: Apache Perl CGI and VirtualHosts
by thedevopsguy (Initiate) on Mar 10, 2015 at 16:13 UTC
    Hi,

    My apache is built using MPM Worker and I'm loading mod_cigd apparently.

    LoadModule cgid_module modules/mod_cgid.so

    Do you think this is related? Do you recommed to switch over mod_cgi and test again?

    --The Dev Ops Guy

      In that case what you are seeing is the expected behaviour. You could switch to a non-threaded MPM (ie. prefork) and use mod_cgi instead but then of course you would lose all the benefits of the threaded MPM. It is entirely your choice as the web server admin which way you choose to go with that.

      Either way, it's not a perl-specific issue.