Ubuntu Unleashed 2019 Edition: Covering 18.04, 18.10, 19.04

(singke) #1

mod_expires


mod_expires is used to add an expiration date to content on your site by
adding an Expires header to the HTTP response. Web browsers and cache
servers don’t cache expired content.


mod_headers


mod_headers is used to manipulate the HTTP headers of your server’s
responses. You can replace, add, merge, or delete headers as you see fit. The
module supplies a Header directive for this. Ordering of the Header
directive is important. A set followed by an unset for the same HTTP
header removes the header altogether. You can place Header directives
almost anywhere within your configuration files. These directives are
processed in the following order:



  1. Core server

  2. Virtual host


  3. and .htaccess files








mod_include


mod_include enables the use of server-side included on your server, which
were quite popular before PHP took over this part of the market.


mod_info and mod_log_config


mod_info provides comprehensive information about your server’s
configuration. For example, it displays all the installed modules, as well as all
the directives used in its configuration files.


mod_log_config defines how your log files should look. See the
“Logging” section, later in this chapter, for further information about this
subject.


mod_mime and mod_mime_magic

Free download pdf