
Learn to install and manage apache2 on Ubuntu with practical steps, including checking status, starting and stopping the service, using apt-get and systemctl.
Install httpd on CentOS using yum, then start, stop, and verify the httpd service with systemctl status httpd.
Install apache httpd in a docker container using a redhat ubi8 image and start the service. Verify access from the container and explore the configuration folder and basic commands shown.
Explore Apache http configuration by comparing httpd and apache2 files across CentOS and Ubuntu, locate main config files, verify version, and identify access and error logs.
Configure Apache http using the httpd.conf directory directive, adjust require all denied/granted for /var/www, customize 404 messages with ErrorDocument, and verify with curl before restarting httpd.
Explore using Apache alias, redirect, and rewrite to map user-friendly urls to actual files, test with permanent redirects, and verify routing with curl and browser.
explore apache httpd log files, configure error and access logs, adjust log level and log formats such as combined, and interpret host, time, request, status, size, referrer, and user agent.
Set up Apache to serve static files from the designated folder and map it to /docs. Ensure requests to /docs or /docs/index.html resolve to the corresponding files.
Expose a folder outside patches by creating opt at docs and an index.html in app dev docs, set directory and alias with require all granted, restart httpd, and access.
Contrast forward and reverse proxies and explore how a reverse proxy routes external requests to internal servers. Learn to configure Apache to forward requests to Tomcat.
Install OpenJDK, download and install Apache Tomcat, start the server, and verify access on port 8080 with a sample app for testing.
Configure Apache httpd as a reverse proxy by adding proxy_pass and proxy_pass_reverse entries, then restart httpd and verify the proxied Tomcat app in a browser.
Configure Apache for SSL by generating a private key and CSR, creating a self-signed certificate, and installing mod_ssl, then enable SSL in httpd and restart the server.
Course is completely free
In this course you will learn about Apache http web server administration. The operating system used in the course is CentOS but majority of the steps will work on Unix/Linux based operating systems. The course covers a number of topics on Apache http web server. Almost all of the topics are hands-on with some basic theory. The course is ideal for system admins or web admins or devops professionals who want to learn Apache http web server administration. There is absolutely no coding experience required. Knowledge of Linux administration is required.
The version of Apache http used in this course is 2.4.
After completing this course, you will be able to:
Install Apache http on Ubuntu and CentOS
Setup Apache http containers
Understand the folder structure
Understand configuration files used by Apache http
Get a very good understanding of directives used by Apache http like DocumentRoot, Directory, DirectoryIndex and many more.
Perform rewrite's using Apache http directives
Perform administration tasks like stop and start Apache http
Understand the main log files that are used by Apache http
Customize the access log file used by Apache http
Create custom messages for common http errors
Configure Apache http as a reverse proxy
Configure Apache http for SSL
Configure a VirtualHost