Product SiteDocumentation Site

13.5.3. /etc/httpd/includes.d/aliases.conf

This file sets the default aliases, such as:
  • Alias /icons/ => /var/www/icons/
  • Alias /error/ => /var/www/error/
This file also loads the necessary modules (if not already loaded), required to handle Alias configuration directives, and provides customizable ErrorDocuments if mod_negotiation and mod_include have been enabled (which they are by default).
  1. puppet:///private/$environment/webserver/includes.d/aliases.conf.$hostname
    A hostname specific, custom configuration file from the domain specific configuration tree. Note that this file is also environment specific. In the environment specific SCM branch for your domain specific configuration tree, this location corresponds with webserver/includes.d/aliases.conf.$hostname.
  2. puppet:///private/$environment/webserver/includes.d/aliases.conf
    A domain wide, custom configuration file from the domain specific configuration tree. Note that this file is also environment specific. In the environment specific SCM branch for your domain specific configuration tree, this location corresponds with webserver/includes.d/aliases.conf.
  3. puppet:///files/webserver/includes.d/aliases.conf.$hostname
    A site wide, custom configuration file for one host. This is no domain specific configuration file anymore, and as such is useful when you do not use domain specific configuration trees or staging environments. Also, note that this file is not environment specific. In the SCM, this location corresponds with files/webserver/includes.d/aliases.conf.$hostname.
  4. puppet:///files/webserver/includes.d/aliases.conf
    A site wide, custom configuration file. This is no domain specific configuration file anymore, and as such is useful when you do not use domain specific configuration trees or staging environments. Also, note that this file is not environment specific. In the SCM, this location corresponds with files/webserver/includes.d/aliases.conf.
  5. puppet:///webserver/includes.d/aliases.conf
    The stock aliases.conf that comes with the module. This represents or should represent the best default, for lack of a better phrasing. It should represent exactly the same as the situation right after you have performed a yum install of the httpd package.