mrbusy
Technical User
- Dec 10, 2003
- 118
Im in the process of trying to password protect a directory on a our website using .htaccess and .htpassword. I should say that Im strictly a Windows admin and Im having a little trouble getting to grips with doing this.
Our ISP, who allow but dont support password protection, have Apache/1.3.29 presumably running on UNIX. I dont have any access to the box or any logs, so Im not sure if what Im doing is very wrong or just needs tweaking to work.
I have uploaded .htaccess with the following content:
AuthUserFile .htpasswd
AuthName "Webstats"
AuthType Basic
<Limit GET>
require valid-user
</Limit>
And .htpassword with the following in it:
admin:a.ekGncek/jVg
The directory Im trying to access is a subdirectory of the top level of our FTP access and is called secure. I uploaded the files to the secure directory. When I try to access it though a web browser I do get a password prompt come up but it doesnt work.
I used a couple of different online .htpassword generators to make the password file, but I dont really know what Im looking at. They all seem to generate a different output and none have worked when I upload the file.
Can anyone tell me where Im going wrong?
Our ISP, who allow but dont support password protection, have Apache/1.3.29 presumably running on UNIX. I dont have any access to the box or any logs, so Im not sure if what Im doing is very wrong or just needs tweaking to work.
I have uploaded .htaccess with the following content:
AuthUserFile .htpasswd
AuthName "Webstats"
AuthType Basic
<Limit GET>
require valid-user
</Limit>
And .htpassword with the following in it:
admin:a.ekGncek/jVg
The directory Im trying to access is a subdirectory of the top level of our FTP access and is called secure. I uploaded the files to the secure directory. When I try to access it though a web browser I do get a password prompt come up but it doesnt work.
I used a couple of different online .htpassword generators to make the password file, but I dont really know what Im looking at. They all seem to generate a different output and none have worked when I upload the file.
Can anyone tell me where Im going wrong?