Questions tagged [htpasswd]
64 questions
0
votes
1 answer
I am trying to write an htaccess file performs authentication and redirects authenticated users to authorized directories. Can anyone help me with the condition syntax?
This is what I have so far but I can't get the RewriteCond and RewriteRule properly.
RewriteEngine On
RewriteCond %{LA-U:REMOTE_USER} (\d{3})$
RewriteRule !^%1 http://subdomain.mydomain.com/%1 [R,L].
AuthName "My Domain Protected Area"
AuthType…

user41157
- 189
- 2
- 9
0
votes
2 answers
Where should I put my htpasswd file in a plesk domain for use with .htaccess?
I've got a path in my domain which needs apache to prompt for a password. I'll be using the .htaccess file to do this, so I can protect or unprotect by adding or removing the file.
I need a place to store the password file created by htpasswd. There…

Mnebuerquo
- 234
- 2
- 6
- 15
0
votes
1 answer
htpasswd sets incorrect password when the password has special characters
The Problem
I am attempting to update passwords for a large list of users using htpasswd. I am using a csv file to pull in the new passwords.
When the script runs it appears to successfully update the users. However, users are unable to log in using…

Roger Creasy
- 861
- 3
- 11
- 18
0
votes
1 answer
Checkmk 1.6.0p21 can't login even after resetting password - Invalid credentials
I'm unable to log into a Checkmk 1.6.0p21 dashboard through the web interface. I have access to the machine running it and nothing I do on it makes a difference.
It always gives the error "Invalid credentials." with no further explanation or…

Emilia
- 3
- 1