Skip to content

Commit

Permalink
Bug 1131404: checksetup.pl should check if mod_rewrite and mod_versio…
Browse files Browse the repository at this point in the history
…n are enabled

r=dkl a=glob
  • Loading branch information
LpSolit committed Feb 11, 2015
1 parent fe2e8f6 commit 052909b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
4 changes: 3 additions & 1 deletion Bugzilla/Install/Requirements.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down
15 changes: 9 additions & 6 deletions template/en/default/setup/strings.txt.pl
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,15 @@ END
***********************************************************************
* 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,
Expand Down

0 comments on commit 052909b

Please sign in to comment.