.htaccess not working at all.
Posted: Tue Jan 17, 2006 6:10 am
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
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