Kristyna Streitova
e078f69d56
- dropped 2.0 -> 2.2 modules transition during upgrade * apache-20-22-upgrade renamed to apache-22-24-upgrade - apache-*-upgrade script is called in %posttrans now [bnc#927223] OBS-URL: https://build.opensuse.org/request/show/311566 OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=450
23 lines
495 B
Bash
23 lines
495 B
Bash
#!/bin/bash
|
|
|
|
# obsolete 2.2 modules -> 2.4 modules
|
|
|
|
for module in mod_authn_default mod_authz_default mod_mem_cache authz_default authn_default mem_cache; do
|
|
if a2enmod -q "$module"; then
|
|
echo "!!ATTENTION! $module was removed from apache version 2.4 or later, CHECK YOUR CONFIGURATION!!!"
|
|
a2dismod "$module"
|
|
fi
|
|
done
|
|
|
|
if ! a2enmod -q authn_core; then
|
|
a2enmod authn_core
|
|
fi
|
|
|
|
if ! a2enmod -q authz_core; then
|
|
a2enmod authz_core
|
|
fi
|
|
|
|
if ! a2enmod -q log_config; then
|
|
a2enmod log_config
|
|
fi
|