From owner-freebsd-questions@FreeBSD.ORG Sun Apr 18 16:20:00 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 272DB16A4CE for ; Sun, 18 Apr 2004 16:20:00 -0700 (PDT) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1987943D41 for ; Sun, 18 Apr 2004 16:20:00 -0700 (PDT) (envelope-from admin2@enabled.com) Received: from enabled.com (localhost.enabled.com [127.0.0.1]) by typhoon.enabled.com (8.12.11/8.12.11) with ESMTP id i3INJwa3035301 for ; Sun, 18 Apr 2004 16:19:58 -0700 (PDT) (envelope-from admin2@enabled.com) From: "Noah" To: freebsd-questions@freebsd.org Date: Sun, 18 Apr 2004 15:19:58 -0800 Message-Id: <20040418231354.M545@enabled.com> X-Mailer: Open WebMail 2.30 20040103 X-OriginatingIP: 64.121.33.4 (admin2) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: .htaccess in subdir of /usr/home//public_html X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2004 23:20:00 -0000 freeBSD 4.9-STABLE apache 1.3.29 okay I cant figure out how to get my .htaccess file working properly here is the configuration in the /usr/local/etc/apache/httpd.conf file: --- snip --- AllowOverride All Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ExecCGI Order allow,deny Allow from all Order deny,allow Deny from all --- snip --- here is the .htaccess file in a directory under /usr/local//public_html --- snip --- AuthName "Protected Area" AuthUserFile /usr/home//.htpasswd AuthType Basic require user --- snip --- here are the permissions of the files -rw-r--r-- 1 101 Apr 18 16:09 /usr/home//public_html//.htaccess and -rw-r----- 1 21 Apr 18 16:09 /usr/home//.htpasswd - Naoh