Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 82718 invoked by uid 500); 15 Apr 2003 02:47:15 -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 82705 invoked from network); 15 Apr 2003 02:47:14 -0000 Received: from spitfire.velocet.net (216.138.223.227) by daedalus.apache.org with SMTP; 15 Apr 2003 02:47:14 -0000 Received: from mail.gej-it.com (gej-it.com [216.138.220.213]) by spitfire.velocet.net (Postfix) with ESMTP id 345BE4BB6E4 for ; Mon, 14 Apr 2003 22:44:23 -0400 (EDT) Received: from jeff ([216.138.220.213]) by gej-it.com ([216.138.220.213]) with SMTP (MDaemon.PRO.v6.7.7.R) for ; Mon, 14 Apr 2003 22:44:13 -0400 From: "Jeff Cohen" To: Date: Mon, 14 Apr 2003 22:44:13 -0400 Message-ID: <000401c302f8$e71bf560$0400a8c0@gejit.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <90A3BA28098BD411AD9A0001FA7E505503456181@smtp.slackinc.com> Importance: Normal X-Lookup-Warning: EHLO lookup on jeff does not match 216.138.220.213 X-MDRemoteIP: 216.138.220.213 X-Return-Path: support@gej-it.com X-MDaemon-Deliver-To: users@httpd.apache.org X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] I want to password protect all directories except one.... Instead of putting an .htaccess file all over the server's directories, copy the same directives that you have in your .htaccess file and make a new entry in your conf file that will look like that: AllowOverride Auth AuthUserFile location of .htpasswd file AuthName "Welcome message, Please Login" AuthType Basic require valid-user Alias /public /route/to/public/folder Order allow,deny Allow from all This should do the work. All the best, Jeff Cohen -----Original Message----- From: George Gallen [mailto:ggallen@slackinc.com] Sent: Monday, April 14, 2003 1:48 PM To: users@httpd.apache.org Subject: [users@httpd] I want to password protect all directories except one.... my .htaccess file looks like: AuthUserFile location of .htpasswd file AuthName "Welcome message, Please Login" AuthType Basic require valid-user Which works just fine, but since it's in my top level directory, it protects all the way down the tree However, I want to setup a directory that I can place some dynamically produced html files that non-users can access. Do I just put a new .htaccess file in the directory I don't want protected? or can I specify in my top level .htacess the directory not to protect? Thanks George --------------------------------------------------------------------- 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