What factors should I consider when deciding whether to use Apache's mod_perl
or mod_cgi
, when configuring an existing web application?
What factors should I consider when deciding whether to use Apache's mod_perl
or mod_cgi
, when configuring an existing web application?
If it's a perl application and can run in either mode, mod_perl will be more efficient because Apache doesn't have to start a perl interpreter for every request. There's really no upside to using CGI instead.