edit the file /etc/conf.d/apache and add to the following line APACHE_OPTS='-D PERL'
You may have other -D option like for PHP4 and SSL so you append your -D to the line. -----Message d'origine----- De : Mike Diehl [mailto:[EMAIL PROTECTED] Envoy� : 26 mars 2003 22:38 � : [EMAIL PROTECTED]; Ted Ozolins Cc : [EMAIL PROTECTED] Objet : Re: [gentoo-user] How to activate mod_perl in apache? On Wednesday 26 March 2003 6:38 pm, Ted Ozolins wrote: > On Wed, 2003-03-26 at 14:52, Mike Diehl wrote: > > I just finished emerge'ing mod_perl and apache. Now I'm trying to get > > apache to load mod_perl when it starts. What do I have to add to the > > apache.conf file? > > Within your httpd.conf file you should put these lines so that apache will > read yourr mod_perl.conf file. > > <IfModule mod_perl.c> > Include conf/mod_perl.conf > </IfModule> My system doesn't have a mod_perl.conf file anywhere on the filesystem. The problems is that I don't know how to get the module loaded in the first place. Until the module is loaded, IfModule will always evaluate false. I need to know how to set the LoadModule and AddModule directives. Actually, I'd like to know why we have to seemingly identical directives. Thanx in advance, Mike Diehl. -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
