GraphicFunn
Technical User
I am still unable to get the directory protected. I get a prompt to enter the password when I try to access the webpage in the members directory so I know that the htaccess file is being used but when I enter the proper password I just get the same password prompt over and over.
The .htaccess file looks like this:
AuthUserFile /_private/.htpasswd
AuthGroupFile /dev/null
AuthName "Members Area "
AuthType Basic
<limit GET POST PUT>
require valid-user
</limit>
This is on a Linux virtual server. The _private directory is on the same level as the members directory that contains .htaccess. Both of these directories are listed in the main webpage directory with the main htm files so they are only one level down.
I created .htpasswd using the htpasswd program and it looks like this:
admin:lskdjfwiunsl
tom:iefewoidsfmn
the permissions are set to rw -r- -r- (644) for both .htaccess and .htpasswd
-How can I tell if the .htpasswd file is being accessed so I know if I have specified it's location properly?
-Where is the htconf file usually located?
-I know it is not advisable to put the .htpasswd file in the same directory as .htaccess file but could it be done for testing or would it not be read at all if it is in the protected directory? I have tried it both ways and neither work.
- Is there any restriction on the number of characters a password can be?
Thanks,
The .htaccess file looks like this:
AuthUserFile /_private/.htpasswd
AuthGroupFile /dev/null
AuthName "Members Area "
AuthType Basic
<limit GET POST PUT>
require valid-user
</limit>
This is on a Linux virtual server. The _private directory is on the same level as the members directory that contains .htaccess. Both of these directories are listed in the main webpage directory with the main htm files so they are only one level down.
I created .htpasswd using the htpasswd program and it looks like this:
admin:lskdjfwiunsl
tom:iefewoidsfmn
the permissions are set to rw -r- -r- (644) for both .htaccess and .htpasswd
-How can I tell if the .htpasswd file is being accessed so I know if I have specified it's location properly?
-Where is the htconf file usually located?
-I know it is not advisable to put the .htpasswd file in the same directory as .htaccess file but could it be done for testing or would it not be read at all if it is in the protected directory? I have tried it both ways and neither work.
- Is there any restriction on the number of characters a password can be?
Thanks,