sdaltrey
07-25-2002, 06:23 AM
Hi,
I am trying to setup password protection on one of my web server directories. I have installed the .htaccess file in the required directory and setup the password file .htpasswd.
The problem is nothing happens when I access the directory from my web server.
I have tried all sorts of settings in the .htaccess file such as password authenication, IP access lists, and redirects, but nothing happens.
Here is a sample .htaccess file I've tried:
AuthType Basic
AuthUserFile /usr/home/steve/.htpasswd
AuthName "Authorised User"
AuthGroupFile /dev/null
<Limit GET>
require user steve
</Limit>
Any help on this would be much apreciated!
thanks
Steve
I am trying to setup password protection on one of my web server directories. I have installed the .htaccess file in the required directory and setup the password file .htpasswd.
The problem is nothing happens when I access the directory from my web server.
I have tried all sorts of settings in the .htaccess file such as password authenication, IP access lists, and redirects, but nothing happens.
Here is a sample .htaccess file I've tried:
AuthType Basic
AuthUserFile /usr/home/steve/.htpasswd
AuthName "Authorised User"
AuthGroupFile /dev/null
<Limit GET>
require user steve
</Limit>
Any help on this would be much apreciated!
thanks
Steve
