Logo Jit-learn Start free
Primer
Resources
About
Lecture + worksheet

Job-ready Apache practice cards

Apache is one of the most important web servers in history. Learn how requests become pages, what breaks, and how professionals keep websites running.

Why Apache Exists

Browsers need servers. Apache became one of the main ways websites reached the internet.

Question: Why Apache?
Answer: Serve websites.

What Happens After A URL

Follow a request from browser to DNS to Apache and back to the browser.

Browser → DNS → Apache → Response

Files Become Websites

Apache maps folders and files into pages visitors can request.

DocumentRoot → index.html

Virtual Hosts Changed Everything

One server can host many websites by using different domain rules.

site-a.com
site-b.com
one server

Permissions Break Sites

Many Apache problems are really Linux permission problems.

403 Forbidden
Check permissions

.htaccess Power And Danger

A small folder rule can redirect, rewrite, protect, or break an entire site.

AllowOverride
.htaccess

Logs Are Evidence

When Apache fails, access logs and error logs usually tell the story.

access.log
error.log

Apache And PHP

Apache can pass PHP files to PHP so dynamic pages can be created.

request.php → PHP → HTML

Production Is Different

Traffic, bots, attacks, bad configs, and real users make production different from testing.

Works locally ≠ production ready

Keeping Apache Alive

The real skill is safe changes, logs, backups, monitoring, and recovery.

Backup → Change → Test → Verify

moc.rt-tij [ta] troppus
(customization available)