Bareword "REDIRECT" not allowed while "strict subs" in use

I just installed a new instance of rt-2-1-69 on a test machine with a
working copy of rt-2-0-15. After completing the initial install steps (
including: perl sbin/rt-test-dependencies --with-mysql --with-modperl1
–install ) to meet new prereqs, I’m now encountering the following error
when I try to restart apache with the new or old version of RT. Any help
would be appreciated.

[Fri Feb 7 00:31:52 2003] [error] Bareword “REDIRECT” not allowed while
“strict subs” in use at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 188.
BEGIN not safe after errors–compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 197.
Compilation failed in require at /usr/local/rt3-beta/bin/webmux.pl line 47.
BEGIN failed–compilation aborted at /usr/local/rt3-beta/bin/webmux.pl line
53.
Compilation failed in require at (eval 5) line 1.

Syntax error on line 315 of /usr/local/apache/conf/httpd.conf:
Bareword “REDIRECT” not allowed while “strict subs” in use at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 188.
BEGIN not safe after errors–compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 197.
Compilation failed in require at /usr/local/rt3-beta/bin/webmux.pl line 47.
BEGIN failed–compilation aborted at /usr/local/rt3-beta/bin/webmux.pl line
53.
Compilation failed in require at (eval 5) line 1.

./apachectl start: httpd could not be started

Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail

Jeff Holst wrote:

I just installed a new instance of rt-2-1-69 on a test machine with a
working copy of rt-2-0-15. After completing the initial install steps (
including: perl sbin/rt-test-dependencies --with-mysql --with-modperl1
–install ) to meet new prereqs, I’m now encountering the following error
when I try to restart apache with the new or old version of RT. Any help
would be appreciated.

You are aware that you’re doomed if you expect both the RT instances
to coexist under mod_perl on the same machine, right? mod_perl does
not play nicely with multiple apps. :frowning:

[Fri Feb 7 00:31:52 2003] [error] Bareword “REDIRECT” not allowed while
“strict subs” in use at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 188.
BEGIN not safe after errors–compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 197.

What version of HTML::Mason is installed? What version of mod_perl?
�|� Request Tracker... So much more than a help desk — Best Practical Solutions – Trouble Ticketing. Free.

Phil Homewood pdh@bestpractical.com writes:

You are aware that you’re doomed if you expect both the RT instances
to coexist under mod_perl on the same machine, right? mod_perl does
not play nicely with multiple apps. :frowning:

You can run two completely separated Apache servers, with two
different configurations, different Mason temporary directories, and
so on.

Florian Weimer Weimer@CERT.Uni-Stuttgart.DE
University of Stuttgart http://CERT.Uni-Stuttgart.DE/people/fw/
RUS-CERT fax +49-711-685-5898