mod_vhost_hash_alias 1.0 review

Download
by rbytes.net on

License: GPL (GNU General Public License)
File size: 0K
Developer: Yann Droneaud
0 stars award from rbytes.net

mod_vhost_hash_alias is an Apache HTTPD module that allows mass hosting with good distribution across a unified directory namespace.

Administrators no longer have to use complex regexps with mod_rewrite, since they can use mod_vhost_hash_alias to do a better job and use fewer resources.

mod_vhost_hash_alias is a component of the VHFFS hosting platform which is used by the Web hosting provider Tuxfamily.org.

Configuration

#
# Request the module
#
LoadModule vhost_hash_alias_module mod_vhost_hash_alias.so

#
# mod_vhost_hash_alias have to be enabled for each virtual host (catch-all)
#
HashEnable On

#
# Digest algorithm to use:
# CRC32, ADLER32, MD5, SHA1, SHA256, or other types
# supported by the module and libmhash
#
HashType md5

#
# The output encoding (rfc3548) of hash result
# hexa, base16_low, base16_up, base32_low, base32_up, base64_ufs,
#
HashEncoding base16

#
# Number of characters to use to build the document root
# The hash string is truncated to this length
#
HashLimit 8

#
# Splitting scheme
# Specify the size of each chunk of the digest string
# The last count is taken until the end of string is reached
#
HashSplit 1 1 3

#
# The base directory used to build the document root
# (mandatory)
#
HashDocumentRootPrefix /var/lib/www

#
# A directory added to the final built root
# (optionnal)
#
HashDocumentRootSuffix htdocs

#
# A list of host prefix to strip
# eg: this handle basic web aliasing
# http://www.example.com/
# will point on the same document root than
# http://example.com/
#
# (optionnal)
#
HashAddAliasPrefix www ftp

#
# A prefix to add to the server name before it will be hashed
# Act like a salt and must be keeped secret to be efficient
#
# (optionnal)
#

mod_vhost_hash_alias 1.0 search tags