[rt-users] Question about RedHat Installation

John Schubert jschubert at linearcorp.com
Tue Oct 14 17:51:58 EDT 2003


I got into the FAQ after sending my post and started to
suspect it was the apache server configuration.  The output
from the command you mention is:
mod_perl-1.99_05-3

As soon as I commented out the:
# added the next 6 lines for RT
#Alias /rt2 /usr/local/rt2/WebRT/html
#PerlRequire /usr/local/rt2/bin/webmux.pl                
#<Location /rt2>                         
#  SetHandler perl-script
 # PerlHandler RT::Mason
#</Location>

Apache would restart without complaint.  I read in the RTFM
to edit the $WEBPATH in config.pm, but a global "find"
failed to show me where that file is located.

With the 6 lines included, I see a : "Can't locate
/usr/local/rt2/bin/webmux.pl in @INC..." error during httpd
restart.  I searched for the webmux file and found it in
two places.  I'm not sure how I ended up with two, but they
are 
/var/www/html/rt-3-0-6/bin/webmux.pl
/opt/rt3/bin/webmux.pl

The first location is where I extracted the RT gz/tar file.
 I put it in /var/www/html because that's the apache root.
 I believe RT created the second on in /opt by default.

It almost sounds like this is a path issue, however I'm not
sure how to change the path since I'm not sure where to
look (it's not as easy as just vi .profile or echo $PATH,
AFAIK).

I greatly appreciate your time.  I am used to working with
Solaris on Sun boxes, so this is my first forray into a
different flavor.  So far, I miss my Ultra-10 :-)  

John
On 14 Oct 2003 15:14:10 -0500
 Les Mikesell <les at futuresource.com> wrote:
> On Tue, 2003-10-14 at 14:48, John Schubert wrote:
> > The problem is the HTML doesn't parse.  I know Apache
> is
> > working because it responds to port 80, however the
> index
> > displays the 
> > 
> > "%# BEGIN LICENSE BLOCK %# %# Copyright (c) 1996-2003
> Jesse
> > Vincent %# %# (Except where explictly superceded by
> other
> > copyright notices) %# %# This work is made available to
> you
> > under the..."
> > instead of processing it.  So I'm not sure if this is:
> > mod_perl problem (due to HTML::Mason complaints)
> > apache problem (due to my server not having a DNS-given
> > hostname)
> > or something with the build of RT.
> 
> It is an apache configuration problem.  You are getting
> the default text/html handler instead of a perlhandler.
> Your
>      SetHandler perl-script
>      PerlHandler RT::Mason
> aren't taking effect.  There is a separate rpm for
> mod_perl.
> Does 'rpm -q mod_perl' say you have one?
> 
> ---
>   Les Mikesell
>    les at futuresource.com
> 



More information about the rt-users mailing list