# To use RT together with mod_perl2, available in the # apache2-mod_perl package, include this file with: # # Include /etc/request-tracker/apache2/apache2-modperl2.conf # # into your Apache configuration file, in a virtual host section. # or symlink it into /etc/apache2/conf.d. # # You will need to enable the Apache modules: perl, actions # ( /usr/sbin/a2enmod perl; /usr/sbin/a2enmod actions ) # # AddDefaultCharset UTF-8 PerlSetEnv RT_SITE_CONFIG /etc/request-tracker/RT_SiteConfig.pm # You might need to alter references to /rt in this file (there are # three) to match whatever base URL you are using for your RT site Alias /rt /usr/share/request-tracker/html SetHandler modperl PerlResponseHandler Plack::Handler::Apache2 PerlSetVar psgi_app /usr/sbin/rt-server # Limit mail gateway access to localhost by default Require ip 127.0.0.1 Require ip ::1 Order Allow,Deny Allow from 127.0.0.1 Allow from ::1 use Plack::Handler::Apache2; Plack::Handler::Apache2->preload("/usr/sbin/rt-server"); # # Options None # AllowOverride None # # Require all granted # # # Order allow,deny # Allow from all # #