From owner-freebsd-questions Sun Apr 29 9:32:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fbsd.bosa.ca (cr1003901-a.rct1.bc.wave.home.com [24.113.37.99]) by hub.freebsd.org (Postfix) with ESMTP id 4131137B42C for ; Sun, 29 Apr 2001 09:32:23 -0700 (PDT) (envelope-from kulraj@bosa.ca) Received: from ska1 (h207-230-227-196.dccnet.com [207.230.227.196]) by fbsd.bosa.ca (Postfix) with SMTP id 4E20C158EB9 for ; Sun, 29 Apr 2001 10:39:35 -0700 (PDT) Message-ID: <00cb01c0d0c6$c2825fc0$64c8a8c0@asknet.com> From: "Kulraj Gurm (bosa.ca account)" To: Subject: apache .htaccess Date: Sun, 29 Apr 2001 09:09:24 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I must be doing something wrong : Running Apache 1.3.19 on FreeBSD 4.3 I created a .htaccess file, inside the DocumentRoot of a web site : AuthType Basic AuthName "Restricted" AuthUserFile /var/htusr/usrlst Require user abc123 def456 where abc123 and def456 are user's allowed access to a particular site. Then I execute htpasswd from /usr/local/apache/bin as follows : ./htpasswd /var/htusr/usrlst abc123 permissions on the files are as follows : -rw-r--r-- 1 root wheel 42 Apr 29 09:24 usrlst -rw-r--r-- 1 root nobody 95 Apr 29 08:54 .htaccess However, when the web site is browsed there is no prompt for a username or passwd, any ideas why? If someone has a different way of doing this or can find fault with the process shown above, please share your views. Regards, Kulraj Gurm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message