Prev | Current Page 1199 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"


Include can point to a single file, to a directory in which all files are read, or to a wildcard that
specifies a specific set of files within a directory.
Subdirectories are also processed when Include points to a directory.
The scope of many configuration directives can be altered based on context. In other words, some
parameters may be set on a global level and then changed for a specific file, directory, or virtual
host. Other directives are always global in nature, such as those specifying which IP addresses the
server listens on, and some are valid only when applied to a specific location.
Locations are configured in the form of a start tag containing the location type and a resource location,
followed by the configuration options for that location, and finishing with an end tag. This form
is often called a configuration block, and looks very similar to HTML. A special type of configuration
block, known as a location block, is used to override settings for specific files or directories.
These blocks take the following form:

(options specific to objects matching the specifier go within this block)

Different types of location tags exist and are selected based on the type of resource location that is
being specified.


Pages:
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211