Apache config resetting after every OS update
Yes, this is a general PITA. Why Apple feels it needs to blow away your httpd.conf settings (not to mention any others) is beyond me. Especially since they stopped supporting Apache &quot;out of the box&quot;.
The good news is they don't actually &quot;blow them away&quot; and there is an EASY way to see what files are changed on update AND GET THEM BACK:
/Users/Shared/Relocated Items/[All your files Apple deems worthy of fight you over] &lt;= It retains the Native structure, so you can immediately spot what you need to change. No guesswork.
If you miss an update there is ALSO /Users/Shared/Previously Relocated Items xxx/
xxx in the above is a number which represents every update. Mine is up to 13
In my case it's not just httpd.conf, but also ../extra/httpd-userdir.conf, etc.
I'm sure you can script a fix, but it would require a bit of logic. I just eyeball them after an update take a minute to rename (or mv, etc.)