Configuration Reference

Apache Directives & CLI Reference

HottubHTTP parses standard Apache HTTP Server httpd.conf syntax — containers, quoted arguments, # comments, \ continuations, and per-directory .htaccess overrides — and validates files with hottubhttpd -t.

Supported Block Containers

<VirtualHost> <Directory> <Location> <LocationMatch> <Files> <FilesMatch> <IfModule> <RequireAll> <RequireAny> <Limit> <LimitExcept>

Built-In Modules (18 Static Modules)

ModuleSupported DirectivesVerification & Safety
core / httpListen, ServerName, ServerAlias, DocumentRoot, ServerTokens, ServerSignature, Options, AllowOverride, ErrorDocument, KeepAlive, MaxKeepAliveRequests, KeepAliveTimeout, Timeout, LimitRequestLine, LimitRequestFields, LimitRequestFieldSize, LimitRequestBody, MaxRanges, TraceEnableLeanRust framing_policy_check, path_step, range_window_validate, keepalive_step
mpm_eventMaxRequestWorkers (alias MaxClients)LeanRust mpm_acquire & mpm_release + bounded self-sizing pool
mod_authz_core & mod_auth_basicRequire all granted|denied|valid-user|user|ip|local|method, AuthType Basic, AuthName, AuthBasicUserLeanRust authz_evaluate + constant-time verify
mod_rewrite & mod_aliasRewriteEngine, RewriteCond, RewriteRule ($1..$9, [R,L,NC,QSA,QSD,F,G]), Alias, Redirect, RedirectPermanent, RedirectTemp, RedirectMatchStep-bounded regex (anti-ReDoS) + post-rewrite path proof
mod_headersHeader [always|onsuccess] set|append|add|unset|mergeZero-alloc shared Arc<str> phase-9 fixups
mod_dir & mod_autoindexDirectoryIndex, Options +IndexesZero-alloc stack index fast path, HTML-escaped autoindex
mod_mime & mod_deflateDefaultType, AddType, AddOutputFilterByType DEFLATEPure-Rust RFC 1952 GZIP cached zero-copy in CachingVfs
mod_statusSetHandler server-status (HTML, ?auto, ?json)LeanRust Confidentiality & Integrity Noninterference
mod_wasm & mod_proxyWasmHandler <name>, SetHandler wasm:<name>, ProxyPassSandboxed WASM handler hook

Apache-Compatible CLI

hottubhttpdDrop-in operational flags
hottubhttpd -t -f conf/httpd.conf   # Syntax test (Syntax OK)
hottubhttpd -S -f conf/httpd.conf   # Dump VirtualHost table
hottubhttpd -M                      # List loaded modules
hottubhttpd -V                      # Version, build details, and Apache NOTICE
hottubhttpd --proof                 # Print LeanRust + Lean 4 certified theorems
hottubhttpd --license               # Print NOTICE and full Apache License 2.0
hottubhttpd --bench                 # Run single-core micro-benchmarks
hottubhttpd -q -f conf/httpd.conf   # Run quietly without stderr access logs