aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-02-11 14:49:08 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2015-02-11 14:49:08 +0100
commit052909b607d8700273c204ae6f5bd096764fc0be (patch)
tree40c30d0156cf26e54319f873689e39618e7415d9 /Bugzilla
parentfe2e8f649c29cea8368bbe8efa09450bfb58fc28 (diff)
downloadbugs-052909b607d8700273c204ae6f5bd096764fc0be.tar
bugs-052909b607d8700273c204ae6f5bd096764fc0be.tar.gz
bugs-052909b607d8700273c204ae6f5bd096764fc0be.tar.bz2
bugs-052909b607d8700273c204ae6f5bd096764fc0be.tar.xz
bugs-052909b607d8700273c204ae6f5bd096764fc0be.zip
Bug 1131404: checksetup.pl should check if mod_rewrite and mod_version are enabled
r=dkl a=glob
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Install/Requirements.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm
index b0884cc37..381c81e1a 100644
--- a/Bugzilla/Install/Requirements.pm
+++ b/Bugzilla/Install/Requirements.pm
@@ -49,6 +49,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
@@ -512,7 +514,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;