From 6d0ef0f640728b69f1d51ee2eb1e1d91e09e32e7 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 11 Feb 2015 14:45:43 +0100 Subject: Bug 1131404: checksetup.pl should check if mod_rewrite and mod_version are enabled r=dkl a=glob --- Bugzilla/Install/Requirements.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Bugzilla/Install/Requirements.pm') diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index d722cc6d7..e9cf230c4 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -50,6 +50,8 @@ use constant APACHE_MODULES => { mod_headers => 'headers_module', mod_env => 'env_module', mod_expires => 'expires_module', + mod_rewrite => 'rewrite_module', + mod_version => 'version_module' }; # These are all of the binaries that we could possibly use that can @@ -522,7 +524,7 @@ sub _missing_apache_modules { return []; } my @missing; - foreach my $module (keys %$modules) { + foreach my $module (sort keys %$modules) { my $ok = _check_apache_module($module, $modules->{$module}, $cmd_info, $output); push(@missing, $module) if !$ok; -- cgit v1.2.3-24-g4f1b