Apache Question:

Download Job Interview Questions and Answers PDF

What is htpasswd?

Apache Server Interview Question
Apache Server Interview Question

Answer:

htpasswd is used for allowing user to authenticate for a
particular web page. such as you are running 2 or more web
pages through virtual hosting or any other method and want
to provide access for any user to access a particular page
with authentication then you can use the htpasswd for
creating user authentication file. when you run the command
htpasswd with the option -c and -m for any user it will
create a file named htpasswd in which an entry for user name
and encrypted passswd will create.

Download Apache Server Interview Questions And Answers PDF

Previous QuestionNext Question
What is mod_vhost_alias?Tell me Is running apache as a root is a security risk?