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)
| Module | Supported Directives | Verification & Safety |
|---|---|---|
core / http | Listen, ServerName, ServerAlias, DocumentRoot, ServerTokens, ServerSignature, Options, AllowOverride, ErrorDocument, KeepAlive, MaxKeepAliveRequests, KeepAliveTimeout, Timeout, LimitRequestLine, LimitRequestFields, LimitRequestFieldSize, LimitRequestBody, MaxRanges, TraceEnable | LeanRust framing_policy_check, path_step, range_window_validate, keepalive_step |
mpm_event | MaxRequestWorkers (alias MaxClients) | LeanRust mpm_acquire & mpm_release + bounded self-sizing pool |
mod_authz_core & mod_auth_basic | Require all granted|denied|valid-user|user|ip|local|method, AuthType Basic, AuthName, AuthBasicUser | LeanRust authz_evaluate + constant-time verify |
mod_rewrite & mod_alias | RewriteEngine, RewriteCond, RewriteRule ($1..$9, [R,L,NC,QSA,QSD,F,G]), Alias, Redirect, RedirectPermanent, RedirectTemp, RedirectMatch | Step-bounded regex (anti-ReDoS) + post-rewrite path proof |
mod_headers | Header [always|onsuccess] set|append|add|unset|merge | Zero-alloc shared Arc<str> phase-9 fixups |
mod_dir & mod_autoindex | DirectoryIndex, Options +Indexes | Zero-alloc stack index fast path, HTML-escaped autoindex |
mod_mime & mod_deflate | DefaultType, AddType, AddOutputFilterByType DEFLATE | Pure-Rust RFC 1952 GZIP cached zero-copy in CachingVfs |
mod_status | SetHandler server-status (HTML, ?auto, ?json) | LeanRust Confidentiality & Integrity Noninterference |
mod_wasm & mod_proxy | WasmHandler <name>, SetHandler wasm:<name>, ProxyPass | Sandboxed WASM handler hook |
Apache-Compatible CLI
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