Zum Inhalt springen
Deutsch

mod_cache(4gx)

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

mod_cache — HTTP handler for serving objects from a local filesystem

mod_cache serves local files when certain URIs are requested. Note that mod_fastcgi(4gx) has a table of its own and higher precedence.

This component shares http.cfg. See http(8gx).

The filemap that specifies which URIs to handle is cache.txt, which is searched for in config_file_path. The usual location is /etc/gromox/cache.txt.

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.

<em> /web /usr/share/grommunio-web</em>
<em> /EWS/Messages.xsd /usr/share/gromox/Messages.xsd</em>
<em> /EWS/Services.wsdl /usr/share/gromox/Services.wsdl</em>
<em> /EWS/Types.xsd /usr/share/gromox/Types.xsd</em>
  • config_file_path/cache.txt: URI map specifying which paths are served

gromox(7), http(8gx)