[MacPorts] #15980: apache2 @2.2.9_1 extra/* configuration files are overwritten when upgrading
MacPorts
noreply at macports.org
Mon Jul 14 07:49:59 PDT 2008
#15980: apache2 @2.2.9_1 extra/* configuration files are overwritten when upgrading
--------------------------------------------+-------------------------------
Reporter: yann+macports at daysofwonder.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: apache2 |
--------------------------------------------+-------------------------------
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
--
Ticket URL: <http://trac.macports.org/ticket/15980>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list