Page 1 of 1

Apache Upgrade

Posted: Thu Mar 28, 2024 3:41 pm
by matson-itops
My nagios server is currently running httpd-2.4.37-39.module+el8.4.0+12865+a7065a39.1.x86_64
I need to upgrade it to latest.

How do I do this and ensure I keep the config? I specifically need to know if
there are any configs outside of "conf" and "conf.d" I might need to check for.

NOTE : this apache set up is pretty basic default and only for nagios/nagios xi so no customizations, etc.

Re: Apache Upgrade

Posted: Thu Mar 28, 2024 4:29 pm
by bbahn
Hello @matson-itops,

When you update Apache, your package manager should preserve your configuration files and if any changes were made to the default configurations, they should be created alongside your existing configurations with the tag .rpmnew.

That said, it's always a good idea to back up your configurations before updating. You can check which configuration file Apache is using with the command httpd -S. Note that this will/may miss configurations defined in .htaccess files and any conditional blocks such as <IfModule>.