From owner-freebsd-questions Mon Apr 1 13:50: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tao.thought.org (sense-kline-249.oz.net [216.39.168.249]) by hub.freebsd.org (Postfix) with ESMTP id 52D5937B426 for ; Mon, 1 Apr 2002 13:49:26 -0800 (PST) Received: (from kline@localhost) by tao.thought.org (8.11.3/8.11.3) id g31LnNX01643; Mon, 1 Apr 2002 13:49:23 -0800 (PST) (envelope-from kline) Date: Mon, 1 Apr 2002 13:49:22 -0800 From: Gary Kline To: Gary Kline Cc: "Matthew D. Fuller" , FreeBSD Mailing List Subject: Re: help requested from apache wizards... Message-ID: <20020401134922.B1136@tao.thought.org> References: <200204011936.g31JaZp01133@tao.thought.org> <20020401133803.C95986@over-yonder.net> <20020401120929.A1136@tao.thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020401120929.A1136@tao.thought.org>; from kline@thought.org on Mon, Apr 01, 2002 at 12:09:29PM -0800 X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 15 years of service to the Unix community Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Apr 01, 2002 at 12:09:29PM -0800, Gary Kline wrote: > On Mon, Apr 01, 2002 at 01:38:03PM -0600, Matthew D. Fuller wrote: > > On Mon, Apr 01, 2002 at 11:36:34AM -0800 I heard the voice of > > Gary Kline, and lo! it spake thus: > > > > > > But putting the same line in a virtual side, into > > > index.shtml, gives me the following err from apache: > > > > > > You don't have permission to access / on this server. > > > > > > Any apache wizards know what I'm doing wrong here? > > > > You don't have index.shtml specified as a candidate for DirectoryIndex. > > > > Yes, that was the answer; now I'd like to know exactly > where this directive is allowed (andor disallowed). > > I put the line both within the tags > and inside my virtual server delimiters. Should/can it > be in both places? am I increasing the load on the server? > For the record, I'll answer my own question. Putting the "index.shtml" entry anywhere but within the tags causes the permission problem above. Putting the DirectoryIndex line elsewhere doesn't do anything ... well, it may burn up a few usec's of parsing as apache reads the http.conf. -g -- Gary Kline kline@thought.org www.thought.org Public service Unix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message