On 7/28/06, Chong Yu Meng <chongym@xxxxxxxxxxxxxx> wrote:
Hi all, I have just setup a new server and installed Apache on it. I have a requirement for mod_perl to be installed. I did a "yum install mod_perl" which executed with no errors. What I would like to know is: is there a way to test that mod_perl has been installed correctly? Something along the lines of say <? phpinfo(); ?> in php, which displays something so that I can verify that it is installed and working correctly?
The easiest way to confirm that mod_perl is installed and working is probably to activate the /perl-status location. You'll find it commented out in /etc/httpd/conf.d/perl.conf. Just uncomment it, change the Deny and Allow directives as appropriate and restart Apache. Then if you visit /perl-status on your server, you'll get lots of information about your mod_perl installation. hth, Dave...