From owner-freebsd-questions@FreeBSD.ORG Thu Nov 23 18:43:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B49A16A403 for ; Thu, 23 Nov 2006 18:43:26 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id E131A43D49 for ; Thu, 23 Nov 2006 18:42:48 +0000 (GMT) (envelope-from frankstaals@gmx.net) Received: (qmail invoked by alias); 23 Nov 2006 18:43:24 -0000 Received: from ip176-173-59-62.adsl.versatel.nl (EHLO [192.168.5.5]) [62.59.173.176] by mail.gmx.net (mp033) with SMTP; 23 Nov 2006 19:43:24 +0100 X-Authenticated: #25365336 Message-ID: <4565EBCF.8080008@gmx.net> Date: Thu, 23 Nov 2006 19:43:27 +0100 From: Frank Staals User-Agent: Thunderbird 1.5.0.8 (X11/20061119) MIME-Version: 1.0 To: VeeJay References: <2cd0a0da0611230634j6bcff387r14d1d8912e3a208c@mail.gmail.com> In-Reply-To: <2cd0a0da0611230634j6bcff387r14d1d8912e3a208c@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-questions@freebsd.org Subject: Re: Help... Installing from Port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Nov 2006 18:43:26 -0000 VeeJay wrote: > Hi > > If I will install Apache2 from the Port, how can I configure to add > module > or disable modules? > Like if I want to enable following modules, how can I do them VIA Ports? > Please find below the text from this Step-by-Step guide I am using. > But that > procedure is for manually downloading the archive, checking signatures > and > then configuring.... > > But how can I use Port system to get the same results? > > make install > > chown -R root:sys /usr/local/apache2 > > > ----------------- > > If we can configure in Port, so where it could be done and how? and if > its > in a file, where it would be placed? > go to the apache2 dir in your portstree ( generally /usr/ports/www/apache2/ ) run 'make config' to set options, if the specific options aren't there: copy the Makefile to Makefile.orig and add the '--enable-OPTION' and '--disable-OPTION' with the other compile options. Not sure though: but aren't a lot of those options also settable in the apache config file ? it might be a better idea to check that out first, so if you ever change your mind about a setting you don't have to recompile your intire apache2 port. -- -Frank Staals