I have IdeaWebServer and I try to secure files by the .htpasswd. When I try to acces my page the login window doesn't show up. Here is my .htacces code
AuthType basic
AuthName "Login"
:Location /users/www/domain.com/wp-login.php
AuthUserFile /users/www/.htpasswd
Access allow all valid-user
:Location
ErrorDocument 401 "Denied"
ErrorDocument 403 "Denied"
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
and .htpasswd
user:passwordcodedinmd5
Is that correct?