From owner-freebsd-questions Fri Mar 16 21:55:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from snarf.osdn.com (snarf.osdn.com [209.192.217.153]) by hub.freebsd.org (Postfix) with ESMTP id 3E82637B718 for ; Fri, 16 Mar 2001 21:55:09 -0800 (PST) (envelope-from mij@osdn.com) Received: from guinness.osdn.com (root@localhost [127.0.0.1]) by snarf.osdn.com (8.11.3/8.11.3) with ESMTP id f2H5sw702582; Sat, 17 Mar 2001 00:55:08 -0500 (EST) (envelope-from mij@osdn.com) Received: by guinness.osdn.com (Postfix, from userid 1000) id 049E8110; Sat, 17 Mar 2001 00:54:52 -0500 (EST) Date: Sat, 17 Mar 2001 00:54:52 -0500 From: Jim Mock To: Charlie Root Cc: freebsd-questions@FreeBSD.ORG Subject: Re: http Message-ID: <20010317005451.A6931@guinness.osdn.com> Reply-To: mij@osdn.com References: <200103170548.f2H5m6v67226@hermes.niicommunications.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: <200103170548.f2H5m6v67226@hermes.niicommunications.com>; from root@hermes.niicommunications.com on Fri, Mar 16, 2001 at 11:48:06PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [ Please wrap your lines at around 72 characters. If it weren't for gqG in vim, I wouldn't be repling to this :-) ] On Fri, 16 Mar 2001 at 23:48:06 -0600, Charlie Root wrote: > greetings, > > I recently added auth_mysql and php modules to apache. I just noticec > on reboot however, that apache did not automatically load. I have > http_enable="YES" in /etc/rc.conf and there is an apache.sh script in > /usr/local/etc/rc.d I noticed there was no reference to http in > /etc/defaults/rc.conf so I am a little confused why it is not starting > automatically.. anyone have any ideas? thanks .. Erm, you can't make up things to put in rc.conf. The reason why there's nothing in /etc/defaults/rc.conf is because no such rc.conf option exists. So, the first thing you need to do is remove http_enable="YES" from rc.conf. Just wondering what else you might have made up and shoved in there scares the hell out of me. The second thing you should do is try to start the apache.sh script manually with: # /usr/local/etc/rc.d/apache.sh start If it still doesn't start, check the apache config and the httpd error log for clues. - jim -- - jim mock - O|S|D|N - open source development network - - http://www.freebsdzine.org/ - jim@freebsdzine.org - jim@FreeBSD.org - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message