]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1131404: checksetup.pl should check if mod_rewrite and mod_version are enabled
authorFrédéric Buclin <LpSolit@gmail.com>
Wed, 11 Feb 2015 13:45:43 +0000 (14:45 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Wed, 11 Feb 2015 13:45:43 +0000 (14:45 +0100)
r=dkl a=glob

Bugzilla/Install/Requirements.pm
template/en/default/setup/strings.txt.pl

index d722cc6d7ce6b83450d298bea438151e3c76bc9a..e9cf230c4f6304adae6a89888603f6f0b0ac18c1 100644 (file)
@@ -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;
index b6cd693d7a442ab39c9475775749a929a6643f81..77bc85d1cd46c15352b7f3ed2b890d5f4bd0645e 100644 (file)
@@ -318,12 +318,15 @@ EOT
 ***********************************************************************
 * APACHE MODULES                                                      *
 ***********************************************************************
-* Normally, when Bugzilla is upgraded, all Bugzilla users have to     *
-* clear their browser cache or Bugzilla will break. If you enable     *
-* certain modules in your Apache configuration (usually called        *
-* httpd.conf or apache2.conf) then your users will not have to clear  *
-* their caches when you upgrade Bugzilla. The modules you need to     *
-* enable are:                                                         *
+* Some Apache modules allow to extend Bugzilla functionalities.       *
+* These modules can be enabled in the Apache configuration file       *
+* (usually called httpd.conf or apache2.conf).                        *
+* - mod_headers, mod_env and mod_expires permit to automatically      *
+*   refresh the browser cache of your users when upgrading Bugzilla.  *
+* - mod_rewrite permits to write shorter URLs used by the REST API.   *
+* - mod_version permits to write rules in .htaccess specific to       *
+*   Apache 2.2 or 2.4.                                                *
+* The modules you need to enable are:                                 *
 *                                                                     *
 END
     modules_message_db => <<EOT,