Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 28873 invoked by uid 500); 30 Dec 2002 22:53:47 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 28862 invoked from network); 30 Dec 2002 22:53:47 -0000 Received: from shawidc-mo1.cg.shawcable.net (HELO pd5mo1so.prod.shaw.ca) (24.71.223.10) by daedalus.apache.org with SMTP; 30 Dec 2002 22:53:47 -0000 Received: from pd6mr1so.prod.shaw.ca (pd6mr1so-qfe3.prod.shaw.ca [10.0.141.216]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H7Y00DRDFLSZ4@l-daemon> for users@httpd.apache.org; Mon, 30 Dec 2002 15:53:52 -0700 (MST) Received: from pn2ml7so.prod.shaw.ca (pn2ml7so-qfe0.prod.shaw.ca [10.0.121.151]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H7Y00E4AFLS26@l-daemon> for users@httpd.apache.org; Mon, 30 Dec 2002 15:53:52 -0700 (MST) Received: from shaw.ca (h24-80-110-238.vf.shawcable.net [24.80.110.238]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H7Y00J2LFLRJQ@l-daemon> for users@httpd.apache.org; Mon, 30 Dec 2002 15:53:52 -0700 (MST) Date: Mon, 30 Dec 2002 14:51:25 -0800 From: "J. Greenlees" To: users@httpd.apache.org Message-id: <3E10CDED.4020007@shaw.ca> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 References: <000f01c2b052$8c0acc80$0401a8c0@p1700> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] directory and /directory directives Paul Erkens wrote: > Can someone explain to me in normal words, what these directives do in > httpd.conf? They allow or deny access to a directory, but between the > and directives, a number of lines appear of which I > understand nothing yet, because the documentation is not straight-forward > enough for me to get the idea. > > 1: What is the idea in general for allow,deny? to use the directory directives you will also need to allow overrides, but it work out to your overriding directives here order allow deny allow from all this allows the .htaccess to override global configuration for this directory only. your overriding directives here order deny allow deny from all this will remove a global configuration option for this directory. if you globally allow indexes, but you don't want them in a specific directory, that is when you would use them. ( or visa-versa ) > 2: What happens is I leave them out entirely? the directory directive? no effect. the allow deny? the directory directive and overrides have no effect, and you get an error when starting apache. > 3: Do I need any option directives in this container or can they be left > out? > if you aren't going to use overriding directives, then it's best to not use the directory directive. Jaqui --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org