Date: Mon, 22 Oct 2001 11:50:01 -0700 (PDT) From: "Scot W. Hetzel" <hetzels@westbend.net> To: freebsd-ports@FreeBSD.org Subject: Re: ports/31422: Does pkg_delete have to erase /usr/local/www/data when removing and upgraded Apache? Message-ID: <200110221850.f9MIo1e55152@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/31422; it has been noted by GNATS. From: "Scot W. Hetzel" <hetzels@westbend.net> To: <FreeBSD-gnats-submit@FreeBSD.ORG> Cc: Subject: Re: ports/31422: Does pkg_delete have to erase /usr/local/www/data when removing and upgraded Apache? Date: Mon, 22 Oct 2001 13:42:56 -0500 From: "David W. Chapman Jr." <dwcjr@inethouston.net> > The following reply was made to PR ports/31422; it has been noted by GNATS. > > From: "David W. Chapman Jr." <dwcjr@inethouston.net> > To: Matt Barton <matt@fear.net> > Cc: freebsd-gnats-submit@FreeBSD.org > Subject: Re: ports/31422: Does pkg_delete have to erase /usr/local/www/data when removing and upgraded Apache? > Date: Mon, 22 Oct 2001 10:39:34 -0500 > > A simple fix if nobody seems to care to fix this is to have another > directory like /usr/local/share/apache/htdocs/ > and set DocumentRoot to that path > But this will not work for new users installing the apache server, as they will read the httpd.conf file and place their local content into the ../share/apache/htdocs directory. The best solution is to install the apache *.html.* files into ../share/doc/apache, and then only copy index.html.en to ../www/data/index.html, only if there is no index.html file in the ../www/data directory. When the port is uninstalled, it compares ../www/data/index.html to ../share/doc/apache/index.html.en before deciding to deleting index.html. The apache13-fp port uses this method. Scot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110221850.f9MIo1e55152>