Installation guide
202 Chapter 14. Apache HTTP Server
14.5.61. MetaDir
MetaDir specifies the name of a directory where your Web server should look for files containing
meta information (extra HTTP headers) to include when serving documents.
14.5.62. MetaSuffix
MetaSuffix specifies the filename suffix for the file that contains meta information (extra HTTP
headers), which should be located in the MetaDir directory.
14.5.63. ErrorDocument
By default, in the event of a problem or error, your Web server outputs a simple and usually cryptic
error message back to the requesting client. Instead of using the default, you can use ErrorDocument
to configure your Web server so that it outputs a customized message or redirects the client to a local
or external URL. The ErrorDocument directive simply associates a HTTP response code with a
message or a URL which will be sent back to the client.
Important
You must enclose the error message in a pair of double quotes for it to be valid.
14.5.64. BrowserMatch
The BrowserMatch directive allows your server to define environment variables and take appropri-
ate actions based on the User-Agent HTTP header field — which identifies the client’s browser. By
default, your Web server uses BrowserMatch to deny connections to specific browsers with known
problems and also to disable keepalives and HTTP header flushes for browsers that are known to have
problems with those actions.
14.5.65. Location
Location and /Location tags allow you to specify access control based on URL.
If you want to allow people connecting from your domain to see server status reports, you should
uncomment the next section of directives:
#
Location /server-status
# SetHandler server-status
# Order deny,allow
# Deny from all
# Allow from .your_domain.com
# /Location
You must replace .your_domain.com with your second level domain name.
If you want to provide server configuration reports (including installed modules and configuration
directives) to requests from inside your domain, you will need to uncomment the following lines:
#
Location /server-info
# SetHandler server-info
# Order deny,allow