PDA

View Full Version : FC3, Mod_perl + Apache default install


naviztirf
4th February 2005, 03:41 AM
Hi all,

I hope you can shed some light on the default install of FC3 with apache and perl. Almost none of the documentation I find pertains to this particuar configuration. When I try to add mod_perl as a DSO I get that it's already loaded:

Starting httpd: [Thu Feb 03 19:37:06 2005] [warn] module perl_module is already loaded, skipping

I'm assuming I have to enable perl per directory? Right now it's not parsing the code at all, so I see the script in plaintext when I look at it with a browser.

/sbin/httpd_modperl doesn't seem to exist either :/

Any help is greatly appreciated!

Thanks,

-Navi
:confused:

Void Main
4th February 2005, 03:48 AM
If you have mod_perl installed you will see it by:

$ rpm -q mod_perl

mod_perl is an Apache module, not a standalone program. The module resides here:

/usr/lib/httpd/modules/mod_perl.so

It's configuration file is here (and where the module is told to load):

/etc/httpd/conf.d/perl.conf

Edit it and then:

# /sbin/service httpd reload

naviztirf
4th February 2005, 04:11 AM

Ah ok, thank you, that helps. What do I need to add to my httpd.conf? nothing? all the per directory directives should be in perl.conf?

Thanks again,

-Navi