mod_memcache
The mod_memcache
module enables ProFTPD support for caching
data in memcached servers, using the
libmemcached client library. Note
that libmemcached
version 0.41 or later is required.
<VirtualHost>
, <Global>
The MemcacheEngine
directive enables or disables the
mod_memcache
module, and thus the configuration of memcache
support for the proftpd
daemon.
<VirtualHost>
, <Global>
The MemcacheLog
directive is used to specify a log file for
mod_memcache
's reporting on a per-server basis. The
file parameter given must be the full path to the file to use for
logging.
Note that this path must not be to a world-writable directory and,
unless AllowLogSymlinks
is explicitly set to on
(generally a bad idea), the path must not be a symbolic link.
<VirtualHost>
, <Global>
The currently supported MemcacheOptions
are:
NoBinaryProtocol
<VirtualHost>
, <Global>
Experimental feature
<VirtualHost>
, <Global>
The MemcacheServers
directive is used to configure the
IP addresses/ports of the memcached
servers that the
mod_memcache
module is to use. The list of servers is expressed
as a space-delimited list. For example:
MemcacheServers 1.2.3.4:11211 1.2.3.5:22422
Alternatively, you can configure a Unix domain socket path using e.g.:
MemcacheServers /var/run/memcached.sock
<VirtualHost>
, <Global>
Experimental feature
mod_memcache
module is distributed with ProFTPD. To enable
support and use of the memcache protocol in your proftpd
daemon,
use the --enable-memcache
configure option:
$ ./configure --enable-memcache ... $ make $ make installThis option causes the
mod_memcache
module to be compiled into
proftpd
.
You may also need to tell configure
how to find the
libmemcached
header and library files:
$ ./configure --enable-memcache \ --with-includes=/path/to/libmemcached/include \ --with-libraries=/path/to/libmemcached/lib