From owner-freebsd-questions@FreeBSD.ORG Sat Nov 25 11:27:46 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 515C116A415 for ; Sat, 25 Nov 2006 11:27:46 +0000 (UTC) (envelope-from maanjee@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E8B543D5E for ; Sat, 25 Nov 2006 11:26:57 +0000 (GMT) (envelope-from maanjee@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1016375wxc for ; Sat, 25 Nov 2006 03:27:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=J6sS2MFngno7m/eWcg64WeSqT5bUsFZhfN13wcxdjNIeCOkqU0/n+Sv5bEpt43+T6cZMekYZsq9kr0d8Jh/Ox/4fX86z5ECQxUao9kEyNMYKdvb7vASpVOfxOwtY/WpuPaqc8vLYY5cyBamdKnxDOCe01M6xBM+pwxhwQoHSUak= Received: by 10.100.119.14 with SMTP id r14mr1362239anc.1164454064464; Sat, 25 Nov 2006 03:27:44 -0800 (PST) Received: by 10.100.33.13 with HTTP; Sat, 25 Nov 2006 03:27:44 -0800 (PST) Message-ID: <2cd0a0da0611250327o39f92221le167e3e5a801b722@mail.gmail.com> Date: Sat, 25 Nov 2006 12:27:44 +0100 From: VeeJay To: "Frank Staals" In-Reply-To: <2cd0a0da0611231434rbccc96eq855d195ebf8b9713@mail.gmail.com> MIME-Version: 1.0 References: <2cd0a0da0611230634j6bcff387r14d1d8912e3a208c@mail.gmail.com> <4565EBCF.8080008@gmx.net> <2cd0a0da0611231434rbccc96eq855d195ebf8b9713@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Sat, 25 Nov 2006 11:27:46 -0000 On 11/23/06, VeeJay wrote: > > > > On 11/23/06, Frank Staals wrote: > > > > 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 > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > freebsd-questions-unsubscribe@freebsd.org > > > > > Hi > > When I give "make config" command I get error as follow: > > # make config > ===> No options to configure > > > I have also tried --enable-OPTION and --disable-OPTION... > > but didn't had any luck.... :( > > -- > Thanks! > > BR / vj > Hi How about to write like this? make WITHOUT_MODULES="charset-lite include env setenvif status autoindex asis cgi negotiation imap actions userdir alias so" WITH_MODULES="mpm=prefork access auth log_config mime dir" And after compiling with above command, I am getting this error when running apache # /usr/local/sbin/apachectl start Syntax error on line 41 of /usr/local/etc/apache2/httpd.conf: Invalid command 'Order', perhaps mis-spelled or defined by a module not included in the server configuration Even though I have added access, auth modules already.... in the make command... Please help!!! -- Thanks! BR / vj