http-replicator(1) - Linux man page
Name
http-replicator - Replicating HTTP proxy serverSynopsis
http-replicator [options]Description
Replicator is a replicating HTTP proxy server. Files that are downloaded through the proxy are transparently stored in a private cache, so an exact copy of accessed remote files is created on the local machine. Please see the README or the website for more information:
http://gertjan.freezope.org/replicator
Options
This programs follow the usual GNU command line syntax, with long options starting with two dashes ('-'). A summary of options is included below.- -h, --help
- Show summary of options.
- -p, --port port
- The proxy port on which the server listens for http requests. Default is 8080.
- -i, --ip ip
- An ip address from which access is allowed, optionally with wildcards ? and * for single and multiple digits respectivily. Defaults to localhost and can be used multiple times.
- -d, --dir dir
- The directory to store the cached files in. By default files are simply saved in the current directory.
- -a, --alias str
- Colon separated list of mirrors, i.e. hosts serving identical content. Useful for caching (debian) packages from different mirrors to the same directory, like this: 'cache/dir:host1/somepath:host2/other/path'. Can be used multiple times.
- -s, --static
- Static mode: files are known to never change so files that are present are served from cache directly without contacting the server.
- -f, --flat
- Flat mode: all files are saved in a single directory.
- -l, --local
- Serve files from a local directory if the proxy address is accessed directly.
- -e, --external ex
- Forward requests to an external proxy server, specified as host:port or username:password@host:port if the server requires authentication.
- -q, --quiet
- Decrease verbosity. Messages on stdout all have a certain level of importancy. By repeatedly selecting this option the least important messages are skipped.
Daemon options:
- --daemon
- Switch to daemon mode and activate the following options:
- --log log
- Send output to a log file instead of stdout.
- --pid pid
- Write the process id to a pid file instead of stdout.
- --user user
- Change the process user id after opening the log and pid file.
Debugging options:
- --debug
- Set the lowest possible logging level (the quiet option is ignored) and activate the following options:
- --intolerant
- Crash on unhandled exceptions.