Archive

Archive for the ‘mod_perl’ Category

Power of mod_perl

May 3, 2011 Leave a comment

What are the choices when the whole enterprise level application, written in old CGI code, is not performing as you expected?

One of the solutions you can adapt is to port the cgi code into mod_perl environment. Apart from speeding up the CGI scripts, it can do lot more other things like providing direct access to whole Apache API from perl. It embeds the Perl Interpreter into the Apache Web Server.   There are couple of guidelines explained here and its a very good starting  point.

CGI code can be tweaked in such a way that it works fine in mod_perl environment without re-writing the whole code itself. Of course one need to have a very closer look at the ‘Global Variables’ in the existing code.

Enjoy the power of coding!

Categories: mod_perl