Redhat – How to tell is apache is configured to use perl

apache-2.2perlredhat

I've spent enough time looking around for answers to this with google and I give up. Plenty of discussions about how to build apache with perl support but I want to find out how to tell if the apache that comes with RHEL6.2 already has perl built in. I'm betting is it, but I have an httpd conf file that I've been using on RHEL apache servers since RHEL3 and it always just worked by dropping it into /etc/httpd/conf.d/ but now I tried it on RHEL6.2 and it just lists the source of my script as if perl isn't enabled. I figure the very first step is to verify perl is enabled and then step 2 will be to find out what's wrong with my configuration.

-mark

Best Answer

You can list the loaded modules in the stock RHEL/CentOS Apache with httpd -t -D DUMP_MODULES.

Related Topic