Monday 15 March 2010

apache - How does one build a website in Perl without CGI? -



apache - How does one build a website in Perl without CGI? -

i asked separate question python here, , told "classic cgi isn't best way utilize @ all. classic cgi server has spawn new process every request"

now working on perl-based website using apache, , scripts start with:

use cgi;

is problem? there newer or improve way build perl-based website?

write website using plack or framework built on top of plack (such catalyst or dancer/dancer2).

you have several options deploy website. can deploy cgi script (easy do, inefficient), or using fastcgi or apache's mod_perl, or forget apache altogether , utilize standalone perl web server such starman. yet alternative uwsgi conceptually similar fastcgi.

apache's mod_proxy allows take hybrid approach deployment. website running on apache, forwards requests particular urls through starman.

apache perl website cgi mod-perl

No comments:

Post a Comment