Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 93115 invoked by uid 500); 21 Jul 2002 16:28:44 -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 93104 invoked from network); 21 Jul 2002 16:28:40 -0000 Received: from 790.webonline.co.za (160.124.112.67) by daedalus.apache.org with SMTP; 21 Jul 2002 16:28:40 -0000 Received: from localhost (c7-ndf-133.dial-up.net [196.33.192.133]) by 790.webonline.co.za (8.12.4/8.12.4) with SMTP id g6LGSNJx021366 for ; Sun, 21 Jul 2002 18:28:26 +0200 Message-ID: <007701c230d3$c2db7470$0100007f@localhost> Reply-To: "Vincent Kruger" From: "Vincent Kruger" To: References: <001001c230b9$890ba540$0100007f@localhost> <007701c230d3$411bd150$6601a8c0@dadz> Subject: Re: .htaccess help Date: Sun, 21 Jul 2002 18:29:11 +0200 Organization: Personal MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0074_01C230E4.82583210" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS - amavis-milter (http://www.amavis.org/) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0074_01C230E4.82583210 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I've always had problem with using the .htaccess AuthUserFile like you = have. try using the full path to the .htpasswd file e.g. = /usr/www/home/.htpasswd ----- Original Message -----=20 From: Tom=20 To: users@httpd.apache.org=20 Sent: Sunday, July 21, 2002 6:25 PM Subject: .htaccess help I am trying to require login to a directory admin/ in on my webpage. =20 I created a .htaccess file as follows AuthUserFile .htpasswd AuthGroupFile /dev/null AuthName Admin AuthType Basic require valid-user =20 I then created the .htpasswd file in the same directory. Next I tried to connect and could not get access to any webpage. So I = stopped and Started httpd and=20 could then connect, but no login screen for the admin/ directory. So what did I do wrong? =20 Thanks, Tom ------=_NextPart_000_0074_01C230E4.82583210 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I've always had problem with using = the .htaccess=20 AuthUserFile like you have.
try using the full path to the = .htpasswd=20 file  e.g.  /usr/www/home/.htpasswd
----- Original Message -----
From:=20 Tom =
Sent: Sunday, July 21, 2002 = 6:25 PM
Subject: .htaccess help

 
I am trying to require login to a = directory=20 admin/
in on my webpage.  =
 
I created a .htaccess file as=20 follows
 
AuthUserFile .htpasswd
AuthGroupFile = /dev/null
AuthName  Admin
AuthType Basic
 
<Limit GET POST>
require valid-user
</Limit>
 
 
I then created the .htpasswd file = in the same=20 directory.
 
Next I tried to connect and could = not get=20 access to any webpage.  So I stopped and Started httpd and =
could then connect, but no login = screen for the=20 admin/ directory.
 
So what did I do wrong?  =
  Thanks,
    Tom
 
------=_NextPart_000_0074_01C230E4.82583210--