I'm new to Linux. Please help me out to configure apache to require a username and password to access certain documents.
Eg. Say I have "main.html" and other associated files in /usr/temp. I want to restrict the access to the main.html page by providing a username and password. Once a valid username and password are provided the user should be provided access to view this page and the further html files associated with this main.html.
Appreciate if any one of you could provide me detailed step by step procedure, illustrating with an example.