From owner-freebsd-questions Mon Oct 4 5: 7:19 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost.criterion.canon.co.uk (mailhost.criterion.canon.co.uk [194.223.249.254]) by hub.freebsd.org (Postfix) with ESMTP id 3EE151528B for ; Mon, 4 Oct 1999 05:07:11 -0700 (PDT) (envelope-from adamn@csl.com) Received: from csl.com (hermes.criterion.canon.co.uk [194.223.249.13]) by mailhost.criterion.canon.co.uk (8.8.8/8.7.3) with ESMTP id MAA01938; Mon, 4 Oct 1999 12:56:30 +0100 (BST) Message-ID: <37F8985A.C9DAE1FE@csl.com> Date: Mon, 04 Oct 1999 13:06:50 +0100 From: Adam Nealis Organization: Criterion Software, Ltd. X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.34 i686) X-Accept-Language: en MIME-Version: 1.0 To: chris@tourneyland.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Apache Q - apache.conf vs httpd.conf? References: <3.0.6.32.19991002222634.008c5890@mail.9netave.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG chris@tourneyland.com wrote: > > Hey all, > > I was trying to configure my Apache (1.3.6), and none of the changes I was > making to httpd.conf seemed to be making a difference. I figured that was > my fault, till I noticed a file named apache.conf in the same directory. So > I tried editing it instead and all is well. > > I'm a little nervous about both being in the directory though. Do they both > belong there? That seems unlikely. One thing I was thinking, is that I did > an just did an install of Apache 1.3.6, even though it may have already > been installed. Since I've been using Apache 1.3.6 on Windows (yeah, I > know) for a few months now, I know that it uses httpd.conf, so I wouldn't > expect a change. But does the problem lie therein? > > Or more succinctly - I would like to kill httpd.conf if it isn't doing > anything. Apache from the ports tells the apache ./confgure script to use GNU layout. That includes compiling into apache that it's config file is apache.conf. As well as not using httpd.conf any more, two other stupid files, srm.conf and access.conf are "officially" merged into apache.conf as well. If you're nervous about consigning httpd.conf to the bit bucket, try this: cd /usr/local/etc/apache mv http.conf Httpd.conf /usr/local/sbin/apachectl -t (Tells apache to do a syntax test on its default conf file) If apache complains about bo config file, you know it's using httpd.conf. Otherwise it's using apache.conf. Probably. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message