Prev | Current Page 1202 | Next

Christopher Negus

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

This directive doesn??™t work in Files blocks.
 Options is used to adjust how Apache handles files within a directory. The ExecCGI
option tells Apache that files in that directory can be run as CGI scripts, and the Includes
option tells Apache that server-side includes (SSI) are permitted. Also commonly used is
the Indexes option, which tells Apache to generate a list of files if one of the filenames
found in the DirectoryIndex setting is missing. An absolute list of options can be specified,
or the list of options can be modified by adding + or - in front of an option name. See
http://httpd.apache.org/docs/mod/core.html#options for more information.
 ErrorDocument directives can be used to specify which file to send in the event of an
error. The directive must specify an error code and the full URI for the error document.
Possible error codes include 403 (access denied), 404 (file not found), and 500 (server
internal error). You can find more information about the ErrorDocument directive at
http://httpd.apache.org/docs/mod/core.html#errordocument.
Another common use for location blocks and access control files is to limit access to a resource. The
Allow directive can be used to permit access to matching hosts, and the Deny directive can be used
to forbid it.


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