Ticket #15980 (closed defect: duplicate)
apache2 @2.2.9_1 extra/* configuration files are overwritten when upgrading
|Reported by:||yann+macports@…||Owned by:||macports-tickets@…|
After upgrading from apache2 @2.2.4_1 to @2.2.9_1, I realized in horror that my httpd-vhosts.conf file had been erased and replaced by the default one.
Note that the main httpd.conf was preserved. But ALL files in /opt/local/apache2/conf/extra/ were replaced without warning. At the minimum, I would suggest making a backup of the user's conf files before replacing them. Or deliver the default files as httpd-xxxx.conf.sample, like what is done for the httpd.conf file.
I was out of the office, and therefore far from my backup, so I had to rebuild my complicated vhosts. Very painful...
Note: During the upgrade, I had to make a "port clean apache2" to have a successful compilation. Maybe it is related to the problem? Note: MacPort 1.600, Mac OS X 10.5.4