📄 directive-dict.html.en
字号:
<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --><title>Terms Used to Describe Directives - Apache HTTP Server</title><link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /><link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /><link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link href="../images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="../images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Terms Used to Describe Directives</h1><div class="toplang"><p><span>Available Languages: </span><a href="../en/mod/directive-dict.html" title="English"> en </a> |<a href="../es/mod/directive-dict.html" hreflang="es" rel="alternate" title="Espa駉l"> es </a> |<a href="../ja/mod/directive-dict.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |<a href="../ko/mod/directive-dict.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p></div> <p>This document describes the terms that are used to describe each Apache <a href="directives.html">configuration directive</a>.</p></div><div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#Description">Description</a></li><li><img alt="" src="../images/down.gif" /> <a href="#Syntax">Syntax</a></li><li><img alt="" src="../images/down.gif" /> <a href="#Default">Default</a></li><li><img alt="" src="../images/down.gif" /> <a href="#Context">Context</a></li><li><img alt="" src="../images/down.gif" /> <a href="#Override">Override</a></li><li><img alt="" src="../images/down.gif" /> <a href="#Status">Status</a></li><li><img alt="" src="../images/down.gif" /> <a href="#Module">Module</a></li><li><img alt="" src="../images/down.gif" /> <a href="#Compatibility">Compatibility</a></li></ul><h3>See also</h3><ul class="seealso"><li><a href="../configuring.html">Configuration files</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="Description" id="Description">Description</a></h2><p>A brief description of the purpose of the directive.</p></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="Syntax" id="Syntax">Syntax</a></h2> <p>This indicates the format of the directive as it would appear in a configuration file. This syntax is extremely directive-specific, and is described in detail in the directive's definition. Generally, the directive name is followed by a series of one or more space-separated arguments. If an argument contains a space, the argument must be enclosed in double quotes. Optional arguments are enclosed in square brackets. Where an argument can take on more than one possible value, the possible values are separated by vertical bars "|". Literal text is presented in the default font, while argument-types for which substitution is necessary are <em>emphasized</em>. Directives which can take a variable number of arguments will end in "..." indicating that the last argument is repeated.</p> <p>Directives use a great number of different argument types. A few common ones are defined below.</p> <dl> <dt><em>URL</em></dt> <dd>A complete Uniform Resource Locator including a scheme, hostname, and optional pathname as in <code>http://www.example.com/path/to/file.html</code></dd> <dt><em>URL-path</em></dt> <dd>The part of a <em>url</em> which follows the scheme and hostname as in <code>/path/to/file.html</code>. The <em>url-path</em> represents a web-view of a resource, as opposed to a file-system view.</dd> <dt><em>file-path</em></dt> <dd>The path to a file in the local file-system beginning with the root directory as in <code>/usr/local/apache/htdocs/path/to/file.html</code>. Unless otherwise specified, a <em>file-path</em> which does not begin with a slash will be treated as relative to the <a href="core.html#serverroot">ServerRoot</a>.</dd> <dt><em>directory-path</em></dt> <dd>The path to a directory in the local file-system beginning with the root directory as in <code>/usr/local/apache/htdocs/path/to/</code>.</dd> <dt><em>filename</em></dt> <dd>The name of a file with no accompanying path information as in <code>file.html</code>.</dd> <dt><em>regex</em></dt> <dd>A Perl-compatible <a href="../glossary.html#regex">regular expression</a>. The directive definition will specify what the <em>regex</em> is matching against.</dd> <dt><em>extension</em></dt> <dd>In general, this is the part of the <em>filename</em> which follows the last dot. However, Apache recognizes multiple filename extensions, so if a <em>filename</em> contains more than one dot, each dot-separated part of the filename following the first dot is an <em>extension</em>. For example, the <em>filename</em> <code>file.html.en</code> contains two extensions: <code>.html</code> and <code>.en</code>. For Apache directives, you may specify <em>extension</em>s with or without the leading dot. In addition, <em>extension</em>s are not case sensitive.</dd> <dt><em>MIME-type</em></dt> <dd>A method of describing the format of a file which consists of a major format type and a minor format type, separated by a slash as in <code>text/html</code>.</dd> <dt><em>env-variable</em></dt> <dd>The name of an <a href="../env.html">environment variable</a> defined in the Apache configuration process. Note this is not necessarily the same as an operating system environment variable. See the <a href="../env.html">environment variable documentation</a> for more details.</dd> </dl></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="Default" id="Default">Default</a></h2> <p>If the directive has a default value (<em>i.e.</em>, if you omit it from your configuration entirely, the Apache Web server will behave as though you set it to a particular value), it is described here. If there is no default value, this section should say "<em>None</em>". Note that the default listed here is not necessarily the same as the value the directive takes in the default httpd.conf distributed with the server.</p></div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div><div class="section"><h2><a name="Context" id="Context">Context</a></h2> <p>This indicates where in the server's configuration files the
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -