Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mod_perl installation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
chiselwright
n00b
n00b


Joined: 30 Jul 2003
Posts: 7
Location: Sussex, United Kingdom

PostPosted: Wed Jul 30, 2003 3:09 pm    Post subject: mod_perl installation Reply with quote

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
View user's profile Send private message
cchapman
Guru
Guru


Joined: 16 Jan 2003
Posts: 440
Location: Fremont, NE

PostPosted: Wed Jul 30, 2003 8:11 pm    Post subject: Reply with quote

use
Code:
/etc/init.d/apache2 restart
Back to top
View user's profile Send private message
chiselwright
n00b
n00b


Joined: 30 Jul 2003
Posts: 7
Location: Sussex, United Kingdom

PostPosted: Thu Jul 31, 2003 10:58 am    Post subject: Reply with quote

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
View user's profile Send private message
cchapman
Guru
Guru


Joined: 16 Jan 2003
Posts: 440
Location: Fremont, NE

PostPosted: Thu Jul 31, 2003 2:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum