From owner-freebsd-questions@FreeBSD.ORG Sun Jun 6 17:16:01 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BB4D16A4CE for ; Sun, 6 Jun 2004 17:16:01 -0700 (PDT) Received: from bittern.mail.pas.earthlink.net (bittern.mail.pas.earthlink.net [207.217.120.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81E0443D2D for ; Sun, 6 Jun 2004 17:16:01 -0700 (PDT) (envelope-from rpratt1950@earthlink.net) Received: from user89.net1586.fl.sprint-hsd.net ([69.69.238.89] helo=kt.weeble.com) by bittern.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 1BX7nc-0004Tw-00; Sun, 06 Jun 2004 17:15:36 -0700 Date: Sun, 6 Jun 2004 20:16:37 -0400 From: Randy Pratt To: "Hutterer Robert" Message-Id: <20040606201637.208bbd19.rpratt1950@earthlink.net> In-Reply-To: <01a401c44c0c$bc79e480$0b00a8c0@virtual> References: <01a401c44c0c$bc79e480$0b00a8c0@virtual> X-Mailer: Sylpheed version 0.9.11 (GTK+ 1.2.10; i386-portbld-freebsd4.10) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@FreeBSD.org Subject: Re: Apache pkg-messagees X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 00:16:01 -0000 On Sun, 6 Jun 2004 23:24:47 +0200 "Hutterer Robert" wrote: > After upgrading to apache 1.3.29_4 you have to add a line to rc.conf > pkg_message in the ports tree says: > > ===> BE CAREFULL HOW TO BOOT on 1.3.29_4 or after: > To run apache www server from startup, add apache_enable="YES" > in your /etc/rc.conf. > > THIS IS A CLEAR MESSAGE > > In a similar way changes were made for apache-2.0.49_2 > BUT WHAT DOES THIS PKG-MESSAGE MEAN??? > > "Since 2.0.49_2, apache startup script is now enabled/disabled via > rc.subr. > Available variables: > - apache2_enable (bool): Set to "NO" by default. > Set it to "YES" to enable apache2 > - apache2ssl_enable (bool): Set to "NO" by default. > Set it to "YES" to start apache with SSL > (if exists in httpd.conf) > - apache2limits_enable (bool):Set to "NO" by default. > Set it to yes to run `limits $limits_args` > just before apache starts. > - apache2_flags (str): Set to "" by default. > Extra flags passed to start command > - apache2limits_args (str): Default to "-e -U %%WWWOWN%%" > Arguments of pre-start limits run." > > Should also some lines be addes to rc.conf ?????? Which one??? > > Clear messages would be very helpfull!! The entries go in /etc/rc.conf and take the form of other entries: apache2_enable="YES" The "(bool)" is a "YES" or "NO" value. Take a look at man rc.conf for more examples of this. Whether or not you need additional apache2 settings in /etc/rc.conf will depend on what you need. Chances are, if you don't know what they mean, then you won't need them. There has been an update to the pkg-message: http://docs.freebsd.org/cgi/mid.cgi?200406062153.i56LrItr083680 Often, you may find discussions in the archives relating to an issue you're having. I use the google-freebsd: http://groups.google.com/groups?hl=en&group=mailing.freebsd You can limit it to just the FreeBSD mailing lists by checking the appropriate circle. Try that and search for "apache2_enable" and it'll turn up yesterday's discussion of this same topic. Hope this helps some. Randy --