You won’t know the location of the .htpasswd file in AppFog. Hence you won’t be able to password protect folders in the normal way. To password protect folders in AppFog you should use a different way. You should add the following location of .htpasswd instead of the full location. If the full location is : /home/simsu/projects/TestPalace/Blog/Password_Protect/.htpasswd The Location of .htpasswd in .htaccess deployed in AppFog should be : ../app/Blog/Password_Protect/.htpasswd If the file is on the root directory, then the location would be : .... [READ MORE]
Posts marked with ".htpasswd" in tags
Password protect folder using HTACCESS
HTACCESS is able to protect folders with passwords. To password protect folders you should mention the location of .htpasswd – a file that contains the username and password to unlock the folder. First of all create a .htaccess file if doesn’t exists and create a .htpasswd file. Now Add username and password to the .htpasswd file which you can get from this simple tool. Add the following text in .htaccess : AuthName "This folder requires a login"... [READ MORE]