From the course: Red Hat Enterprise Linux 8 Essential Training

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Configure private access using basic auth

Configure private access using basic auth

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

Configure private access using basic auth

- [Instructor] In this exercise, we will create a private site that requires logging in and entering a password. For more details on Apache access control, please refer to the previous chapter of this course. For this exercise, you should be logged into rhhost1 and have a terminal open. Also, make sure that you've completed the previous videos that installed Apache, configured the firewall, started the relevant services, and modified the welcome.conf file. Before continuing with this exercise, you should be able to type into a terminal, firefox rhhost1.localnet.com, and hit enter, and it should view the index.html file we created in the last video. If not, then troubleshoot that problem first. Now close Firefox. Viewing the error log will cut your troubleshooting time to a minimum. To view the log, open another terminal tab and enter sudo tail -f /var/log/httpd/error_log, and hit enter. Type in your password if…

Contents