We do not need to create this file manually as we can easily manage it with �htpasswd� program. We can create the file with the following command line.
htpasswd �c /etc/httpd/conf/.htpasswd ravish
Here, the �c flag creates a new file. You do not need to use this flag in case the file does not exist otherwise it will override the file. So, to add multiple usernames use the following syntax.
htpasswd /etc/httpd/conf/.htpasswd ewdi
htpasswd /etc/httpd/conf/.htpasswd neo
htpasswd /etc/httpd/conf/.htpasswd outvit