My .htaccess:
AuthUserFile .htpasswd
AuthType Basic
AuthName "My Secret Folder"
Require valid-user
My .htpasswd is in the same directory. This is a webspace not a server so I am not able to use the full path for the AuthUserFile
...
The thing is: It does work...I need to login and when I'm logged in I can see my page and everything is working. But my pages is using images from the same directory and a subdirectory. When I'm using images from the subdirectory everything is fine. But when I want to use some file on the same directory where the index.html is it gives me an error.
I just don't understand why because it is local...
Aucun commentaire:
Enregistrer un commentaire