From owner-freebsd-questions Wed Jun 19 4:40:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from freebsd.schema.ca (freebsd.schema.ca [142.59.253.48]) by hub.freebsd.org (Postfix) with ESMTP id 7CDD537B412 for ; Wed, 19 Jun 2002 04:40:11 -0700 (PDT) Received: from freebsd.schema.ca (localhost [127.0.0.1]) by freebsd.schema.ca (8.12.3/8.12.2) with ESMTP id g5JBe5rY033123; Wed, 19 Jun 2002 05:40:05 -0600 (MDT) (envelope-from pandaro@freebsd.schema.ca) Received: (from pandaro@localhost) by freebsd.schema.ca (8.12.3/8.12.3/Submit) id g5JBe1kT033122; Wed, 19 Jun 2002 05:40:01 -0600 (MDT) (envelope-from pandaro@freebsd.schema.ca) Date: Wed, 19 Jun 2002 05:40:01 -0600 From: "Mike A. Oligny" To: Alexander V Zubchenko Cc: freebsd-questions@FreeBSD.ORG Subject: Re: portupgrade of Apache deletes my web site? Message-ID: <20020619114001.GA33071@freebsd.schema.ca> References: <3D0FA627.3020300@freebsd.schema.ca> <20020619090221.Q16224-100000@server.hermes-comp.zp.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020619090221.Q16224-100000@server.hermes-comp.zp.ua> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On June 19, 2002 12:05 am, Alexander V Zubchenko wrote: > And, imho, better way is to change DocumentRoot in httpd.conf to > 'another directory'. Yes - I've tried /usr/www and /usr/home/www but I reverted to /usr/local/www/docs because a couple other ports I installed went into /usr/local/www by default; I like to keep web stuff in one place. Right now I'm using /usr/local/www/docs because it made sense at the time. Suggestions? /usr/local/www/data.default doesn't count, and the first person to suggest /var *will be set on fire. > $make install > If you are upgrading, the installation will not overwrite your > configuration files or documents." Well, this is true - it doesn't. It just deletes them. :) Personally, I think this could be in pkg-message, along with a warning when they start the make process... I can't remember the last time I looked at the handbook to build and install a port - not that it couldn't be there as well. Perhaps it could even check if data.default has been changed since last install, and if it has, stop and ask the user to run install again with some sort of FORCE flag. I see this has been moved to -questions. What is the -ports directory for? -Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message