Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 80127 invoked from network); 6 Feb 2004 20:13:20 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Feb 2004 20:13:20 -0000 Received: (qmail 97626 invoked by uid 500); 6 Feb 2004 20:12:46 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 97605 invoked by uid 500); 6 Feb 2004 20:12:45 -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 97584 invoked from network); 6 Feb 2004 20:12:45 -0000 Received: from unknown (HELO magicmiles.com) (12.111.80.124) by daedalus.apache.org with SMTP; 6 Feb 2004 20:12:45 -0000 Received: from [24.62.127.83] (24.62.127.83) by magicmiles.com with ESMTP (Eudora Internet Mail Server 3.1.4) for ; Fri, 6 Feb 2004 14:51:55 -0500 Mime-Version: 1.0 X-Sender: listuser-client%magicmiles.com@magicmiles.com Message-Id: Date: Fri, 6 Feb 2004 15:12:46 -0500 To: users@httpd.apache.org From: m i l e s Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] HTACCESS FIle ? X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I know this has probably been discussed before but... yes that's right....DUCK! Another Apache Stupid Newbie question....eeeeek! Below are the instructions I received from a friend of mine to set up access control for the apache webserver for folder level access. I set it up....created the .htaccess file via PICO as the superuser....and it doesn't work. Can anyone tell me what Im missing ? PS: Yes the password file is sitting in the users directory that is mentioned below. ++++++++++++++++++++++++++++++++++ 1.) To set up a password protected folder, you first create a .htaccess file within the folder you want to protect, that contains the following: AuthType Basic AuthName your_realm AuthUserFile /Users/username/nameofpasswordfile require valid-user 2.) Replacing "your_realm" with the name for your protected realm and the AuthUserFile path with the path to the file that contains the username/password combinations. 3.) Then, to create/add users to the user/password file, use the following command line operation: htpasswd [-c] passwordfile username (the -c creates a new file if you need to do so) -- M i l e s President & Toolbox Architect MagicMiles Software (413) 374 - 5161 PO Box 414, Northampton, MA 01060 http://www.servicetoolbox.com/ http://www.workshoptoolbox.com/ http://www.healingartstoolbox.com/ http://www.artshoptoolbox.com/ We create content management systems for the rest of us, starting at $25.00 a month, includes domain registration, web hosting, email and webmail. Great for Yoga Teachers, Massage Therapists, Lawyers, Doctors, and any professional! --------------------------------------------------------------------- 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