AndyL
05-20-2003, 10:33 AM
Hello,
I am trying to password protect part of my website. I have read (& understood) various articles on creating .htaccess & .htpasswd files, however it does not seem to be working.
File contents as follows:
.htaccess file
AuthUserFile C:\Inetpub\wwwroot\azl\.htpasswd
AuthGroupFile /dev/null
AuthName TestingAdministratorPassword
AuthType Basic
require user Administrator
.htpasswd file
Administrator:xxxxxxxxxxxxx
(I have amended the real password here for security)
The AuthGroupFile value in the .htaccess file is /dev/null however this is a Unix value and I am running Windows - could this be the problem, or is there something else I am missing?
Kind regards,
Andy
I am trying to password protect part of my website. I have read (& understood) various articles on creating .htaccess & .htpasswd files, however it does not seem to be working.
File contents as follows:
.htaccess file
AuthUserFile C:\Inetpub\wwwroot\azl\.htpasswd
AuthGroupFile /dev/null
AuthName TestingAdministratorPassword
AuthType Basic
require user Administrator
.htpasswd file
Administrator:xxxxxxxxxxxxx
(I have amended the real password here for security)
The AuthGroupFile value in the .htaccess file is /dev/null however this is a Unix value and I am running Windows - could this be the problem, or is there something else I am missing?
Kind regards,
Andy