0

I'm trying to secure my phpmemcachedadmin installation. (It doesn't come with any sort of security, not even a login system)

I've added this to the .htaccess file:

AuthName "For admins only"
AuthType Basic
AuthUserFile /var/www/phpmemcachedadmin/.htpasswd
AuthGroupFile /dev/null
require user myuser

But it doesn't work. Am I missing something here? The files are owned by www-data, so it can't be a permissions thing.

Jelle De Loecker
  • 1,094
  • 6
  • 17
  • 30

1 Answers1

1

Do you have AllowOverride all in the vhost config for this directory? AFAIK this is required. I would also change the user to require valid-user

derchris
  • 471
  • 2
  • 7