[rt-users] Can't locate Apache2.pm in @INC ??

Ahalya_Nathan at mudnebr.com Ahalya_Nathan at mudnebr.com
Fri Aug 26 13:32:44 EDT 2005


Hi,

We had installed RT with mod-perl 1 initially, now i am trying to install 
it with mod-perl 2. The way i went about is I used the previosuly 
configured RT, built mod_perl 2 and added the following to 
the httpd.conf file of apache :
*******************************************************************************************************************************************************************************************************************************
PerlModule Apache2
LoadModule perl_module modules/mod_perl.so

<VirtualHost *:80>
    ServerName domain.example.com
    ServerAlias domain
    ErrorLog logs/dummy-host.example.com-error_log
    CustomLog logs/dummy-host.example.com-access_log common
    DocumentRoot /usr/local/rt/share/html
    AddDefaultCharset UTF-8
    PerlModule Apache2 Apache::compat
    PerlModule Apache::DBI
    PerlRequire /usr/local/rt/bin/webmux.pl
    PerlSetVar MasonArgsMethod CGI

    <Location >
        SetHandler perl-script
        PerlHandler RT::Mason
        PerlOptions +ParseHeaders
        Options +ExecCGI
   </Location>
</VirtualHost>
*******************************************************************************************************************************************************************************************************************************
Apache fails to run if i add the first line "PerlModule Apache2". Do i 
have to configure RT again - - with -mod-perl2 option?? Because i didn't 
do that.

Regards,
Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District 
(402) 449-8218 phone
(402) 449-8131 fax
ahalya_nathan at mudnebr.com



"Jay R. Ashworth" <jra at baylink.com> 
Sent by: rt-users-bounces at lists.bestpractical.com
08/26/2005 09:32 AM

To
rt-users at lists.bestpractical.com
cc

Subject
Re: [rt-users] Can't locate Apache2.pm in @INC ??






On Thu, Aug 25, 2005 at 06:09:35PM -0400, Jesse Vincent wrote:
> On Thu, Aug 25, 2005 at 03:45:00PM -0500, Ahalya_Nathan at mudnebr.com 
wrote:
> > Hi all,
> > I am trying to run RT 3.4.1 with Apache 2.0.54 with mod_perl 2.01. 
Apache 
> > 2.0.54 fails to start up because of this error. Could someone give a 
> > solution for this.
> 
> You're going to be trying for a long, long time unless you upgrade. 
> RT 3.4.4pre2 and newer support mod_perl 2. Anything older than that 
> will not work with mod_perl2.

Are you certain of that fencepoint?  I'm reasonably certain I'm running
3.4.2, and it's working for me.

Cheers,
-- jra
-- 
Jay R. Ashworth jra at baylink.com
Designer                          Baylink                             RFC 
2100
Ashworth & Associates        The Things I Think                        '87 
e24
St Petersburg FL USA      http://baylink.pitas.com             +1 727 647 
1274

                 "NPR has a lot in common with Nascar... we both turn to 
the left."
                                 - Peter Sagal, on Wait Wait, Don't Tell 
Me!
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today! 

Download a free sample chapter from http://rtbook.bestpractical.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20050826/902884c8/attachment.htm>


More information about the rt-users mailing list