From owner-freebsd-questions Thu Nov 9 10:37:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gifw.genroco.com (genroco.com [205.254.195.202]) by hub.freebsd.org (Postfix) with ESMTP id 1E5FD37B479; Thu, 9 Nov 2000 10:37:31 -0800 (PST) Received: from gi2.genroco.com (IDENT:root@gi2.genroco.com [192.133.120.3]) by gifw.genroco.com (8.9.3/8.9.3) with ESMTP id MAA12857; Thu, 9 Nov 2000 12:37:23 -0600 Received: from scot.genroco.com (scot.genroco.com [192.133.120.125]) by gi2.genroco.com (8.9.3/8.9.3) with SMTP id MAA15298; Thu, 9 Nov 2000 12:37:20 -0600 Message-ID: <023201c04a7c$1910b7a0$7d7885c0@genroco.com> From: "Scot W. Hetzel" To: "John Heyer" Cc: , References: <1263184785.20001109130711@elcomsoft.com> Subject: Re: MOD_FP? (Was Frontpage, ScriptAlias, and .htaccess files) Date: Thu, 9 Nov 2000 12:37:17 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: "Alexei V. Alexandrov" > Hello John, > > Thursday, November 09, 2000, 6:05:34 AM, you wrote: > JH> Well I found the problem... > > JH> > JH> LoadModule frontpage_module libexec/apache/mod_frontpage.so > JH> > > JH> What does it take for MOD_FP to be true? I thought that's what "apachectl > JH> startfp" did. But in anycase it was false, because just commenting out > JH> the if statements cause everything to work out fine. > > start httpd with a -D swith like this: > httpd -DMOD_FP > then MOD_FP will be defined. > The /usr/local/etc/rc.d/apache.sh is supposed to start the server with: /usr/local/sbin/apachectl start_FP in order to set -DMOD_FP. If you had a previous Apache server installed, and the /usr/local/etc/rc.d/apache.sh wasn't removed before installing this port, then this ports apache.sh script doesn't get installed. Compare your /usr/local/etc/rc.d/apache.sh with the ports files/apache.sh.tmpl, if they are not similar you may want to copy apache.sh.tmpl to /usr/local/etc/rc.d/apache.sh, and then replace PERL5 with the location of your systems perl (/usr/bin/perl), and PREFIX with the prefixed used to install this port (/usr/local by default). Scot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message