Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 774 invoked by uid 500); 22 Apr 2002 13:40:12 -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 763 invoked from network); 22 Apr 2002 13:40:11 -0000 Received: from bull.bourse.ch (HELO bull1.bourse.ch) (194.158.1.1) by daedalus.apache.org with SMTP; 22 Apr 2002 13:40:11 -0000 Received: (from nobody@localhost) by bull1.bourse.ch (8.8.8+Sun/8.8.8) id PAA01486 for ; Mon, 22 Apr 2002 15:40:10 +0200 (MET DST) X-Authentication-Warning: bull1.bourse.ch: nobody set sender to using -f Received: from trifid2(172.20.196.132) by bull1 via smap (V2.1) id xma001484; Mon, 22 Apr 02 15:40:09 +0200 Received: from regulus.bourse.ch (regulus [172.20.196.148]) by trifid2.bourse.ch (8.8.8+Sun/8.8.8) with ESMTP id PAA22620 for ; Mon, 22 Apr 2002 15:40:09 +0200 (MET DST) Received: from bourse.ch (localhost [127.0.0.1]) by regulus.bourse.ch (8.9.3+Sun/8.9.3) with ESMTP id PAA15020 for ; Mon, 22 Apr 2002 15:40:08 +0200 (MEST) Sender: obo@bourse.ch Message-ID: <3CC412B8.EA23AC5B@bourse.ch> Date: Mon, 22 Apr 2002 15:40:08 +0200 From: Owen Boyle X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: users@httpd.apache.org Subject: Re: About .htaccess References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Carlos Costa Portela wrote: > > Ok. But is there any way to do that I can create my .htaccess > without insert anything in httpd.conf?. I don't want insert a new > block for each time I want to protect a directory, or > apply a new directive. Is there any way to achieve this? Try setting AllowOverride All at server-config level (i.e. outside of all and blocks. However, this is actually the default so it should work already - unless you switch it off somewhere else... (I think if you have even one AllowOverride directive anywhere, it switches off default behaviour everywhere). Rgds, Owen Boyle. --------------------------------------------------------------------- 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 For additional commands, e-mail: users-help@httpd.apache.org