Does anybody have a working example of the Apache 2 configuration to use
rt3 as an Alias?
I am trying to get rt3 to work on Fedora Core1, but I am having
difficulties.
So far I have only set up RT on Apache 1.x and all the examples that I
can find in the documentation is for Virtual Host setup, which we don’t
want to do.
I have used a similar setup as for Apache 1.3:
Alias /rt /opt/rt3/share/html
PerlRequire /opt/rt3/bin/webmux.pl
<Location /rt>
SetHandler perl-script
PerlHandler RT::Mason
Thanks
Andre Truter | Software Engineer | Registered Linux user #185282
ICQ #40935899 | AIM: trusoftzaf | http://www.trusoft.co.za
~ The box said: “Windows 95 or better”, so I installed Linux ~
signature.asc (189 Bytes)
Andre Truter wrote:
Does anybody have a working example of the Apache 2 configuration to use
rt3 as an Alias?
I am trying to get rt3 to work on Fedora Core1, but I am having
difficulties.
So far I have only set up RT on Apache 1.x and all the examples that I
can find in the documentation is for Virtual Host setup, which we don’t
want to do.
This is what I’m using to run rt3.2.0 release candidates on Fedora Core 2.
I think you know what this does
Alias /rt /opt/rt31/share/html
This is because I didn’t want to install RT’s required perl modules
into the system perl library area.
use lib '/home/mob22/perl/lib';
# These next 2 lines are straight from documentation.
PerlModule Apache2 Apache::DBI
PerlRequire /opt/rt31/bin/webmux.pl
# I seem to need this to work around an error.
# "Cannot find 'RT/Mason.pm' in include path"
$INC{'RT/Mason.pm'} = 1;
Mostly straight from documentation
<Directory /opt/rt31/share/html>
Order allow,deny
Allow from all
Options All
AllowOverride All
AddDefaultCharset UTF-8
Except this. This is an alternative to the Rewrite* directives
in the documentation. The reason for them is because the
standard DirectoryIndex behaviour is suppressed by SetHandler
I had problems getting the Rewrite solution to work, and
arrived at this alternate method.
<Files .>
SetHandler perl-script
PerlHandler RT::Mason
Catch a few things needed as well as the Files . above
<Directory /opt/rt31/share/html/Ticket/Attachment>
SetHandler perl-script
PerlHandler RT::Mason
<Directory /opt/rt31/share/html/SelfService/Attachment>
SetHandler perl-script
PerlHandler RT::Mason
<Directory /opt/rt31/share/html/REST>
SetHandler perl-script
PerlHandler RT::Mason
Hope that helps.
Max.