Prev | Current Page 1200 | Next

Christopher Negus

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

The specifier that is included in the start tag is handled based on the type of location
tag. The ones you generally use and encounter are Directory, Files, and Location.
In this chapter, Location refers specifically to the third type of tag, and location refers
generically to any of the three.
 Directory tags are used to specify a path based on the location on the file system. For
instance, refers to the root directory on the computer. Directories
inherit settings from directories above them, with the most specific Directory block
overriding less specific ones, regardless of the order in which they appear in the configuration
files.
 Files tags are used to specify files by name. Files tags can be contained within
Directory blocks to limit them to files under that directory. Settings within a Files
block will override the ones in Directory blocks.
 Location tags are used to specify the URI used to access a file or directory. This is different
from Directory in that it relates to the address contained within the request and not
to the real location of the file on the drive. Location tags are processed last and override
the settings in Directory and Files blocks.
Match versions of these tags??”DirectoryMatch, FilesMatch, and LocationMatch??”have
the same function but can contain regular expressions in the resource specification.


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