I have created a .htaccess file in the htdocs folder of Apache running on XP
The file is as follows
ErrorDocument 401 rejection.html
AuthUserFile .htpass
AuthGroupFile /dev/null
AuthName "cws"
AuthType Basic
require valid-user
To make things simple i created the .htpass file in the htdocs folder too using the htpasswd command.
The password file looks fine and displays the user and pass ok.
When I go to index.php on IE5, it allows me to view it fine without asking for auth'.
What am I doing wrong??
Please Help
Okanem
.htaccess not working at all.
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia