[rt-users] RT 3.0.10 on Debian testing

Stephen Quinney stephen.quinney at computing-services.oxford.ac.uk
Tue May 18 05:42:15 EDT 2004


On Mon, May 17, 2004 at 02:02:48PM -0600, Joel wrote:
> I'm currently installing RT on a debian system.
> 
> I've installed the request-tracker3 debian package (3.0.10-2), Apache 
> (apache2-mpm-worker 2.0.49-1),
>   libapache2-mod-perl2 1.99.12-3.
> 
> The problem I am running into is with the perl/Apache setup. My current 
> setup serves file from the /var/www directory. I have added the "Include 
> "/etc/request-tracker3/apache-modperl.conf" line into my Apache setup, 
> and have linked /etc/apache2/mods-available/perl.load into 
> /etc/apache2/mods-enabled.  I did have to move the "PerlRequire 
> /usr/share/request-tracker3/libexec/webmux.pl" line out of the 
> <Directory></> section since I was getting errors with mod_perl2.

I just took a look at this myself as I have apache2 on Debian testing
although I've not tried using it with RT3 before. I have made some
progress although I have not yet got it working. The
apache-modperl.conf needed a bit of a rewrite for apache2. This is
what I have right now:

####
PerlOptions +GlobalRequest
PerlModule  Apache2
PerlModule  Apache::compat
PerlSetVar  MasonArgsMethod  CGI

RewriteEngine On
RewriteRule ^(.*)/$ $1/index.html

Alias /rt /usr/share/request-tracker3/html/

PerlModule Apache::DBI
PerlRequire /usr/share/request-tracker3/libexec/webmux.pl

<Directory /usr/share/request-tracker3/html/>
 AddDefaultCharset UTF-8
 <FilesMatch "\.html$">
   SetHandler perl-script
   PerlHandler RT::Mason
 </FilesMatch>
 Order Allow,Deny
 Allow from 127.0.0.1
</Directory>
####

That is mostly taken from the upstream docs file
/usr/share/doc/request-tracker3/README.gz. You will need to enable the
rewrite module as well as perl for this config. It now gets beyond the
not being able to serve the directory problem and is stuck because it
cannot find the RT::Mason module. The errors I get are:

[Tue May 18 10:28:48 2004] [error] [client 163.1.15.107] Can't locate RT/Mason.pm in @INC (@INC contains: /usr/local/share/request-tracker3/lib /usr/share/request-tracker3/lib /usr/lib/perl5/Apache2 /etc/perl /usr/local/lib/perl/5.8.3 /usr/local/share/perl/5.8.3 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 . /etc/apache2/ /etc/apache2/lib/perl) at (eval 1939) line 3.\n

I do not know enough about Apache2 to sort this out although I will
keep trying anyone here had success with Apache2 and can tell me how
to fix this problem?

Thanks in advance,

Stephen Quinney




More information about the rt-users mailing list