mod_cache(4gx)
π Name π
Okay bestie, meet mod_cache β this is the mod_cache(4gx) page, and itβs literally the HTTP handler for serving objects from a local filesystem. Thatβs the whole main-character job. π
π¦ Description π¦
mod_cache serves local files when certain URIs are requested. Simple as that, no cap. But lowkey important, fr fr: mod_fastcgi(4gx) has a table of its own and higher precedence β so it wins when it wants to, periodt. π
πΈ Configuration directives πΈ
This component shares http.cfg. See http(8gx) for the config lore, iykyk. π«Ά
β¨ URI map β¨
The filemap that specifies which URIs to handle is cache.txt, and it gets searched for in config_file_path. The usual location is /etc/gromox/cache.txt. Slay. πΊοΈ
Each line in this file consists of 3 columns separated by whitespace:
- Domain or wildcard to match the HTTP
Host:header with. - URI path (prefix) to match.
- Target file/directory within the filesystem.
If the file has no lines, no documents will be served this way. If the file is absent however, a set of default entries will be used. So like, empty file = silence, missing file = fallback magic. πͺ
π Default entries π
/web /usr/share/grommunio-web/EWS/Messages.xsd /usr/share/gromox/Messages.xsd/EWS/Services.wsdl /usr/share/gromox/Services.wsdl/EWS/Types.xsd /usr/share/gromox/Types.xsd
π Files π
config_file_path/cache.txt: URI map specifying which paths are served.
π₯ See also π₯
gromox(7), http(8gx) β go read those too, bestie. π«Ά
okay bye bestie π this iconic page is brought to you by source/version Gromox / mod_cache(4gx). The footer didnβt show a date, so no invented timestamp here β periodt. β¨
π¦ where this page comes from
- alpine 3.24: grommunio-gromox-doc 3.6-r0 Β· AGPL-3.0-or-later
- π the page's license: CC-BY-SA-4.0 or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms