Hey everyone. I have been trying to password protect a folder using .htaccess and .htpasswd file .htaccess file as follows. Code: uthName .Admin Area. AuthType Basic AuthUserFile /var/www/###.co.uk/.htpasswd require valid-user php_flag register_globals 1 Everytime I try and access the folder however i get an error 500. I have edited the vhost file for the domain and set AllowOverride All. But this still happens. Any idea?