View previous topic :: View next topic |
Author |
Message |
chiselwright n00b
Joined: 30 Jul 2003 Posts: 7 Location: Sussex, United Kingdom
|
Posted: Wed Jul 30, 2003 3:09 pm Post subject: mod_perl installation |
|
|
I've recently installed mod_perl on my machine:
Code: | emerge dev-perl/mod_perl
emerge sys-devel/libperl
|
I also ran the ebuild command:
Code: | ebuild var/db/pkg/dev-perl/mod_perl-1.27-r2/mod_perl-1.27-r2.ebuild config
|
Amongst other things this gave me:
Code: | <IfDefine PERL>
LoadModule perl_module extramodules/libperl.so
</IfDefine>
|
and
Code: | <IfDefine PERL>
AddModule mod_perl.c
</IfDefine>
|
So I went off to find /etc/conf.d/apache and now have:
Code: | APACHE_OPTS="-D PERL" |
However, when I stop/start the server (with /usr/sbin/apachectl) I can't access http://localhost/perl-status.
When I remove the IfDefines from the conf file, it loads the mod_perl module as I would expect.
From this I assume that /etc/conf.d/apache is being ignored by apachectl. I can't see anything in apachectl that refers to /etc/conf.d/apache either.
Have I missed something out, or done something wrong? |
|
Back to top |
|
|
cchapman Guru
Joined: 16 Jan 2003 Posts: 440 Location: Fremont, NE
|
Posted: Wed Jul 30, 2003 8:11 pm Post subject: |
|
|
use
Code: | /etc/init.d/apache2 restart |
|
|
Back to top |
|
|
chiselwright n00b
Joined: 30 Jul 2003 Posts: 7 Location: Sussex, United Kingdom
|
Posted: Thu Jul 31, 2003 10:58 am Post subject: |
|
|
cchapman wrote: | use
Code: | /etc/init.d/apache2 restart |
|
Oh, I'm such a spoon. That explains why it 'mysteriously' started working the next time I rebooted my laptop. *blush* |
|
Back to top |
|
|
cchapman Guru
Joined: 16 Jan 2003 Posts: 440 Location: Fremont, NE
|
Posted: Thu Jul 31, 2003 2:08 pm Post subject: |
|
|
ya, apachectl is an apache tool
the init script is setup to do all the fun stuff for php, perl and such in gentoo. |
|
Back to top |
|
|
|