diff options
Diffstat (limited to 'mod_perl.pl')
-rw-r--r-- | mod_perl.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod_perl.pl b/mod_perl.pl index fe78c4be9..1e5c7fc63 100644 --- a/mod_perl.pl +++ b/mod_perl.pl @@ -53,6 +53,8 @@ my $cgi_path = Bugzilla::Constants::bz_locations()->{'cgi_path'}; # Set up the configuration for the web server my $server = Apache2::ServerUtil->server; my $conf = <<EOT; +# Make sure each httpd child receives a different random seed (bug 476622) +PerlChildInitHandler "sub { srand(); }" <Directory "$cgi_path"> AddHandler perl-script .cgi # No need to PerlModule these because they're already defined in mod_perl.pl |