I have set password protected directories using htpasswd command from the shell, changed Apache configuration "AllowOveride None" to "AllowOveride AuthConfig" for htaccess files, placed the ".htaccess" file inside the directory to protect, but still I get Internal Server Error and no popup window to enter username/password.
The permissions for ".htpasswd" file are 644.
Sample .htaccess file:
Code
AuthUserFile /home/username/.htpasswd
AuthType Basic
AuthName "enter password"
Require user username
I'm sure that everything is correct. It was working before, until I had to rebuild a website from scratch for a client and reinstalled everything on a new VPS.
Am I missing something?
Regards,
Tim
----------------------- NEW:
Cloud Hosting on Cloud VPS: 10 €/mo - FAST SSD drives
- FREE Webuzo control panel
- Multiple locations: NY / NL