From owner-freebsd-questions@FreeBSD.ORG Wed Aug 6 08:25:33 2003 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 4AA7C37B401 for ; Wed, 6 Aug 2003 08:25:33 -0700 (PDT) Received: from skywalker.rogness.net (skywalker.rogness.net [64.251.173.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4670943FA3 for ; Wed, 6 Aug 2003 08:25:32 -0700 (PDT) (envelope-from nick@rogness.net) Received: from skywalker.rogness.net (localhost [127.0.0.1]) by skywalker.rogness.net (8.12.5/8.12.5) with ESMTP id h76FWJ75067451; Wed, 6 Aug 2003 09:32:19 -0600 (MDT) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost)h76FWI4c067448; Wed, 6 Aug 2003 09:32:18 -0600 (MDT) X-Authentication-Warning: skywalker.rogness.net: nick owned process doing -bs Date: Wed, 6 Aug 2003 09:32:16 -0600 (MDT) From: Nick Rogness To: Mark In-Reply-To: <200308052047.H75KLHXV035258@asarian-host.net> Message-ID: <20030806092407.X67434-100000@skywalker.rogness.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@FreeBSD.ORG Subject: Re: Frontpage perils 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: Wed, 06 Aug 2003 15:25:33 -0000 On Tue, 5 Aug 2003, Mark wrote: [SNIP] > No errors reported, and it seems to have installed just fine; it says I > have a valid httpd, and httpd.conf has been changed to contain these two > lines: > > LoadModule frontpage_module libexec/apache/mod_frontpage.so > AddModule mod_frontpage.c > > And those files exist in the right place. All as expected. Then I try > and start the httpd daemon: > > --------------------------------------------- > asarian-host: {root} % /usr/local/sbin/httpd -DSSL > Syntax error on line 5 of /usr/local/etc/apache/httpd.conf: > Invalid command 'FrontPageEnable', perhaps mis-spelled or defined by a > module not included in the server configuration > --------------------------------------------- > > Eh? "FrontPageEnable" should be available when mod_frontpage has loaded. And > mod_ssl, in case you wondered, works fine by itself. And, unfortunately, > /var/log/httpd-error.log has no error-messages for this occasion. > > So, what am I missing again? "suexec" (which I believe is mandatory), is > compiled in too: > > --------------------------------------------- > asarian-host: {root} % /usr/local/sbin/httpd -l > Compiled-in modules: > http_core.c > mod_so.c > suexec: enabled; valid wrapper /usr/local/sbin/suexec > --------------------------------------------- > > If you have any suggestions left, I will gladly hear them. :) Thanks! Make sure the mod_fronpage directives aren't surrounded by some blocks that aren't being loaded. Line #5 is where the error is? What does your httpd.conf file look like? I'm not sure about ordering but I would move any Frontpage stuff to the bottom of your file after the Load/AddModule directives. Don't know for sure if httpd.conf gets processed in a linear fashion or not. BTW, you should be using apachectl to start/stop/restart httpd. 'apachectl startssl' (Not that it matters much). Nick Rogness - How many people here have telekenetic powers? Raise my hand. -Emo Philips