Score:0

Username and password doesn't work (BASIC AUTH)

ru flag
AuthType Basic
AuthName "staging"
AuthUserFile "/etc/httpd/pass/password"
require valid-user

I see this and inside /etc/httpd/pass/password

I see

example1:justanexample
example2:dasd
example3:notatruepass

and none of these credentials works when Apache request an username and password.

jp flag
Dom
Could you look at the Apache logs if something is wrong ?
Score:0
in flag

According to the manual, try to generate your password file with :

# Delete plain text password file
rm /etc/httpd/pass/password
# Generate first user
htpasswd -c /etc/httpd/pass/password example1
# Type a password
# Do it again
htpasswd -c /etc/httpd/pass/password example2
htpasswd -c /etc/httpd/pass/password example3
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.