I'm trying to setup a website that you need a password to access and want to use .htaccess to restrict access. But It's pretty much ignoring the script. I'm using a default lamp configuration, with default scripts.
My (/var/www/).htaccess script is:
AuthName "My Server"
require user john