From owner-freebsd-questions Sat Aug 22 08:37:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA13473 for freebsd-questions-outgoing; Sat, 22 Aug 1998 08:37:06 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from outpost.nada.org (derby.JSP.UMontreal.CA [132.204.45.26]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA13468 for ; Sat, 22 Aug 1998 08:37:01 -0700 (PDT) (envelope-from beaupran@jsp.umontreal.ca) Received: from localhost (beaupran@localhost) by outpost.nada.org (8.8.8/8.8.8) with SMTP id LAA28323; Sat, 22 Aug 1998 11:36:14 -0400 (EDT) (envelope-from beaupran@jsp.umontreal.ca) X-Authentication-Warning: outpost.nada.org: beaupran owned process doing -bs Date: Sat, 22 Aug 1998 11:36:13 -0400 (EDT) From: Spidey X-Sender: beaupran@outpost.nada.org To: "Donald P. Dahlman" cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: apache files In-Reply-To: <35DDEE07.B81EE688@eoe-magical.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 21 Aug 1998, Donald P. Dahlman wrote: > any one heard of combining the srm.conf and access.conf files into the > httpd.conf > file in apache 1.2.6. If so what else is needed to make this work. I don't know apache 126, I use 130... But httpd.conf is readed first, and in mine I have 2 directives: AccessConfig and ResourceConfig This is the manual: ------------------------------------------- AccessConfig directive Syntax: AccessConfig filename Default: AccessConfig conf/access.conf Context: server config, virtual host Status: core The server will read this file for more directives after reading the ResourceConfig file. Filename is relative to the ServerRoot. This feature can be disabled using: AccessConfig /dev/null Historically, this file only contained sections; in fact it can now contain any server directive allowed in the server config context. ResourceConfig directive Syntax: ResourceConfig filename Default: ResourceConfig conf/srm.conf Context: server config, virtual host Status: core The server will read this file for more directives after reading the httpd.conf file. Filename is relative to the ServerRoot. This feature can be disabled using: ResourceConfig /dev/null Historically, this file contained most directives except for server configuration directives and sections; in fact it can now contain any server directive allowed in the server config context. See also AccessConfig. ------------------------------------------------------- So I think that all you need to do is to replace whatever ResourceConfig and AccessConfig entries by this: ResourceConfig /dev/null AccessConfig /dev/null It will then read only httpd.conf. But don't forget to: cat access.conf >> httpd.conf cat srm.conf >> httpd.conf !!! Or all that was in the 2 files will not be read!!! Spidey How 'bout a little ride through your own world? http://www.JSP.UMontreal.CA/~beaupran/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message