I get this error: error: Error during compilation of /var/www/localhost/htdocs/rt/Tools/Offline.html: Can't locate RT/Action/CreateTickets.pm in @INC (@INC contains: PERL5LIB /usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.2/i686-linux /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl . /etc/apache/ /etc/apache/lib/perl) at /var/www/localhost/htdocs/rt/Tools/Offline.html line 83. Stack: [/var/www/localhost/htdocs/rt/Tools/Offline.html:83] [RT/Action/CreateTickets.pm:83] [/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Interp.pm:534] [/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Interp.pm:311] [/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Request.pm:198] [/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Request.pm:166] [/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/ApacheHandler.pm:60] [/usr/lib/perl5/vendor_perl/5.8.4/Class/Container.pm:265] [/usr/lib/perl5/vendor_perl/5.8.4/Class/Container.pm:343] [/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Interp.pm:213] [/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/ApacheHandler.pm:863] [/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/ApacheHandler.pm:789] [/usr/bin/webmux.pl:105] [RT/Action/CreateTickets.pm:83] BEGIN failed--compilation aborted at /var/www/localhost/htdocs/rt/Tools/Offline.html line 83. Stack: [/var/www/localhost/htdocs/rt/Tools/Offline.html:83] [/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Interp.pm:534] [/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Interp.pm:311] [/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Request.pm:198] [/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Request.pm:166] [/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/ApacheHandler.pm:60] [/usr/lib/perl5/vendor_perl/5.8.4/Class/Container.pm:265] [/usr/lib/perl5/vendor_perl/5.8.4/Class/Container.pm:343] [/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/Interp.pm:213] [/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/ApacheHandler.pm:863] [/usr/lib/perl5/vendor_perl/5.8.4/HTML/Mason/ApacheHandler.pm:789] [/usr/bin/webmux.pl:105] [/var/www/localhost/htdocs/rt/Tools/Offline.html:83] This looks like an @INC buglet as the rt paths don't appear anywhere in that list. I had a quick look but couldn't see why as I'd expect it to inherit @INC from webmux.pl (which sets it up correctly). If you want help debugging this, please let me know, I have an RT instance I can play about with.
Adding this line to the .htaccess file fixes it: PerlSetEnv PERL5LIB /usr/lib Also, its probably worth suggesting that this stuff goes into the configuration file somewhere, rather than a .htaccess file. I'm not sure of the speed implication of doing mod_perl'y stuff from a .htaccess.
Added it to postinstall instructions. In CVS, thanks