We discovered an issue on our server yesterday and wanted to see if anyone had a line of investigation that might lead me to figure out what happened.
The Problem
A customization to our httpd.conf got blown away and I'm trying to track down what happened. I don't know exactly when this happened, but it was discovered yesterday (2017_10_25).
The customization instructed Apache to process .htm and .html files through PHP-FPM for the SSL version of our website (we have a few .htm/.html files with PHP code).
I think I made the customization in such a way that it would be safe from EasyApache4's httpd.conf regeneration script.
If interested, here is the approach I used to make this change:
PHP-FPM: Add file extensions to proxy_fcgi_module configuration
Ideas
I don't know what caused our customized config to disappear. Here are some ideas:
I appreciate in any advice or help in advance.
Thanks,
Ed Gifford
The Problem
A customization to our httpd.conf got blown away and I'm trying to track down what happened. I don't know exactly when this happened, but it was discovered yesterday (2017_10_25).
The customization instructed Apache to process .htm and .html files through PHP-FPM for the SSL version of our website (we have a few .htm/.html files with PHP code).
I think I made the customization in such a way that it would be safe from EasyApache4's httpd.conf regeneration script.
If interested, here is the approach I used to make this change:
PHP-FPM: Add file extensions to proxy_fcgi_module configuration
Ideas
I don't know what caused our customized config to disappear. Here are some ideas:
- Did an update to WHM reverted the change? I made the customizations on 2017-10-10. cPanel released updates on 2017-10-10, 2017-10-17, and 2017-10-23.
- I've been working on the server and tweaking PHP configuration. Perhaps I triggered something that undid my customization.
- Our security team went through the server hardening process last week. Maybe that triggered something that undid my customization. I have a query in with them about this.
I appreciate in any advice or help in advance.
Thanks,
Ed Gifford