Apache Web Server 2.4 - 10 must-know configuration features
summary
Shows ten concrete Apache 2.4 features and how to apply them: use global config Define and mod_macro for reusable values and templates; set per-module LogLevel instead of global debug; add subsecond timestamps and %D (request duration) plus %l via mod_unique_id for easy correlation; forward the ID with an X-Request-ID header using mod_headers; use mod_remoteip to honor X-Forwarded-For safely; pass new OpenSSL flags via SSLConfCmd; htpasswd now supports bcrypt and rotatelogs supports time+size rotation.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 0:46Talk goals and overview
- 2:12Define global config variables
- 5:28Mod macro for templates
- 7:14Per-module log levels
- 8:40Sub-second access log timestamps
- 11:05Access log correlation IDs
- 14:42Advanced access log tokens
- 15:03Forwarding correlation IDs
- 17:54Backend correlation ID logging
- 18:36Mod log debug custom lines
- 21:05Unified expression parser
- 24:40If with expressions
- 27:23Named regex backreferences
- 31:32Remote IP handling
- 37:47SSL OpenSSL command directive
- 41:19Bonus: htpasswd and rotatelogs
