twhttpd Documentation
Copyright 2001 by Sam Ng
Version 0.94
Part B: General Configuration
Here are the general configuration options you can change.
$chroot | Syntax:
enable/disable Default: enable Perform a chroot after daemonize. Chroot is high recommended for inbound proxy. |
$work_dir | Syntax: Any
Path Default: "/." Change to the working directory to another location. |
$cache_dir | Syntax: Any
Path Default: "/.cache" Set the Caching directory to $cache_dir. Note this does not means caching is enabled, but if caching is enabled, then the cache file will be stored in this location. For more info about caching, see Cache Control Details. |
$cache_timeout | Syntax:
Number Default: 86400 (1 day) Unconditionally expire the cached object. Valid only if caching is enabled. For more info about caching, see Cache Control Details. |
$cache_fast_timeout | Syntax:
Number Default: 300 (5 min) Consider the cached object as valid without re-validating with the web server if the object is less than this time period. Valid only if caching is enabled. For more info about caching, see Cache Control Details. |
$uid/gid | Syntax:
user_name or group_name Default: undefined (no change user or group) Change the uid and/or gid after daemonize. |
[Sam Ng Home] [twhttpd Home] |
Last Modified: 2001-08-09 |