The Apache HTTP Server is free and open-source cross-platform web server. It can be configured to protect either entire website or part of the website. Once the authentication is enabled, user will be prompted to enter credentials to access the web pages.
It is two step process, first, we need to setup the user credentials, and second, we need to configure these credentials in Apache. In this article, we will be covering the first part i.e. setting the user credentials.
We will be using htpasswd comand line tool to create and manage users. I would suggest to login a root user. Let's say, we will be storing user credentials in this file: /etc/.apache_users
1. Setup credentials for very first user
2. Add new user to existing file (note: do not use -c option, if already exists, it is rewritten and truncated)
3. Update password for existing user
4. Remove user from the file
In next article, we will cover how to configure these credentials in Apache.
P.S. Click here to access my other posts.
It is two step process, first, we need to setup the user credentials, and second, we need to configure these credentials in Apache. In this article, we will be covering the first part i.e. setting the user credentials.
We will be using htpasswd comand line tool to create and manage users. I would suggest to login a root user. Let's say, we will be storing user credentials in this file: /etc/.apache_users
1. Setup credentials for very first user
2. Add new user to existing file (note: do not use -c option, if already exists, it is rewritten and truncated)
3. Update password for existing user
4. Remove user from the file
In next article, we will cover how to configure these credentials in Apache.
P.S. Click here to access my other posts.
I have found great and massive information on. Thanks for sharing
ReplyDeleteMulesoft Training in Hyderabad
Mulesoft Onine Training Hyderabad
Wynn Las Vegas Announces $1.2B Renovation Of - JTR
ReplyDeleteWynn Resorts 구리 출장샵 is pleased to 남원 출장마사지 announce the completion of 화성 출장샵 the 양산 출장샵 $1.2 천안 출장안마 billion project and the purchase of approximately