Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Protect subdirectory with .htaccess and .htpasswd
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Protect subdirectory with .htaccess and .htpasswd

I want to protect the admin and moderator directory using .htaccess and .htpasswd.

my .htaccess Looks like this

AuthType Basic
AuthName "Password Protected Area"
AuthUserFile /home/eraser/.htpasswd
Require valid-user

my .htpasswd Looks like this

Does anybody have an idea whats wrong with this configuration? I'm some kind of desperate :(

Thanks in advance,


Sign In or Register to comment.