The mod_perl Apache Module
Loading the mod_perl Apache Module embeds a copy
of the Perl interpreter inside the
Apache Web Server. mod_perl allows you to speed up
existing CGI scripts and also extend your web server in ways previously unavailable to most
webmasters.
Installation
Connect to your Virtual Private Server via Telnet or
SSH and do the following.
-
You will need to install the appropriate Perl module for the version of Perl you are running. You can
see which version of perl you are running by using the following command.
% virtual perl -v
-
Run one of the following commands, depending on your version of Perl, to install the correct version
of mod_perl.
% vinstall mod_perl-perl5.00503
or
% vinstall mod_perl-perl5.6.1
-
Add the one of the following lines to the top of your web server configuration file
(~/www/conf/httpd.conf), depending on which version of Perl you are using.
LoadModule perl_module modules/mod_perl-perl5.00503.so
or
LoadModule perl_module modules/mod_perl-perl5.6.1.so
More Information
For more information about mod_perl, see the following.
|