Ubuntu Unleashed 2019 Edition: Covering 18.04, 18.10, 19.04

(singke) #1

The mod_mime module tries to determine the MIME types of files by
examining their extensions.


The mod_mime_magic module tries to determine the MIME types of files
by examining portions of their content.


mod_negotiation


Using the mod_negotiation module, you can select one of several
document versions that best suits the client’s capabilities. There are several
options to select which criteria to use in the negotiation process. You can, for
example, choose among different languages, graphics file formats, and
compression methods.


mod_proxy


mod_proxy implements proxy and caching capabilities for an Apache
server. It can proxy and cache FTP, CONNECT, HTTP/0.9, and HTTP/1.0
requests. This is not an ideal solution for sites that have a large number of
users and therefore have high proxy and cache requirements. However, it is
more than adequate for a small number of users.


mod_rewrite


mod_rewrite is the Swiss Army knife of URL manipulation. It enables
you to perform any imaginable manipulation of URLs, using powerful regular
expressions. It provides rewrites, redirection, proxying, and so on. There is
little that you cannot accomplish using this module.


TIP
If you have Apache installed and running, see
http://localhost/manual/misc/rewriteguide.html for a cookbook that gives
you an in-depth explanation of the mod_rewrite module’s capabilities.

mod_setenvif


mod_setenvif enables manipulation of environment variables. Using
small snippets of text-matching code known as regular expressions, you can
conditionally change the content of environment variables. The order in
which SetEnvIf directives appear in the configuration files is important.

Free download pdf