From owner-freebsd-questions Wed Feb 14 3:43:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clientmail.realtime.co.uk (simian.realtime.co.uk [194.205.134.131]) by hub.freebsd.org (Postfix) with ESMTP id 472BA37B401 for ; Wed, 14 Feb 2001 03:43:48 -0800 (PST) Received: from zaphod.realtime.co.uk ([194.205.134.208]) by clientmail.realtime.co.uk with esmtp (Exim 3.20 #1) id 14T0L9-0003PS-01; Wed, 14 Feb 2001 11:43:19 +0000 Received: from waynep by zaphod.realtime.co.uk with local (Exim 3.16 #1) id 14T0KH-0006vf-00; Wed, 14 Feb 2001 11:42:25 +0000 From: Wayne Pascoe To: Sergei Vyshenski Cc: freebsd-questions@freebsd.org Subject: Re: apache wants mod_env.c References: <4.3.2.7.2.20010214143449.00ab06a0@vivaldi.pn.sinp.msu.ru> Reply-To: wayne.pascoe@realtime.co.uk Date: 14 Feb 2001 11:42:25 +0000 In-Reply-To: <4.3.2.7.2.20010214143449.00ab06a0@vivaldi.pn.sinp.msu.ru> Message-ID: Lines: 28 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sergei Vyshenski writes: > /usr/local/etc/rc.d# ./apache.sh start > > it says: > > Syntax error on line 227 of /usr/local/etc/apache/httpd.conf: > Cannot add module via name 'mod_env.c': not in list of loaded modules > > What is it and how I can make apache run? Mod_env allows apache to pass environment variables to cgi scripts. You don't really need it for serving flat content, but it can be useful for serving up cgi scripts. To disable it, comment out the LoadModule and the AddModule lines that refer to it. To make sure that it is built, do ./configure --enable-module=all --enable-shared=max This will build all apache modules and will build as many as possible as DSO's... -- - Wayne Pascoe E-mail: wayne.pascoe@realtime.co.uk Phone : +44 (0) 20 7544 4668 Mobile: +44 (0) 788 431 1675 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message