Thank a lot. It works. I am really a newbie in this
field. I hope that I can learn very quickly.
I installed everything with root user and I got
error
message like below when I launched a browser. What
type of user did you use to install RT to have the
right access privilege?
Forbidden
You don’t have permission to access /rt on this
server.
cpan> install mod_perl2
mod_perl2 is up to date (2.000002).It doesn’t work. mod_perl2 is up to date.
However,
I
still get the error information:[root@osg-tg2 bin]# ./httpd -k start
Syntax error on line 426 of
/usr/local/apache2_rt/conf/httpd.conf:
Invalid command ‘PerlModule’, perhaps misspelled
or
defined by a module not included in the server
configurationdo you have this in the LoadModule section?
LoadModule perl_module modules/mod_perl.so
Did I miss anyother configuration process?
Done by skipping test. Thanks a lot and I hope
it
works.— “Scott T. Hildreth”
shildreth@allantgroup.com
wrote:scotth# cpan
cpan shell – CPAN exploration and modules
installation (v1.83)
ReadLine support enabledcpan> i /mod_perl2/
CPAN: Storable loaded ok
Going to read
/usr/local/perl-5.8.8/cpan/Metadata
Database was generated on Fri, 17 Feb 2006
23:16:39 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:ftp://cpan.pair.com/pub/CPAN/authors/01mailrc.txt.gz
LWP failed with code[404] message[Can’t
chdir
to
pub]
Fetching with Net::FTP:ftp://cpan.pair.com/pub/CPAN/authors/01mailrc.txt.gz
Going to read
/usr/local/perl-5.8.8/cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Fetching with LWP:
ftp://cpan.pair.com/pub/CPAN/modules/02packages.details.txt.gz
LWP failed with code[404] message[Can’t
chdir
to
pub]
Fetching with Net::FTP:
ftp://cpan.pair.com/pub/CPAN/modules/02packages.details.txt.gz
Going to read
/usr/local/perl-5.8.8/cpan/sources/modules/02packages.details.txt.gz
Database was generated on Tue, 21 Feb 2006
23:17:00 GMTThere’s a new CPAN.pm version (v1.86)
available!
[Current version is v1.83]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It
should
be
a seamless upgrade
while we are running…Fetching with LWP:
ftp://cpan.pair.com/pub/CPAN/modules/03modlist.data.gz
LWP failed with code[404] message[Can’t
chdir
to
pub]
Fetching with Net::FTP:
ftp://cpan.pair.com/pub/CPAN/modules/03modlist.data.gz
Going to read
/usr/local/perl-5.8.8/cpan/sources/modules/03modlist.data.gz
Going to write
/usr/local/perl-5.8.8/cpan/Metadata
Module id = mod_perl2
CPAN_USERID PGOLLUCCI (Philip M.
Gollucci
pgollucci@p6m7g8.com)
CPAN_VERSION 2.000002
CPAN_FILE
P/PG/PGOLLUCCI/mod_perl-2.0.2.tar.gz
MANPAGE mod_perl - Embed a Perl
interpreter
in the Apache/2.x HTTP server
INST_FILE
/usr/local/perl-5.8.8/lib/site_perl/5.8.8/i386-freebsd/mod_perl2.pm
INST_VERSION 2.000002cpan>
…then type in install mod_perl2, it will
prompt
you
for the location of apxs.
Mine is in /usr/local/apache2/bin, so I give
it
the
full path,‘/usr/local/apache2/bin/apxs’
You might want to do a ‘which apxs’ before
you
start, so you know where it is.
I don’t use rpms or ports(I am running on
FreeBSD)
for Perl or Apache, I like
to compile myself. That way everything is
in
/usr/local/.
=== message truncated ===
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around