[otrs-cvs] otrs/bin otrs.CreateApacheStartupFile.pl,1.3,1.4
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/bin
In directory lancelot:/tmp/cvs-serv24939/bin
Modified Files:
otrs.CreateApacheStartupFile.pl
Log Message:
Fixed bug#8533 - Apache will not start if you use mod_perl on Fedora 16 or 17.
Author: mb
Index: otrs.CreateApacheStartupFile.pl
===================================================================
RCS file: /home/cvs/otrs/bin/otrs.CreateApacheStartupFile.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -2 -u -d -r1.3 -r1.4
--- otrs.CreateApacheStartupFile.pl 13 Nov 2012 16:59:32 -0000 1.3
+++ otrs.CreateApacheStartupFile.pl 13 Dec 2012 14:40:32 -0000 1.4
@@ -114,8 +114,15 @@
\$ENV{MOD_PERL} =~ /mod_perl/ or die "MOD_PERL not used!";
-# switch to unload_package_xs, the PP version is broken in Perl 5.10.1.
-# see http://rt.perl.org/rt3//Public/Bug/Display.html?id=72866
BEGIN {
+ # switch to unload_package_xs, the PP version is broken in Perl 5.10.1.
+ # see http://rt.perl.org/rt3//Public/Bug/Display.html?id=72866
+
\$ModPerl::Util::DEFAULT_UNLOAD_METHOD = 'unload_package_xs';
+
+ # set $0 to index.pl because this is broken in mod_perl context;
+ # apart from that, on Fedora, $0 is not a path which would break OTRS.
+ # see bug # 8533
+
+ \$0 = '/opt/otrs/bin/cgi-bin/index.pl';
}
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log