From owner-freebsd-questions Mon Oct 13 21:35:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA20664 for questions-outgoing; Mon, 13 Oct 1997 21:35:19 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from mail.illumen.net ([209.38.6.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA20659 for ; Mon, 13 Oct 1997 21:35:15 -0700 (PDT) (envelope-from ekraj@illumen.com) Received: from ekraj.illumen.com ([166.93.31.81]) by mail.illumen.net (8.8.5/8.8.5) with SMTP id WAA00287 for ; Mon, 13 Oct 1997 22:42:27 -0600 (MDT) Message-ID: <3442F836.698@illumen.com> Date: Mon, 13 Oct 1997 22:42:30 -0600 From: Enrique Krajmalnik Reply-To: ekraj@illumen.com Organization: The Illumen Group, Inc. X-Mailer: Mozilla 3.01Gold (Win95; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Password protected web site Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I am having two problems setting up a web site with password protection. 1. I have added the -lcrypt option under CFLAGS to compile the htpasswd file. It no longer reports any error messages when it compiles. However, when I try to execute it, I get a bad command or file name message. Any quick ideas on this? 2. I have modified the access.conf file, created an .htaccess file in the directory I wish to protect, and created an htpasswd file (using the web interface at euronet). I can access the site and it will propmpt for a username and password; it will properly authorize the user and bring up the web page. However, it only does this the first time the page is accessed. The browser must be exited and restarted for the pasword prompt to reappear. I am sure there is a simple fix for this. Still new to FreeBSD.... -- Sincerely, Enrique Krajmalnik ************************************************************ Enrique Krajmalnik President The illumen Group, Inc. http://www.illumen.com Email mailto:ekraj@illumen.com Phone 303-766-3120 ************************************************************