[rt-commit] [svn] r462 - rt/trunk/bin
jesse at fsck.com
jesse at fsck.com
Wed Mar 3 11:11:16 EST 2004
Author: jesse
Date: Wed Mar 3 11:11:15 2004
New Revision: 462
Modified:
rt/trunk/bin/webmux.pl.in
Log:
Fix for Apache2 compatibility per http://www.freebsd.org/cgi/cvsweb.cgi/ports/www/rt3/files/patch-bin::webmux.pl
Modified: rt/trunk/bin/webmux.pl.in
==============================================================================
--- rt/trunk/bin/webmux.pl.in (original)
+++ rt/trunk/bin/webmux.pl.in Wed Mar 3 11:11:15 2004
@@ -32,6 +32,10 @@
$ENV{'ENV'} = '' if defined $ENV{'ENV'};
$ENV{'IFS'} = '' if defined $ENV{'IFS'};
@ORACLE_ENV_PREF@
+
+ eval { require Apache2; require Apache::compat }
+ if $ENV{'MOD_PERL'} and $ENV{'MOD_PERL'} =~ m{mod_perl/(?:2|1\.9)};
+
}
use lib ("@LOCAL_LIB_PATH@", "@RT_LIB_PATH@");
More information about the Rt-commit
mailing list