httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Kruger" <>
Subject Re: .htaccess help
Date Sun, 21 Jul 2002 16:29:11 GMT
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 ----- 
  From: Tom 
  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.  

  I created a .htaccess file as follows

  AuthUserFile .htpasswd
  AuthGroupFile /dev/null
  AuthName  Admin
  AuthType Basic

  <Limit GET POST>
  require valid-user

  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 
  could then connect, but no login screen for the admin/ directory.

  So what did I do wrong?  

View raw message