Installing integrated RT ticketing

Integrated ticketing is an new feature and these instructions are preliminary. Documentation contributions are welcome.

There is also support for running this integration against an external RT installation, but it is not (yet) documented.

Perl minimum version 5.8.3 is required. HTML::Mason is required.

Install the following perl modules:

Create a new Unix group called 'rt'

Edit the top-level Makefile, set RT_ENABLED to 1 and set the RT_DOMAIN, RT_TIMEZONE, and FREESIDE_URL variables.

make configure-rt
make create-rt
make install-rt

Add the following to your httpd.conf:

# replace /var/www/freeside with your freeside document root
<DirectoryMatch "^/var/www/freeside/rt/.*NoAuth">
<Limit GET POST>
allow from all
Satisfy any   
SetHandler perl-script
PerlHandler HTML::Mason
</Limit>
</DirectoryMatch>
# replace /var/www/freeside with your freeside document root
<DirectoryMatch "^/var/www/freeside/rt/.*NoAuth/images">
SetHandler None
</DirectoryMatch>
# replace /var/www/freeside with your freeside document root
<Directory /var/www/freeside/rt/Ticket/Attachment> 
SetHandler perl-script 
PerlHandler HTML::Mason 
</Directory>

Set the ticket_system configuration value to RT_Internal. You may also wish to set ticket_system-default_queueid once you have RT configured.

Bootstrap RT's permissions:

Follow the regular RT documentation to configure RT, setup the mailgate, etc.