From owner-freebsd-hackers Fri Mar 22 23:13:48 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp2.san.rr.com (smtp2.san.rr.com [24.25.195.39]) by hub.freebsd.org (Postfix) with ESMTP id 0D87637B41F for ; Fri, 22 Mar 2002 23:13:37 -0800 (PST) Received: from mcarrhome.san.rr.com (66-74-202-182.san.rr.com [66.74.202.182]) by smtp2.san.rr.com (8.11.4/8.11.4) with ESMTP id g2N7DZ515013 for ; Fri, 22 Mar 2002 23:13:35 -0800 (PST) Message-Id: <5.1.0.14.2.20020322230013.00bbdc70@pop-server.san.rr.com> X-Sender: mcarr@pop-server.san.rr.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 22 Mar 2002 23:21:41 -0800 To: freebsd-hackers@FreeBSD.org From: Mike Carr Subject: apache13-ssl wiped out my Web pages Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_432917051==_.ALT" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=====================_432917051==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed I Have recently installed the Horde port to my machine. I did not have Apache+mod_ssl, PHP, or MySql installed on my system, just Apache serving up my companies files. The installation went fine up to the point when I went to check the installation and found that the Apahe13-ssl port had wiped out my web directories. This definitely needs to change! Here are some ideas 1) Show a warning prior to installing Apache, that the installation will wipe out the users current web pages 2) Make a backup of the files prior to wiping them out 3) leave all the data in data.default directory alone apache13-ssl/ pkg-plist This is the problem area @exec [ -d %D/www/data/ ] || ln -fs %B %D/www/data Line 131 -rw-r--r-- 1 root wheel 22804 Dec 2 15:17 pkg-plist # New ports collection makefile for: Apache + mod_ssl # Date created: Sat Aug 22 12:00:00 CDT 1998 # Whom: rse@engelschall.com # # $FreeBSD: ports/www/apache13-modssl/Makefile,v 1.94 2002/01/22 22:29:24 sf Exp $ # --=====================_432917051==_.ALT Content-Type: text/html; charset="us-ascii" I Have recently installed the Horde port to my machine.  I did not have Apache+mod_ssl, PHP, or MySql installed on my system, just Apache serving up my companies files.

The installation went fine up to the point when I went to check the installation and found that the Apahe13-ssl port had wiped out my web directories.  This definitely needs to change!

Here are some ideas
1) Show a warning prior to installing Apache, that the installation will wipe out the users current web pages
2) Make a backup of the files prior to wiping them out
3) leave all the data in data.default directory alone

apache13-ssl/   pkg-plist


This is the problem area

@exec [ -d %D/www/data/ ] || ln -fs %B %D/www/data
Line 131
-rw-r--r--    1 root  wheel  22804 Dec  2 15:17 pkg-plist

# New ports collection makefile for:    Apache + mod_ssl
# Date created:         Sat Aug 22 12:00:00 CDT 1998
# Whom:                 rse@engelschall.com
#
# $FreeBSD: ports/www/apache13-modssl/Makefile,v 1.94 2002/01/22 22:29:24 sf Exp $
#



--=====================_432917051==_.ALT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message