diff options
Diffstat (limited to 'usr.sbin/httpd/htdocs/manual/mod')
54 files changed, 0 insertions, 30042 deletions
diff --git a/usr.sbin/httpd/htdocs/manual/mod/core.html.en b/usr.sbin/httpd/htdocs/manual/mod/core.html.en deleted file mode 100644 index 17c059c7a58..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/core.html.en +++ /dev/null @@ -1,4148 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache Core Features</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Apache Core Features</h1> - - <p>These configuration parameters control the core Apache - features, and are always available.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#acceptfilter">AcceptFilter</a></li> - - <li><a href="#acceptmutex">AcceptMutex</a></li> - - <li><a href="#accessconfig">AccessConfig</a></li> - - <li><a href="#accessfilename">AccessFileName</a></li> - - <li><a href="#adddefaultcharset">AddDefaultCharset</a></li> - - <li><a href="#addmodule">AddModule</a></li> - - <li><a href="#allowoverride">AllowOverride</a></li> - - <li><a href="#authname">AuthName</a></li> - - <li><a href="#authtype">AuthType</a></li> - - <li><a href="#bindaddress">BindAddress</a></li> - - <li><a href="#bs2000account">BS2000Account</a></li> - - <li><a href="#cgicommandargs">CGICommandArgs</a></li> - - <li><a href="#clearmodulelist">ClearModuleList</a></li> - - <li><a href="#contentdigest">ContentDigest</a></li> - - <li><a href="#coredumpdirectory">CoreDumpDirectory</a></li> - - <li><a href="#defaulttype">DefaultType</a></li> - - <li><a href="#directory"><Directory></a></li> - - <li><a href="#directorymatch"><DirectoryMatch></a></li> - - <li><a href="#documentroot">DocumentRoot</a></li> - - <li><a href="#ebcdicconvert">EBCDICConvert</a></li> - - <li><a - href="#ebcdicconvertbytype">EBCDICConvertByType</a></li> - - <li><a href="#ebcdickludge">EBCDICKludge</a></li> - - <li><a href="#errordocument">ErrorDocument</a></li> - - <li><a href="#errorlog">ErrorLog</a></li> - - <li><a href="#fileetag">FileETag</a></li> - - <li><a href="#files"><Files></a></li> - - <li><a href="#filesmatch"><FilesMatch></a></li> - - <li><a href="#group">Group</a></li> - - <li><a href="#hostnamelookups">HostnameLookups</a></li> - - <li><a href="#identitycheck">IdentityCheck</a></li> - - <li><a href="#ifdefine"><IfDefine></a></li> - - <li><a href="#ifmodule"><IfModule></a></li> - - <li><a href="#include">Include</a></li> - - <li><a href="#keepalive">KeepAlive</a></li> - - <li><a href="#keepalivetimeout">KeepAliveTimeout</a></li> - - <li><a href="#limit"><Limit></a></li> - - <li><a href="#limitexcept"><LimitExcept></a></li> - - <li><a href="#limitinternalrecursion">LimitInternalRecursion</a></li> - - <li><a href="#limitrequestbody">LimitRequestBody</a></li> - - <li><a href="#limitrequestfields">LimitRequestFields</a></li> - - <li><a - href="#limitrequestfieldsize">LimitRequestFieldsize</a></li> - - <li><a href="#limitrequestline">LimitRequestLine</a></li> - - <li><a href="#listen">Listen</a></li> - - <li><a href="#listenbacklog">ListenBacklog</a></li> - - <li><a href="#location"><Location></a></li> - - <li><a href="#locationmatch"><LocationMatch></a></li> - - <li><a href="#lockfile">LockFile</a></li> - - <li><a href="#loglevel">LogLevel</a></li> - - <li><a href="#maxclients">MaxClients</a></li> - - <li><a - href="#maxkeepaliverequests">MaxKeepAliveRequests</a></li> - - <li><a - href="#maxrequestsperchild">MaxRequestsPerChild</a></li> - - <li><a href="#maxspareservers">MaxSpareServers</a></li> - - <li><a href="#minspareservers">MinSpareServers</a></li> - - <li><a href="#namevirtualhost">NameVirtualHost</a></li> - - <li><a href="#options">Options</a></li> - - <li><a href="#pidfile">PidFile</a></li> - - <li><a href="#port">Port</a></li> - - <li><a href="#protocolreqcheck">ProtocolReqCheck</a></li> - - <li><a href="#require">Require</a></li> - - <li><a href="#resourceconfig">ResourceConfig</a></li> - - <li><a href="#rlimitcpu">RLimitCPU</a></li> - - <li><a href="#rlimitmem">RLimitMEM</a></li> - - <li><a href="#rlimitnproc">RLimitNPROC</a></li> - - <li><a href="#satisfy">Satisfy</a></li> - - <li><a href="#scoreboardfile">ScoreBoardFile</a></li> - - <li><a - href="#scriptinterpretersource">ScriptInterpreterSource</a></li> - - <li><a href="#sendbuffersize">SendBufferSize</a></li> - - <li><a href="#serveradmin">ServerAdmin</a></li> - - <li><a href="#serveralias">ServerAlias</a></li> - - <li><a href="#servername">ServerName</a></li> - - <li><a href="#serverpath">ServerPath</a></li> - - <li><a href="#serverroot">ServerRoot</a></li> - - <li><a href="#serversignature">ServerSignature</a></li> - - <li><a href="#servertokens">ServerTokens</a></li> - - <li><a href="#servertype">ServerType</a></li> - - <li><a href="#shmemuidisuser">ShmemUIDisUser</a></li> - - <li><a href="#startservers">StartServers</a></li> - - <li><a href="#threadsperchild">ThreadsPerChild</a></li> - - <li><a href="#threadstacksize">ThreadStackSize</a></li> - - <li><a href="#timeout">TimeOut</a></li> - - <li><a href="#usecanonicalname">UseCanonicalName</a></li> - - <li><a href="#user">User</a></li> - - <li><a href="#virtualhost"><VirtualHost></a></li> - </ul> - <hr /> - - <h2><a id="acceptfilter" name="acceptfilter">AcceptFilter - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AcceptFilter - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>AcceptFilter - on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server configt<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> AcceptFilter is - available in Apache 1.3.22 and later - - <p><code>AcceptFilter</code> controls a BSD specific filter - optimization. It is compiled in by default - and switched on by - default if your system supports it (setsocketopt() option - SO_ACCEPTFILTER). Currently only FreeBSD supports this.</p> - - <p>See the filter section on <a - href="../misc/perf-bsd44.html">performance hints</a> for more - information.</p> - - <p>The compile time flag <code>AP_ACCEPTFILTER_OFF</code> can - be used to change the default to 'off'. <code>httpd -V</code> - and <code>httpd -L</code> will show compile time defaults and - whether or not SO_ACCEPTFILTER was defined during the - compile.</p> - - <hr /> - - <h2><a id="acceptmutex" name="acceptmutex">AcceptMutex - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AcceptMutex - uslock|pthread|sysvsem|fcntl|flock|os2sem|tpfcore|none|default<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>AcceptMutex - default</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core <br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> AcceptMutex is - available in Apache 1.3.21 and later. - - <p><code>AcceptMutex</code> controls which accept() mutex - method Apache will use. Not all methods are available on all - platforms, since the suite of methods is determined at - compile-time. For a list of which methods are available for - your particular build, the <code>httpd -V</code> command line - option will list them out.</p> - - <p>The compile time flags <code>-D - HAVE_METHOD_SERIALIZED_ACCEPT</code> can be used to add - different methods to your build, or one can edit the - <code>include/ap_config.h</code> file for your particular - platform.</p> - - <p>This directive has no effect on Microsoft Windows.</p> - - <p>See the <a href="../misc/perf-tuning.html">performance tuning - guide</a> for more information.</p> - - <hr /> - - <h2><a id="accessconfig" name="accessconfig">AccessConfig - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AccessConfig - <em>file-path</em>|<em>directory-path</em>|<em>wildcard-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>AccessConfig - conf/access.conf</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core <br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> The ability to - specify a directory, rather than a file name, is only available in - Apache 1.3.13 and later. This directive will be eliminated in version - 2.0. - - <p>The server will read this file for more directives after - reading the <a href="#resourceconfig">ResourceConfig</a> file. - <em>File-path</em> is relative to the <a - href="#serverroot">ServerRoot</a>. This feature can be disabled - using:</p> - - <blockquote> - <code>AccessConfig /dev/null</code> - </blockquote> - Or, on Win32 servers, - - <blockquote> - <code>AccessConfig nul</code> - </blockquote> - Historically, this file only contained <a - href="#directory"><Directory></a> sections; in fact it - can now contain any server directive allowed in the <em>server - config</em> context. However, since Apache version 1.3.4, - the default <code>access.conf</code> file which ships with - Apache contains only comments, and all directives are placed - in the main server configuration file, <code>httpd.conf</code>. - - <p>If <code>AccessConfig</code> points to a directory, rather than a - file, Apache will read all files in that directory, and any - subdirectory, and parse those as configuration files. - </p> - <p>Alternatively you can use a wildcard to limit the scope; i.e - to only *.conf files. - </p> - <p>Note that by default <em>any</em> file in the specified - directory will be loaded as a configuration file. - </p> - <p> - So make sure that you don't have stray files in - this directory by mistake, such as temporary files created by your - editor, for example.</p> - - <p><strong>See also:</strong> <a href="#include">Include</a> and <a - href="#resourceconfig">ResourceConfig</a>.</p> - <hr /> - - <h2><a id="accessfilename" name="accessfilename">AccessFileName - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AccessFileName - <em>filename</em> [<em>filename</em>] ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>AccessFileName - .htaccess</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> AccessFileName - can accept more than one filename only in Apache 1.3 and later - - <p>When returning a document to the client the server looks for - the first existing access control file from this list of names - in every directory of the path to the document, if access - control files are enabled for that directory. For example:</p> - - <blockquote> - <code>AccessFileName .acl</code> - </blockquote> - before returning the document /usr/local/web/index.html, the - server will read /.acl, /usr/.acl, /usr/local/.acl and - /usr/local/web/.acl for directives, unless they have been - disabled with - - <blockquote> - <code><Directory /><br /> - AllowOverride None<br /> - </Directory></code> - </blockquote> - - <p><strong>See Also:</strong> <a - href="#allowoverride">AllowOverride</a> and <a - href="../configuring.html">Configuration Files</a></p> - <hr /> - - <h2><a id="adddefaultcharset" - name="adddefaultcharset">AddDefaultCharset directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AddDefaultCharset - On|Off|<em>charset</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> all<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> - <code>AddDefaultCharset Off</code><br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> - AddDefaultCharset is only available in Apache 1.3.12 and later - - <p>This directive specifies the name of the character set that - will be added to any response that does not have any parameter - on the content type in the HTTP headers. This will override any - character set specified in the body of the document via a - <code>META</code> tag. A setting of <code>AddDefaultCharset - Off</code> disables this functionality. <code>AddDefaultCharset - On</code> enables Apache's internal default charset of - <code>iso-8859-1</code> as required by the directive. You can - also specify an alternate <em>charset</em> to be used.</p> - - <p>For example:</p> - - <blockquote> - <code>AddDefaultCharset utf-8</code> - </blockquote> - - <p><b>Note:</b> This will <b>not</b> have any effect on the - Content-Type and character set for default Apache-generated - status pages (such as '404 Not Found' or '301 Moved Permanently') - because those have an <i>actual</i> character set (that in which the - hard-coded page content is written) and don't need to have a default - applied.</p> - - <hr /> - - <h2><a id="addmodule" name="addmodule">AddModule - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AddModule - <em>module</em> [<em>module</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config <br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> AddModule is - only available in Apache 1.2 and later - - <p>The server can have modules compiled in which are not - actively in use. This directive can be used to enable the use - of those modules. The server comes with a pre-loaded list of - active modules; this list can be cleared with the <a - href="#clearmodulelist">ClearModuleList</a> directive.</p> - - <p>For example:</p> - - <blockquote> - <code>AddModule mod_include.c</code> - </blockquote> - - <p>The ordering of <code>AddModule</code> lines is important. - Modules are listed in reverse priority order --- the ones that come - later can override the behavior of those that come earlier. This - can have visible effects; for instance, if UserDir followed Alias, - you couldn't alias out a particular user's home directory. For - more information and a recommended ordering, see - <code>src/Configuration.tmpl</code> in the Apache source - distribution.</p> - - <p><strong>See also</strong>: <a - href="#clearmodulelist">ClearModuleList</a> and <a - href="mod_so.html#loadmodule">LoadModule</a></p> - <hr /> - - <h2><a id="allowoverride" name="allowoverride">AllowOverride - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AllowOverride - All|None|<em>directive-type</em> [<em>directive-type</em>] - ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>AllowOverride - All</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>When the server finds an .htaccess file (as specified by <a - href="#accessfilename">AccessFileName</a>) it needs to know - which directives declared in that file can override earlier - access information.</p> - - <p><strong>Note:</strong> <code>AllowOverride</code> is only - valid in <Directory> sections, not in <Location> or - <Files> sections, as implied by the <strong>Context</strong> - section above.</p> - - <p>When this directive is set to <code>None</code>, then - .htaccess files are completely ignored. In this case, the - server will not even attempt to read .htaccess files in the - filesystem.</p> - - <p>When this directive is set to <code>All</code>, then any - directive which has the .htaccess <a - href="directive-dict.html#Context">Context</a> is allowed in - .htaccess files.</p> - - <p>The <em>directive-type</em> can be one of the following - groupings of directives.</p> - - <dl> - <dt>AuthConfig</dt> - - <dd> - - Allow use of the authorization directives (<a - href="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a>, - <a - href="mod_auth_dbm.html#authdbmuserfile">AuthDBMUserFile</a>, - <a href="mod_auth.html#authgroupfile">AuthGroupFile</a>, <a - href="#authname">AuthName</a>, <a - href="#authtype">AuthType</a>, <a - href="mod_auth.html#authuserfile">AuthUserFile</a>, <a - href="#require">Require</a>, <em>etc.</em>).</dd> - - <dt>FileInfo</dt> - - <dd> - Allow use of the directives controlling document types (<a - href="mod_mime.html#addencoding">AddEncoding</a>, <a - href="mod_mime.html#addlanguage">AddLanguage</a>, <a - href="mod_mime.html#addtype">AddType</a>, <a - href="#defaulttype">DefaultType</a>, <a - href="#errordocument">ErrorDocument</a>, <a - href="mod_negotiation.html#languagepriority">LanguagePriority</a>, - <em>etc.</em>).</dd> - - <dt>Indexes</dt> - - <dd> - Allow use of the directives controlling directory indexing - (<a - href="mod_autoindex.html#adddescription">AddDescription</a>, - <a href="mod_autoindex.html#addicon">AddIcon</a>, <a - href="mod_autoindex.html#addiconbyencoding">AddIconByEncoding</a>, - <a href="mod_autoindex.html#addiconbytype">AddIconByType</a>, - <a href="mod_autoindex.html#defaulticon">DefaultIcon</a>, <a - href="mod_dir.html#directoryindex">DirectoryIndex</a>, <a - href="mod_autoindex.html#fancyindexing">FancyIndexing</a>, <a - href="mod_autoindex.html#headername">HeaderName</a>, <a - href="mod_autoindex.html#indexignore">IndexIgnore</a>, <a - href="mod_autoindex.html#indexoptions">IndexOptions</a>, <a - href="mod_autoindex.html#readmename">ReadmeName</a>, - <em>etc.</em>).</dd> - - <dt>Limit</dt> - - <dd> - Allow use of the directives controlling host access (<a - href="mod_access.html#allow">Allow</a>, - <a href="mod_access.html#deny">Deny</a> - and <a href="mod_access.html#order">Order</a>).</dd> - - <dt>Options</dt> - - <dd> - Allow use of the directives controlling specific directory - features (<a href="#options">Options</a> and <a - href="mod_include.html#xbithack">XBitHack</a>).</dd> - </dl> - - <p>Example:</p> - <blockquote><code>AllowOverride AuthConfig Indexes</code></blockquote> - - <p><strong>See Also:</strong> <a - href="#accessfilename">AccessFileName</a> and <a - href="../configuring.html">Configuration Files</a></p> - <hr /> - - <h2><a id="authname" name="authname">AuthName - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AuthName - <em>auth-domain</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>This directive sets the name of the authorization realm for - a directory. This realm is given to the client so that the user - knows which username and password to send. - <samp>AuthName</samp> takes a single argument; if the realm - name contains spaces, it must be enclosed in quotation marks. - It must be accompanied by <a href="#authtype">AuthType</a> and - <a href="#require">Require</a> directives, and directives such - as <a href="mod_auth.html#authuserfile">AuthUserFile</a> and <a - href="mod_auth.html#authgroupfile">AuthGroupFile</a> to - work.</p> - - <p>For example:</p> - - <blockquote><code>AuthName "Top Secret"</code></blockquote> - - <p>The string provided for the <code>AuthName</code> is what will - appear in the password dialog provided by most browsers.</p> - - <p><strong>See also:</strong> <a - href="../howto/auth.html">Authentication, Authorization, and - Access Control</a></p> - <hr /> - - <h2><a id="authtype" name="authtype">AuthType - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AuthType - Basic|Digest<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>This directive selects the type of user authentication for a - directory. Only <code>Basic</code> and <code>Digest</code> are - currently implemented. - - It must be accompanied by <a href="#authname">AuthName</a> and - <a href="#require">Require</a> directives, and directives such - as <a href="mod_auth.html#authuserfile">AuthUserFile</a> and <a - href="mod_auth.html#authgroupfile">AuthGroupFile</a> to - work.</p> - - <p><strong>See also:</strong> <a - href="../howto/auth.html">Authentication, Authorization, and - Access Control</a></p> - <hr /> - - <h2><a id="bindaddress" name="bindaddress">BindAddress - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> BindAddress - *|<em>IP-address</em>|<em>domain-name</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>BindAddress - *</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> BindAddress is - deprecated and will be eliminated in Apache 2.0. - - <p>A Unix® http server can either listen for connections to - every IP address of the server machine, or just one IP address - of the server machine. If the argument to this directive is *, - then the server will listen for connections on every IP - address. Otherwise, the server can listen to only a specific - <em>IP-address</em> or a fully-qualified Internet - <em>domain-name</em>.</p> - - <p>For example:</p> - - <code>BindAddress 192.168.15.48</code><br /> - - <p>Only one <code>BindAddress</code> directive can be used.</p> - - <p>This directive is deprecated and will be eliminated in - Apache 2.0. Equivalent functionality and more control over the - address and ports Apache listens to is available using the - <code><a href="#listen">Listen</a></code> - directive.</p> - - <p><code>BindAddress</code> can be used as an alternative - method for supporting <a href="../vhosts/">virtual hosts</a> - using multiple independent servers, instead of using <code><a - href="#virtualhost"><VirtualHost></a></code> - sections.</p> - - <p><strong>See Also:</strong> <a href="../dns-caveats.html">DNS - Issues</a><br /> - <strong>See Also:</strong> <a href="../bind.html">Setting - which addresses and ports Apache uses</a></p> - <hr /> - - <h2><a id="bs2000account" name="bs2000account">BS2000Account - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> BS2000Account - <em>account</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>none</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> BS2000Account is - only available for BS2000 machines, as of Apache 1.3 and later. - - - <p>The <code>BS2000Account</code> directive is available for - BS2000 hosts only. It must be used to define the account number - for the non-privileged apache server user (which was configured - using the <a href="#user">User</a> directive). This is required - by the BS2000 POSIX subsystem (to change the underlying BS2000 - task environment by performing a sub-LOGON) to prevent CGI - scripts from accessing resources of the privileged account - which started the server, usually <samp>SYSROOT</samp>.<br /> - Only one <code>BS2000Account</code> directive can be used.</p> - - <p><strong>See Also:</strong> <a href="../ebcdic.html">Apache - EBCDIC port</a></p> - <hr /> - - <h2><a id="cgicommandargs" name="cgicommandargs">CGICommandArgs - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> CGICommandArgs On|Off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> CGICommandArgs On<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> Options<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in Apache - 1.3.24 and later. - - <p>Way back when the internet was a safer, more naive place, it - was convenient for the server to take a query string that did not - contain an '=' sign and to parse and pass it to a CGI program as - command line args. For example, <code><IsIndex></code> - generated searches often work in this way. The default behavior - in Apache is to maintain this behavior for backwards - compatibility, although it is generally regarded as unsafe - practice today. Most CGI programs do not take command line - parameters, but among those that do, many are unaware of this - method of passing arguments and are therefore vulnerable to - malicious clients passing unsafe material in this way. Setting - <code>CGICommandArgs Off</code> is recommended to protect such - scripts with little loss in functionality.</p> - - <hr /> - - <h2><a id="clearmodulelist" - name="clearmodulelist">ClearModuleList directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ClearModuleList<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> ClearModuleList - is only available in Apache 1.2 and later - - <p>The server comes with a built-in list of active modules. - This directive clears the list. It is assumed that the list - will then be re-populated using the <a - href="#addmodule">AddModule</a> directive.</p> - - <p><strong>See also</strong>: <a - href="#addmodule">AddModule</a> and <a - href="mod_so.html#loadmodule">LoadModule</a></p> - - <hr /> - - <h2><a id="contentdigest" name="contentdigest">ContentDigest - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ContentDigest - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ContentDigest - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> Options<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> experimental<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> ContentDigest is - only available in Apache 1.1 and later - - <p>This directive enables the generation of - <code>Content-MD5</code> headers as defined in RFC1864 - respectively RFC2068.</p> - - <p>MD5 is an algorithm for computing a "message digest" - (sometimes called "fingerprint") of arbitrary-length data, with - a high degree of confidence that any alterations in the data - will be reflected in alterations in the message digest.</p> - - <p>The <code>Content-MD5</code> header provides an end-to-end - message integrity check (MIC) of the entity-body. A proxy or - client may check this header for detecting accidental - modification of the entity-body in transit. Example header:</p> -<pre> - Content-MD5: AuLb7Dp1rqtRtxz2m9kRpA== -</pre> - - <p>Note that this can cause performance problems on your server - since the message digest is computed on every request (the - values are not cached).</p> - - <p><code>Content-MD5</code> is only sent for documents served - by the core, and not by any module. For example, SSI documents, - output from CGI scripts, and byte range responses do not have - this header.</p> - <hr /> - - <h2><a id="coredumpdirectory" - name="coredumpdirectory">CoreDumpDirectory directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> CoreDumpDirectory - <em>directory-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> the same location as - ServerRoot<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>This controls the directory to which Apache attempts to - switch before dumping core. The default is in the <a - href="#serverroot">ServerRoot</a> directory, however since this - should not be writable by the user the server runs as, core - dumps won't normally get written. If you want a core dump for - debugging, you can use this directive to place it in a - different location.</p> - - <p>For example:</p> - - <blockquote> - <code>CoreDumpDirectory /tmp</code> - </blockquote> - - <hr /> - - <h2><a id="defaulttype" name="defaulttype">DefaultType - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> DefaultType - <em>MIME-type</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>DefaultType - text/plain</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>There will be times when the server is asked to provide a - document whose type cannot be determined by its MIME types - mappings.</p> - - <p>The server must inform the client of the content-type of the - document, so in the event of an unknown type it uses the - <code>DefaultType</code>. For example:</p> - - <blockquote> - <code>DefaultType image/gif</code> - </blockquote> - would be appropriate for a directory which contained many gif - images with filenames missing the .gif extension. - - <p><strong>See also:</strong> <a - href="mod_mime.html#addtype">AddType</a> and <a - href="mod_mime.html#typesconfig">TypesConfig</a>.</p> - - <hr /> - - <h2><a id="directory" name="directory"><Directory> - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <Directory - <em>directory-path</em>|proxy:<em>url-path</em>> - ... </Directory> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core. - - <p><Directory> and </Directory> are used to enclose - a group of directives which will apply only to the named - directory and sub-directories of that directory. Any directive - which is allowed in a directory context may be used. - <em>Directory-path</em> is either the full path to a directory, - or a wild-card string. In a wild-card string, `?' matches any - single character, and `*' matches any sequences of characters. - As of Apache 1.3, you may also use `[ ]' character ranges like - in the shell. Also as of Apache 1.3 none of the wildcards match - a `/' character, which more closely mimics the behavior of - Unix shells. Example:</p> -<pre> - <Directory /usr/local/httpd/htdocs> - Options Indexes FollowSymLinks - </Directory> -</pre> - - <p><strong>Apache 1.2 and above:</strong> Extended regular - expressions can also be used, with the addition of the - <code>~</code> character. For example:</p> -<pre> - <Directory ~ "^/www/.*/[0-9]{3}"> -</pre> - would match directories in /www/ that consisted of three - numbers. - - <p>If multiple (non-regular expression) directory sections - match the directory (or its parents) containing a document, - then the directives are applied in the order of shortest match - first, interspersed with the directives from the <a - href="#accessfilename">.htaccess</a> files. For example, - with</p> - - <blockquote> - <code><Directory /><br /> - AllowOverride None<br /> - </Directory><br /> - <br /> - <Directory /home/*><br /> - AllowOverride FileInfo<br /> - </Directory></code> - </blockquote> - for access to the document <code>/home/web/dir/doc.html</code> - the steps are: - - <ul> - <li>Apply directive <code>AllowOverride None</code> - (disabling <code>.htaccess</code> files).</li> - - <li>Apply directive <code>AllowOverride FileInfo</code> (for - directory <code>/home/web</code>).</li> - - <li>Apply any FileInfo directives in - <code>/home/web/.htaccess</code></li> - </ul> - - <p>Regular expression directory sections are handled slightly - differently by Apache 1.2 and 1.3. In Apache 1.2 they are - interspersed with the normal directory sections and applied in - the order they appear in the configuration file. They are - applied only once, and apply when the shortest match possible - occurs. In Apache 1.3 regular expressions are not considered - until after all of the normal sections have been applied. Then - all of the regular expressions are tested in the order they - appeared in the configuration file. For example, with</p> - - <blockquote> - <code><Directory ~ abc$><br /> - ... directives here ...<br /> - </Directory><br /> - </code> - </blockquote> - Suppose that the filename being accessed is - <code>/home/abc/public_html/abc/index.html</code>. The server - considers each of <code>/</code>, <code>/home</code>, - <code>/home/abc</code>, <code>/home/abc/public_html</code>, and - <code>/home/abc/public_html/abc</code> in that order. In Apache - 1.2, when <code>/home/abc</code> is considered, the regular - expression will match and be applied. In Apache 1.3 the regular - expression isn't considered at all at that point in the tree. - It won't be considered until after all normal - <Directory>s and <code>.htaccess</code> files have been - applied. Then the regular expression will match on - <code>/home/abc/public_html/abc</code> and be applied. - - <p><strong>Note that the default Apache access for - <Directory /> is <samp>Allow from All</samp>. This means - that Apache will serve any file mapped from an URL. It is - recommended that you change this with a block such - as</strong></p> -<pre> - <Directory /> - Order Deny,Allow - Deny from All - </Directory> -</pre> - - <p><strong>and then override this for directories you - <em>want</em> accessible. See the <a - href="../misc/security_tips.html">Security Tips</a> page for - more details.</strong></p> - <Directory> directives cannot nest, and cannot appear in - a <a href="#limit"><Limit></a> or <a - href="#limitexcept"><LimitExcept></a> section. - - <p>If you have <a href="mod_proxy.html">mod_proxy</a> enabled, you - can use the <code>proxy:</code> syntax to apply configuration - directives to proxied content. The syntax for this is to specify the - proxied URLs to which you wish to apply the configuration, or to - specify <code>*</code> to apply to all proxied content:</p> - - <p>To apply to all proxied content:</p> - - <pre> - <Directory proxy:*> - ... directives here ... - </Directory> - </pre> - - <p>To apply to just a subset of proxied content:</p> - - <pre> - <Directory proxy:http://www.example.com/> - ... directives here ... - </Directory> - </pre> - - <p><strong>See also</strong>: <a href="../sections.html">How - Directory, Location and Files sections work</a> for an - explanation of how these different sections are combined when a - request is received</p> - <p><strong>See also</strong>: <a - href="#directorymatch">DirectoryMatch</a></p> - <hr /> - - <h2><a id="directorymatch" - name="directorymatch"><DirectoryMatch></a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <DirectoryMatch - <em>regex</em>> ... </DirectoryMatch> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core.<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.3 and later - - <p><DirectoryMatch> and </DirectoryMatch> are used - to enclose a group of directives which will apply only to the - named directory and sub-directories of that directory, the same - as <a href="#directory"><Directory></a>. However, it - takes as an argument a regular expression. For example:</p> -<pre> - <DirectoryMatch "^/www/.*/[0-9]{3}"> -</pre> - - <p>would match directories in /www/ that consisted of three - numbers.</p> - - <p><strong>See Also:</strong> <a - href="#directory"><Directory></a> for a description of - how regular expressions are mixed in with normal - <Directory>s.<br /> - <strong>See also</strong>: <a href="../sections.html">How - Directory, Location and Files sections work</a> for an - explanation of how these different sections are combined when a - request is received</p> - <hr /> - - <h2><a id="documentroot" name="documentroot">DocumentRoot - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> DocumentRoot - <em>directory-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>DocumentRoot - /usr/local/apache/htdocs</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>This directive sets the directory from which httpd will - serve files. Unless matched by a directive like Alias, the - server appends the path from the requested URL to the document - root to make the path to the document. Example:</p> - - <blockquote> - <code>DocumentRoot /usr/web</code> - </blockquote> - then an access to - <code>http://www.my.host.com/index.html</code> refers to - <code>/usr/web/index.html</code>. - - <p>There appears to be a bug in mod_dir which causes problems - when the DocumentRoot has a trailing slash (<em>i.e.</em>, - "DocumentRoot /usr/web/") so please avoid that.</p> - <hr /> - - <h2><a id="ebcdicconvert" - name="ebcdicconvert">EBCDICConvert</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> EBCDICConvert - On|Off[=<em>direction</em>] <em>extension</em> - [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> The configurable - EBCDIC conversion is only available in Apache 1.3.19 and later, - and on EBCDIC based platforms. - - <p>The EBCDICConvert directive maps the given filename - extensions to the specified conversion setting (<samp>On</samp> - or <samp>Off</samp>). File extensions may be specified with or - without a leading dot.</p> - - <p>If the optional format <samp>On=<i>direction</i></samp> (or - <samp>Off=<i>direction</i></samp>) is used, where - <i>direction</i> is one of <samp>In</samp>, <samp>Out</samp> or - <samp>InOut</samp>, then the directive only applies to the - specified transfer direction (<samp>In</samp>: uploaded content - in a PUT or POST request, <samp>Out</samp>: returned content in - a GET or POST request, and <samp>InOut</samp>: conversion in - both directions).<br /> - Otherwise, <samp>InOut</samp> (conversion in both directions) - is implied.</p> - - <p>Conversion configuration based on file extension is tested - prior to configuration based on MIME type, to allow for generic - MIME based rules to be overridden by a more specific file - extension (several file extensions may exist for the same MIME - type).</p> - - <p><strong>Example</strong>:<br /> - With a configuration like the following, the normal - <samp>*.html</samp> files contain HTML text in EBCDIC encoding, - while <samp>*.ahtml</samp> files contain HTML text in ASCII - encoding:</p> -<pre> - # *.html and *.ahtml contain HTML text: - AddType text/html .html .ahtml - - # *.ahtml is not converted (contains ASCII text already): - EBCDICConvert Off .ahtml - - # All other text/html files presumably contain EBCDIC text: - EBCDICConvertByType On text/html -</pre> - <br /> - <br /> - - - <p><strong>See also</strong>: <a - href="#ebcdicconvertbytype">EBCDICConvertByType</a> and <a - href="../ebcdic.html#ebcdic">Overview of the EBCDIC Conversion - Functions</a></p> - <hr /> - - <h2><a id="ebcdicconvertbytype" - name="ebcdicconvertbytype">EBCDICConvertByType</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> EBCDICConvertByType - On|Off[=<em>direction</em>] <em>mimetype</em> - [<em>mimetype</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> The configurable - EBCDIC conversion is only available in Apache 1.3.19 and later, - and on EBCDIC based platforms. - - <p>The EBCDICConvertByType directive maps the given MIME type - (optionally containing wildcards) to the specified conversion - setting (<samp>On</samp> or <samp>Off</samp>).</p> - - <p>If the optional format <samp>On=<i>direction</i></samp> (or - <samp>Off=<i>direction</i></samp>) is used, where - <i>direction</i> is one of <samp>In</samp>, <samp>Out</samp> or - <samp>InOut</samp>, then the directive only applies to the - specified transfer direction (<samp>In</samp>: uploaded content - in a PUT or POST request, <samp>Out</samp>: returned content in - a GET or POST request, and <samp>InOut</samp>: conversion in - both directions).<br /> - Otherwise, <samp>InOut</samp> (conversion in both directions) - is implied.</p> - - <p><strong>Example</strong>:<br /> - A useful standard configuration should at least contain the - following defaults:</p> -<pre> - # All text documents are stored as EBCDIC files: - EBCDICConvertByType On text/* message/* multipart/* - EBCDICConvertByType On application/x-www-form-urlencoded \ - model/vrml application/postscript - # All other files are assumed to be binary: - EBCDICConvertByType Off */* -</pre> - If you serve ASCII documents only, for example from an NFS - mounted unix server, use: -<pre> - # All documents are ASCII already: - EBCDICConvertByType Off */* -</pre> - - <p><strong>See also</strong>: <a - href="#ebcdicconvert">EBCDICConvert</a> and <a - href="../ebcdic.html#ebcdic">Overview of the EBCDIC Conversion - Functions</a></p> - <hr /> - - <h2><a id="ebcdickludge" - name="ebcdickludge">EBCDICKludge</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> EBCDICKludge - On|Off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>EBCDICKludge - Off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> EBCDICKludge is - only available in Apache 1.3.19 and later, and on EBCDIC based - platforms. It is deprecated and will be withdrawn in a future - version.<br /> - - - <p>The EBCDICKludge is provided for the backward compatible - behavior with apache versions 1.3.0 through 1.3.18. In these - versions, all files with MIME types starting with "text/", - "message/" or "multipart/" or with type - "application/x-www-form-urlencoded" would be converted by - default, all other documents were returned unconverted. Only if - a MIME type "<samp>text/<b>x-ascii-</b><i>subtype</i></samp>" - was configured for a certain document, the document was assumed - to be in ASCII format already, and was not converted again. - Instead, the "<samp><b>x-ascii-</b></samp>" was removed from - the type, resulting in the MIME type - "<samp>text/<i>subtype</i></samp>" being returned for the - document.</p> - - <p>If the EBCDICKludge directive is set to <samp>On</samp>, and - if none of the file extensions configured with the <a - href="#ebcdicconvert">EBCDICConvert</a> directive matches in - the current context, then the server tests for a MIME type of - the format - <samp><i>type/</i><b>x-ascii-</b><i>subtype</i></samp>. If the - document has such a type, then the - "<samp><b>x-ascii-</b></samp>" substring is removed and the - conversion set to <samp>Off</samp>. This allows for overriding - the implicit assumption that all text files are stored in - EBCDIC format, for example when serving documents from an NFS - mounted directory with ASCII documents.<br /> - By using the EBCDICKludge, there is no way to force one of the - other MIME types (<em>e.g.</em>, model/vrml) to be treated as - an EBCDIC text file. Use of the <a - href="#ebcdicconvertbytype">EBCDICConvertByType</a> directive - mentioned above is the preferred way to configure such a - conversion. (Before Apache version 1.3.19, there was no way at - all to force these binary documents to be treated as EBCDIC - text files.)</p> - - <p><strong>See also</strong>: <a - href="#ebcdicconvert">EBCDICConvert</a>, <a - href="#ebcdicconvertbytype">EBCDICConvertByType</a> and <a - href="../ebcdic.html#ebcdic">Overview of the EBCDIC Conversion - Functions</a></p> - <hr /> - - <h2><a id="errordocument" name="errordocument">ErrorDocument - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ErrorDocument - <em>error-code document</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> The directory - and .htaccess contexts are only available in Apache 1.1 and - later. - - <p>In the event of a problem or error, Apache can be configured - to do one of four things,</p> - - <ol> - <li>output a simple hardcoded error message</li> - - <li>output a customized message</li> - - <li>redirect to a local <em>URL-path</em> to handle the - problem/error</li> - - <li>redirect to an external <em>URL</em> to handle the - problem/error</li> - </ol> - - <p>The first option is the default, while options 2-4 are - configured using the <code>ErrorDocument</code> directive, - which is followed by the HTTP response code and a message or - URL.</p> - - <p><em>Messages</em> in this context begin with a single - double-quote character (<code>"</code>), which does not form - part of the message itself. Apache will sometimes offer - additional information regarding the problem/error.</p> - - <p>URLs can begin with a slash (/) for local URLs, or be a full - URL which the client can resolve. Examples:</p> - - <blockquote> - <code>ErrorDocument 500 - http://foo.example.com/cgi-bin/tester<br /> - ErrorDocument 404 /cgi-bin/bad_urls.pl<br /> - ErrorDocument 401 /subscription_info.html<br /> - ErrorDocument 403 "Sorry can't allow you access today</code> - </blockquote> - - <p>Note that when you specify an <code>ErrorDocument</code> - that points to a remote URL (ie. anything with a method such as - "http" in front of it), Apache will send a redirect to the - client to tell it where to find the document, even if the - document ends up being on the same server. This has several - implications, the most important being that the client will not - receive the original error status code, but instead will - receive a redirect status code. This in turn can confuse web - robots and other clients which try to determine if a URL is - valid using the status code. In addition, if you use a remote - URL in an <code>ErrorDocument 401</code>, the client will not - know to prompt the user for a password since it will not - receive the 401 status code. Therefore, <strong>if you use an - "ErrorDocument 401" directive then it must refer to a local - document.</strong></p> - - <p>See Also: <a href="../custom-error.html">documentation of - customizable responses.</a> See the <a - href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">HTTP - specification</a> for a complete list of the status codes and their - meanings.</p> - <hr /> - - <h2><a id="errorlog" name="errorlog">ErrorLog - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ErrorLog - <em>file-path</em>|syslog[:<em>facility</em>] <br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ErrorLog - logs/error_log</code> (Unix)<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ErrorLog - logs/error.log</code> (Windows and OS/2)<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The error log directive sets the name of the file to which - the server will log any errors it encounters. If the - <em>file-path</em> does not begin with a slash (/) then it is - assumed to be relative to the <a - href="#serverroot">ServerRoot</a>. If the <em>file-path</em> - begins with a pipe (|) then it is assumed to be a command to - spawn to handle the error log.</p> - - <p>Examples</p> - - <p><code>ErrorLog logs/vhost1.error</code></p> - - or - - <p><code>ErrorLog |/usr/local/bin/errorlog.pl</code></p> - - <p><strong>Apache 1.3 and above:</strong> Using - <code>syslog</code> instead of a filename enables logging via - syslogd(8) if the system supports it. The default is to use - syslog facility <code>local7</code>, but you can override this - by using the <code>syslog:</code><em>facility</em> syntax where - <em>facility</em> can be one of the names usually documented in - syslog(1).</p> - - <p>For example:</p> - - <p><code>ErrorLog syslog</code></p> - - or - - <p><code>ErrorLog syslog:user</code></p> - - <p>SECURITY: See the <a - href="../misc/security_tips.html#serverroot">security tips</a> - document for details on why your security could be compromised - if the directory where logfiles are stored is writable by - anyone other than the user that starts the server.</p> - - <p><strong>See also:</strong> <a href="#loglevel">LogLevel</a> - and <a href="../logs.html">Apache Log Files</a></p> - <hr /> - - <h2><a id="fileetag" name="fileetag">FileETag directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> FileETag - <i>component</i> ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> only available - in Apache 1.3.23 versions and later. - - <p> - The FileETag directive configures the file attributes that are - used to create the ETag (entity tag) response header field - when the document is based on a file. - (The ETag value is used in cache management to save network - bandwidth.) In Apache 1.3.22 and earlier, the ETag value was - <i>always</i> formed from the file's inode, size, and last-modified - time (mtime). The FileETag directive allows you to choose - which of these -- if any -- should be used. The recognized - keywords are: - </p> - <dl compact="compact"> - <dt><b>INode</b></dt> - <dd>The file's i-node number will be included in the calculation</dd> - <dt><b>MTime</b></dt> - <dd>The date and time the file was last modified will be included</dd> - <dt><b>Size</b></dt> - <dd>The number of bytes in the file will be included</dd> - <dt><b>All</b></dt> - <dd>All available fields will be used (equivalent to - '<code>FileETag INode MTime Size</code>')</dd> - <dt><b>None</b></dt> - <dd>If a document is file-based, no ETag field will be included in the - response</dd> - </dl> - <p> - The INode, MTime, and Size keywords may be prefixed with either '+' - or '-', which allow changes to be made to the default setting - inherited from a broader scope. Any keyword appearing without - such a prefix immediately and completely cancels the inherited - setting. - </p> - <p> - If a directory's configuration includes - '<code>FileETag INode MTime Size</code>', and a - subdirectory's includes '<code>FileETag -INode</code>', - the setting for that subdirectory (which will be inherited by - any sub-subdirectories that don't override it) will be equivalent to - '<code>FileETag MTime Size</code>'. - </p> - <hr /> - - <h2><a id="files" name="files"><Files> directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <Files - <em>filename</em>> ... </Files><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> only available - in Apache 1.2 and above. - - <p>The <Files> directive provides for access control by - filename. It is comparable to the <a - href="#directory"><Directory></a> directive and <a - href="#location"><Location></a> directives. It should be - matched with a </Files> directive. The directives given - within this section will be applied to any object with a - basename (last component of filename) matching the specified - filename. <code><Files></code> sections are processed in - the order they appear in the configuration file, after the - <Directory> sections and <code>.htaccess</code> files are - read, but before <Location> sections. Note that - <Files> can be nested inside <Directory> sections - to restrict the portion of the filesystem they apply to.</p> - - <p>The <em>filename</em> argument should include a filename, or - a wild-card string, where `?' matches any single character, and - `*' matches any sequences of characters. Extended regular - expressions can also be used, with the addition of the - <code>~</code> character. For example:</p> -<pre> - <Files ~ "\.(gif|jpe?g|png)$"> -</pre> - would match most common Internet graphics formats. In Apache - 1.3 and later, <a href="#filesmatch"><FilesMatch></a> is - preferred, however. - - <p>Note that unlike <a - href="#directory"><code><Directory></code></a> and <a - href="#location"><code><Location></code></a> sections, - <code><Files></code> sections can be used inside - .htaccess files. This allows users to control access to their - own files, at a file-by-file level. - For example, to password protect a single file within a - particular directory, you might add the following to your - <code>.htaccess</code> file:</p> - - <pre> - <Files admin.cgi> - Require group admin - </Files></pre> - - <p>Remember that directives apply to subdirectories as well, so this - will also protect files called <code>admin.cgi</code> in - subdirectories, unless specifically overridden.</p> - - <p>(See <a href="#require">Require</a> for details on using the - <code>Require</code> directive)</p> - - <p><strong>See also</strong>: <a href="../sections.html">How - Directory, Location and Files sections work</a> for an - explanation of how these different sections are combined when a - request is received</p> - <hr /> - - <h2><a id="filesmatch" - name="filesmatch"><FilesMatch></a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <FilesMatch - <em>regex</em>> ... </FilesMatch><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> only available - in Apache 1.3 and above. - - <p>The <FilesMatch> directive provides for access control - by filename, just as the <a href="#files"><Files></a> - directive does. However, it accepts a regular expression. For - example:</p> -<pre> - <FilesMatch "\.(gif|jpe?g|png)$"> -</pre> - - <p>would match most common Internet graphics formats.</p> - <strong>See also</strong>: <a href="../sections.html">How - Directory, Location and Files sections work</a> for an - explanation of how these different sections are combined when a - request is received - <hr /> - - <h2><a id="group" name="group">Group directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Group - <em>unix-group</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>Group - #-1</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The Group directive sets the group under which the server - will answer requests. In order to use this directive, the - stand-alone server must be run initially as root. - <em>Unix-group</em> is one of:</p> - - <dl> - <dt>A group name</dt> - - <dd>Refers to the given group by name.</dd> - - <dt># followed by a group number.</dt> - - <dd>Refers to a group by its number.</dd> - </dl> - <p>It is recommended that you set up a new group specifically for - running the server. Some admins use user <code>nobody</code>, - but this is not always possible or desirable.</p> - - <p>Example:</p> - - <code>Group www-group</code> - - <p>Note: if you start the server as a non-root user, it will - fail to change to the specified group, and will instead - continue to run as the group of the original user.</p> - - <p>Special note: Use of this directive in <VirtualHost> - requires a properly configured <a href="../suexec.html">suEXEC - wrapper</a>. When used inside a <VirtualHost> in this - manner, only the group that CGIs are run as is affected. - Non-CGI requests are still processed as the group specified in - the main Group directive.</p> - - <p>SECURITY: See <a href="#user">User</a> for a discussion of - the security considerations.</p> - <hr /> - - <h2><a id="hostnamelookups" - name="hostnamelookups">HostnameLookups directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> HostnameLookups - on|off|double<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>HostnameLookups - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> - <code>double</code> available only in Apache 1.3 and - above.<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Default was - <code>on</code> prior to Apache 1.3. - - <p>This directive enables DNS lookups so that host names can be - logged (and passed to CGIs/SSIs in <code>REMOTE_HOST</code>). - The value <code>double</code> refers to doing double-reverse - DNS. That is, after a reverse lookup is performed, a forward - lookup is then performed on that result. At least one of the ip - addresses in the forward lookup must match the original - address. (In "tcpwrappers" terminology this is called - <code>PARANOID</code>.)</p> - - <p>Regardless of the setting, when <a - href="mod_access.html">mod_access</a> is used for controlling - access by hostname, a double reverse lookup will be performed. - This is necessary for security. Note that the result of this - double-reverse isn't generally available unless you set - <code>HostnameLookups double</code>. For example, if only - <code>HostnameLookups on</code> and a request is made to an - object that is protected by hostname restrictions, regardless - of whether the double-reverse fails or not, CGIs will still be - passed the single-reverse result in - <code>REMOTE_HOST</code>.</p> - - <p>The default for this directive was previously - <code>on</code> in versions of Apache prior to 1.3. It was - changed to <code>off</code> in order to save the network - traffic for those sites that don't truly need the reverse - lookups done. It is also better for the end users because they - don't have to suffer the extra latency that a lookup entails. - Heavily loaded sites should leave this directive - <code>off</code>, since DNS lookups can take considerable - amounts of time. The utility <a - href="../programs/logresolve.html">logresolve</a>, provided in - the <em>/support</em> directory, can be used to look up host - names from logged IP addresses offline.</p> - <hr /> - - <h2><a id="identitycheck" name="identitycheck">IdentityCheck - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> IdentityCheck - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>IdentityCheck - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>This directive enables RFC1413-compliant logging of the - remote user name for each connection, where the client machine - runs identd or something similar. This information is logged in - the access log.</p> - - <p>The information should not be trusted in any way except for - rudimentary usage tracking.</p> - - <p>Note that this can cause serious latency problems accessing - your server since every request requires one of these lookups - to be performed. When firewalls are involved each lookup might - possibly fail and add 30 seconds of latency to each hit. So in - general this is not very useful on public servers accessible - from the Internet.</p> - <hr /> - - <h2><a id="ifdefine" name="ifdefine"><IfDefine> - directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <IfDefine - [!]<em>parameter-name</em>> <em>...</em> - </IfDefine><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> None<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> all<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> <IfDefine> - is only available in 1.3.1 and later. - - <p>The <IfDefine <em>test</em>>...</IfDefine> - section is used to mark directives that are conditional. The - directives within an IfDefine section are only processed if the - <em>test</em> is true. If <em>test</em> is false, everything - between the start and end markers is ignored.</p> - - <p>The <em>test</em> in the <IfDefine> section directive - can be one of two forms:</p> - - <ul> - <li><em>parameter-name</em></li> - - <li><code>!</code><em>parameter-name</em></li> - </ul> - - <p>In the former case, the directives between the start and end - markers are only processed if the parameter named - <em>parameter-name</em> is defined. The second format reverses - the test, and only processes the directives if - <em>parameter-name</em> is <strong>not</strong> defined.</p> - - <p>The <em>parameter-name</em> argument is a define as given on - the <code>httpd</code> command line via - <code>-D</code><em>parameter-</em>, at the time the server was - started.</p> - - <p><IfDefine> sections are nest-able, which can be used - to implement simple multiple-parameter tests. Example:</p> -<pre> - $ httpd -DReverseProxy ... - - # httpd.conf - <IfDefine ReverseProxy> - LoadModule rewrite_module libexec/mod_rewrite.so - LoadModule proxy_module libexec/libproxy.so - </IfDefine> -</pre> - <hr /> - - <h2><a id="ifmodule" name="ifmodule"><IfModule> - directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <IfModule - [!]<em>module-name</em>> <em>...</em> - </IfModule><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> None<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> all<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> IfModule is only - available in 1.2 and later. - - <p>The <IfModule <em>test</em>>...</IfModule> - section is used to mark directives that are conditional. The - directives within an IfModule section are only processed if the - <em>test</em> is true. If <em>test</em> is false, everything - between the start and end markers is ignored.</p> - - <p>The <em>test</em> in the <IfModule> section directive - can be one of two forms:</p> - - <ul> - <li><em>module name</em></li> - - <li>!<em>module name</em></li> - </ul> - - <p>In the former case, the directives between the start and end - markers are only processed if the module named <em>module - name</em> is included in Apache -- either compiled in or - dynamically loaded using <a - href="mod_so.html#loadmodule">LoadModule</a>. The second format - reverses the test, and only processes the directives if <em>module - name</em> is <strong>not</strong> included.</p> - - <p>The <em>module name</em> argument is the file name of the - module, at the time it was compiled. - For example, <code>mod_rewrite.c</code>.</p> - - <p><IfModule> sections are nest-able, which can be used - to implement simple multiple-module tests.</p> - <hr /> - - <h2><a id="include" name="include">Include directive</a></h2> - <strong>Syntax:</strong> Include - <em>file-path</em>|<em>directory-path</em>|<em>wildcard-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Include is only - available in Apache 1.3 and later. - - <p>This directive allows inclusion of other configuration files - from within the server configuration files.</p> - - <p>The file path specified may be a fully qualified path (i.e. - starting with a slash), or may be relative to the - <code>ServerRoot</code> directory.</p> - - <p>New in Apache 1.3.13 is the feature that if - <code>Include</code> points to a directory, rather than a file, - Apache will read all files in that directory, and any - subdirectory, and parse those as configuration files.</p> - <p>By using a wildcard this can be further limited to, say, - just the '*.conf' files. - </p> - <p>Examples:</p> - <blockquote> - <code>Include /usr/local/apache/conf/ssl.conf<br /> - Include /usr/local/apache/conf/vhosts/ - </code> - </blockquote> - - <p>Or, providing paths relative to your <code>ServerRoot</code> - directory:</p> - - <blockquote> - <code>Include conf/ssl.conf<br /> - Include conf/vhosts/ - </code> - </blockquote> - - <p>Make sure that an included directory does not contain any stray - files, such as editor temporary files, for example, as Apache will - attempt to read them in and use the contents as configuration - directives, which may cause the server to fail on start up. - Running <code>apachectl configtest</code> will give you a list of - the files that are being processed during the configuration - check:</p> - -<pre> -root@host# apachectl configtest - Processing config directory: /usr/local/apache/conf/vhosts - Processing config file: /usr/local/apache/conf/vhosts/vhost1 - Processing config file: /usr/local/apache/conf/vhosts/vhost2 -Syntax OK -</pre> - - <p>This will help in verifying that you are getting only the files - that you intended as part of your configuration.</p> - - <p><strong>See also</strong>: <a - href="../programs/apachectl.html">apachectl</a></p> - - <hr /> - - <h2><a id="keepalive" name="keepalive">KeepAlive - directive</a></h2> - <strong>Syntax: (Apache 1.1)</strong> KeepAlive - <em>max-requests</em><br /> - <strong>Default: (Apache 1.1)</strong> <code>KeepAlive - 5</code><br /> - <strong>Syntax: (Apache 1.2)</strong> KeepAlive on|off<br /> - <strong>Default: (Apache 1.2)</strong> <code>KeepAlive - On</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> KeepAlive is - only available in Apache 1.1 and later. - - <p>The Keep-Alive extension to HTTP/1.0 and the persistent - connection feature of HTTP/1.1 provide long-lived HTTP sessions - which allow multiple requests to be sent over the same TCP - connection. In some cases this has been shown to result in an - almost 50% speedup in latency times for HTML documents with - many images. To enable Keep-Alive connections in Apache 1.2 and - later, set <code>KeepAlive On</code>.</p> - - <p>For HTTP/1.0 clients, Keep-Alive connections will only be - used if they are specifically requested by a client. In - addition, a Keep-Alive connection with an HTTP/1.0 client can - only be used when the length of the content is known in - advance. This implies that dynamic content such as CGI output, - SSI pages, and server-generated directory listings will - generally not use Keep-Alive connections to HTTP/1.0 clients. - For HTTP/1.1 clients, persistent connections are the default - unless otherwise specified. If the client requests it, chunked - encoding will be used in order to send content of unknown - length over persistent connections.</p> - - <p><strong>Apache 1.1 only</strong>: Set <em>max-requests</em> - to the maximum number of requests you want Apache to entertain - per connection. A limit is imposed to prevent a client from - hogging your server resources. Set this to <code>0</code> to - disable support. In Apache 1.2 and 1.3, this is controlled - through the MaxKeepAliveRequests directive instead.</p> - - <p>See also <a - href="#maxkeepaliverequests">MaxKeepAliveRequests</a>.</p> - <hr /> - - <h2><a id="keepalivetimeout" - name="keepalivetimeout">KeepAliveTimeout directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> KeepAliveTimeout - <em>seconds</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>KeepAliveTimeout - 15</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> KeepAliveTimeout - is only available in Apache 1.1 and later. - - <p>The number of seconds Apache will wait for a subsequent - request before closing the connection. Once a request has been - received, the timeout value specified by the <a - href="#timeout"><code>Timeout</code></a> directive applies.</p> - - <p>Setting <code>KeepAliveTimeout</code> to a high value may - cause performance problems in heavily loaded servers. The - higher the timeout, the more server processes will be kept - occupied waiting on connections with idle clients.</p> - <hr /> - - <h2><a id="limit" name="limit"><Limit> directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <Limit - <em>method</em> [<em>method</em>] ... > ... - </Limit><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> any<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>Access controls are normally effective for - <strong>all</strong> access methods, and this is the usual - desired behavior. <strong>In the general case, access control - directives should not be placed within a - <code><limit></code> section.</strong></p> - - <p>The purpose of the <Limit> directive is to restrict - the effect of the access controls to the nominated HTTP - methods. For all other methods, the access restrictions that - are enclosed in the <Limit> bracket <strong>will have no - effect</strong>. The following example applies the access - control only to the methods POST, PUT, and DELETE, leaving all - other methods unprotected:</p> - - <blockquote> - <code><Limit POST PUT DELETE><br /> - Require valid-user<br /> - </Limit></code> - </blockquote> - <p>The method names listed can be one or more of: GET, POST, PUT, - DELETE, CONNECT, OPTIONS, PATCH, PROPFIND, PROPPATCH, - MKCOL, COPY, MOVE, LOCK, and UNLOCK. <strong>The method name is - case-sensitive.</strong> If GET is used it will also restrict - HEAD requests. The TRACE method cannot be limited.</p> - - <p><strong>Warning:</strong> A <a - href="#limitexcept"><LimitExcept></a> section should - always be used in preference to a <a - href="#limit"><Limit></a> section when restricting access, - since a <a href="#limitexcept"><LimitExcept></a> section - provides protection against arbitrary methods.</p> - - <hr /> - - <h2><a id="limitexcept" name="limitexcept"><LimitExcept> - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <LimitExcept - <em>method</em> [<em>method</em>] ... > ... - </LimitExcept><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> any<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.3.5 and later - - <p><LimitExcept> and </LimitExcept> are used to - enclose a group of access control directives which will then - apply to any HTTP access method <strong>not</strong> listed in - the arguments; <em>i.e.</em>, it is the opposite of a <a - href="#limit"><Limit></a> section and can be used to - control both standard and nonstandard/unrecognized methods. See - the documentation for <a href="#limit"><Limit></a> for - more details.</p> - - <p>For example:</p> - - <pre> - <LimitExcept POST GET> - Require valid-user - </LimitExcept> - </pre> - - <hr /> - - <h2><a id="limitinternalrecursion" - name="limitinternalrecursion">LimitInternalRecursion directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LimitInternalRecursion - <em>number</em> [<em>number</em>]<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>LimitInternalRecursion - 20</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> LimitInternalRecursion - is only available in Apache 1.3.28 and later. - - <p>An internal redirect happens, for example, when using the <a - href="mod_actions.html#action">Action</a> directive, which internally - redirects the original request to a CGI script. A subrequest is Apache's - mechanism to find out what would happen for some URI if it were requested. - For example, <a href="mod_dir.html">mod_dir</a> uses subrequests to look - for the files listed in the <a - href="mod_dir.html#directoryindex">DirectoryIndex</a> - directive.</p> - - <p><code>LimitInternalRecursion</code> prevents the server - from crashing when entering an infinite loop of internal redirects or - subrequests. Such loops are usually caused by misconfigurations.</p> - - <p>The directive stores two different limits, which are evaluated on - per-request basis. The first <em>number</em> is the maximum number of - internal redirects, that may follow each other. The second <em>number</em> - determines, how deep subrequests may be nested. If you specify only one - <em>number</em>, it will be assigned to both limits. A value of - <code>0</code> means "unlimited".</p> - - <p><strong>Example</strong></p> - <pre> - LimitInternalRecursion 5 - </pre> - - <hr /> - - <h2><a id="limitrequestbody" - name="limitrequestbody">LimitRequestBody directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LimitRequestBody - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>LimitRequestBody - 0</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> LimitRequestBody - is only available in Apache 1.3.2 and later. - - <p>This directive specifies the number of <em>bytes</em> from 0 - (meaning unlimited) to 2147483647 (2GB) that are allowed in a - request body.</p> - - <p>The LimitRequestBody directive allows the user to set a - limit on the allowed size of an HTTP request message body - within the context in which the directive is given (server, - per-directory, per-file or per-location). If the client request - exceeds that limit, the server will return an error response - instead of servicing the request. The size of a normal request - message body will vary greatly depending on the nature of the - resource and the methods allowed on that resource. CGI scripts - typically use the message body for passing form information to - the server. Implementations of the PUT method will require a - value at least as large as any representation that the server - wishes to accept for that resource.</p> - - <p>This directive gives the server administrator greater - control over abnormal client request behavior, which may be - useful for avoiding some forms of denial-of-service - attacks.</p> - - <p>If, for example, you are permitting file upload to a particular - location, and wich to limit the size of the uploaded file to 100K, - you might use the following directive:</p> - - <pre>LimitRequestBody 102400</pre> - - <hr /> - - <h2><a id="limitrequestfields" - name="limitrequestfields">LimitRequestFields directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LimitRequestFields - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> - <code>LimitRequestFields 100</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> - LimitRequestFields is only available in Apache 1.3.2 and later. - - - <p><em>Number</em> is an integer from 0 (meaning unlimited) to - 32767. The default value is defined by the compile-time - constant <code>DEFAULT_LIMIT_REQUEST_FIELDS</code> (100 as - distributed).</p> - - <p>The LimitRequestFields directive allows the server - administrator to modify the limit on the number of request - header fields allowed in an HTTP request. A server needs this - value to be larger than the number of fields that a normal - client request might include. The number of request header - fields used by a client rarely exceeds 20, but this may vary - among different client implementations, often depending upon - the extent to which a user has configured their browser to - support detailed content negotiation. Optional HTTP extensions - are often expressed using request header fields.</p> - - <p>This directive gives the server administrator greater - control over abnormal client request behavior, which may be - useful for avoiding some forms of denial-of-service attacks. - The value should be increased if normal clients see an error - response from the server that indicates too many fields were - sent in the request.</p> - - <p>For example:</p> - - <pre>LimitRequestFields 50</pre> - - <hr /> - - <h2><a id="limitrequestfieldsize" - name="limitrequestfieldsize">LimitRequestFieldsize - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LimitRequestFieldsize - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> - <code>LimitRequestFieldsize 8190</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> - LimitRequestFieldsize is only available in Apache 1.3.2 and - later. - - <p>This directive specifies the number of <em>bytes</em> from 0 - to the value of the compile-time constant - <code>DEFAULT_LIMIT_REQUEST_FIELDSIZE</code> (8190 as - distributed) that will be allowed in an HTTP request - header.</p> - - <p>The LimitRequestFieldsize directive allows the server - administrator to reduce the limit on the allowed size of an - HTTP request header field below the normal input buffer size - compiled with the server. A server needs this value to be large - enough to hold any one header field from a normal client - request. The size of a normal request header field will vary - greatly among different client implementations, often depending - upon the extent to which a user has configured their browser to - support detailed content negotiation.</p> - - <p>This directive gives the server administrator greater - control over abnormal client request behavior, which may be - useful for avoiding some forms of denial-of-service attacks.</p> - - <p>For example:</p> - - <pre>LimitRequestFieldSize 16380</pre> - - <p>Under normal conditions, the value should not be changed from - the default.</p> - <hr /> - - <h2><a id="limitrequestline" - name="limitrequestline">LimitRequestLine directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LimitRequestLine - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>LimitRequestLine - 8190</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> LimitRequestLine - is only available in Apache 1.3.2 and later. - - <p>This directive sets the number of <em>bytes</em> from 0 to - the value of the compile-time constant - <code>DEFAULT_LIMIT_REQUEST_LINE</code> (8190 as distributed) - that will be allowed on the HTTP request-line.</p> - - <p>The LimitRequestLine directive allows the server - administrator to reduce the limit on the allowed size of a - client's HTTP request-line below the normal input buffer size - compiled with the server. Since the request-line consists of - the HTTP method, URI, and protocol version, the - LimitRequestLine directive places a restriction on the length - of a request-URI allowed for a request on the server. A server - needs this value to be large enough to hold any of its resource - names, including any information that might be passed in the - query part of a GET request.</p> - - <p>This directive gives the server administrator greater - control over abnormal client request behavior, which may be - useful for avoiding some forms of denial-of-service attacks.</p> - - <p>For example:</p> - - <pre>LimitRequestLine 16380</pre> - - <p>Under normal conditions, the value should not be changed from - the default.</p> - <hr /> - - <h2><a id="listen" name="listen">Listen directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Listen - [<em>IP-address</em>:]<em>port</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Listen is only - available in Apache 1.1 and later. - - <p>The Listen directive instructs Apache to listen to more than - one IP address or port; by default it responds to requests on - all IP interfaces, but only on the port given by the <code><a - href="#port">Port</a></code> directive.</p> - <tt>Listen</tt> can be used instead of <tt><a - href="#bindaddress">BindAddress</a></tt> and <tt>Port</tt>. It - tells the server to accept incoming requests on the specified - port or address-and-port combination. If the first format is - used, with a port number only, the server listens to the given - port on all interfaces, instead of the port given by the - <tt>Port</tt> directive. If an IP address is given as well as a - port, the server will listen on the given port and interface. - - <p>Note that you may still require a <tt>Port</tt> directive so - that URLs that Apache generates that point to your server still - work.</p> - - <p>Multiple Listen directives may be used to specify a number - of addresses and ports to listen to. The server will respond to - requests from any of the listed addresses and ports.</p> - - <p>For example, to make the server accept connections on both - port 80 and port 8000, use:</p> -<pre> - Listen 80 - Listen 8000 -</pre> - To make the server accept connections on two specified - interfaces and port numbers, use -<pre> - Listen 192.170.2.1:80 - Listen 192.170.2.5:8000 -</pre> - - <p><strong>See Also:</strong> <a href="../dns-caveats.html">DNS - Issues</a><br /> - <strong>See Also:</strong> <a href="../bind.html">Setting - which addresses and ports Apache uses</a><br /> - <strong>See Also:</strong> <a - href="http://httpd.apache.org/info/known_bugs.html#listenbug">Known - Bugs</a></p> - <hr /> - - <h2><a id="listenbacklog" name="listenbacklog">ListenBacklog - directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ListenBacklog - <em>backlog</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ListenBacklog - 511</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> ListenBacklog is - only available in Apache versions after 1.2.0. - - <p>The maximum length of the queue of pending connections. - Generally no tuning is needed or desired, however on some - systems it is desirable to increase this when under a TCP SYN - flood attack. See the backlog parameter to the - <code>listen(2)</code> system call.</p> - - <p>This will often be limited to a smaller number by the - operating system. This varies from OS to OS. Also note that - many OSes do not use exactly what is specified as the backlog, - but use a number based on (but normally larger than) what is - set.</p> - <hr /> - - <h2><a id="location" name="location"><Location> - directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <Location - <em>URL-path</em>|<em>URL</em>> ... </Location><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Location is only - available in Apache 1.1 and later. - - <p>The <Location> directive provides for access control - by URL. It is similar to the <a - href="#directory"><Directory></a> directive, and starts a - subsection which is terminated with a </Location> - directive. <code><Location></code> sections are processed - in the order they appear in the configuration file, after the - <Directory> sections and <code>.htaccess</code> files are - read, and after the <Files> sections.</p> - - <p>Note that URLs do not have to line up with the filesystem at - all, it should be emphasized that <Location> operates - completely outside the filesystem.</p> - - <p>For all origin (non-proxy) requests, the URL to be matched - is of the form <code>/path/</code>, and you should not include - any <code>http://servername</code> prefix. For proxy requests, - the URL to be matched is of the form - <code>scheme://servername/path</code>, and you must include the - prefix.</p> - - <p>The URL may use wildcards In a wild-card string, `?' matches - any single character, and `*' matches any sequences of - characters.</p> - - <p><strong>Apache 1.2 and above:</strong> Extended regular - expressions can also be used, with the addition of the - <code>~</code> character. For example:</p> -<pre> - <Location ~ "/(extra|special)/data"> -</pre> - - <p>would match URLs that contained the substring "/extra/data" - or "/special/data". In Apache 1.3 and above, a new directive <a - href="#locationmatch"><LocationMatch></a> exists which - behaves identical to the regex version of - <code><Location></code>.</p> - - <p>The <code>Location</code> functionality is especially useful - when combined with the <code><a - href="mod_mime.html#sethandler">SetHandler</a></code> - directive. For example, to enable status requests, but allow - them only from browsers at foo.com, you might use:</p> -<pre> - <Location /status> - SetHandler server-status - Order Deny,Allow - Deny from all - Allow from .foo.com - </Location> -</pre> - - <p><strong>Apache 1.3 and above note about / (slash)</strong>: - The slash character has special meaning depending on where in a - URL it appears. People may be used to its behavior in the - filesystem where multiple adjacent slashes are frequently - collapsed to a single slash (<em>i.e.</em>, - <code>/home///foo</code> is the same as - <code>/home/foo</code>). In URL-space this is not necessarily - true. The <code><LocationMatch></code> directive and the - regex version of <code><Location></code> require you to - explicitly specify multiple slashes if that is your intention. - For example, <code><LocationMatch ^/abc></code> would - match the request URL <code>/abc</code> but not the request URL - <code>//abc</code>. The (non-regex) - <code><Location></code> directive behaves similarly when - used for proxy requests. But when (non-regex) - <code><Location></code> is used for non-proxy requests it - will implicitly match multiple slashes with a single slash. For - example, if you specify <code><Location /abc/def></code> - and the request is to <code>/abc//def</code> then it will - match.</p> - - <p><strong>See also</strong>: <a href="../sections.html">How - Directory, Location and Files sections work</a> for an - explanation of how these different sections are combined when a - request is received</p> - <hr /> - - <h2><a id="locationmatch" - name="locationmatch"><LocationMatch></a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <LocationMatch - <em>regex</em>> ... </LocationMatch><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> LocationMatch is - only available in Apache 1.3 and later. - - <p>The <LocationMatch> directive provides for access - control by URL, in an identical manner to <a - href="#location"><Location></a>. However, it takes a - regular expression as an argument instead of a simple string. - For example:</p> -<pre> - <LocationMatch "/(extra|special)/data"> -</pre> - - <p>would match URLs that contained the substring "/extra/data" - or "/special/data".</p> - <strong>See also</strong>: <a href="../sections.html">How - Directory, Location and Files sections work</a> for an - explanation of how these different sections are combined when a - request is received - <hr /> - - <h2><a id="lockfile" name="lockfile">LockFile - directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LockFile - <em>file-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>LockFile - logs/accept.lock</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The LockFile directive sets the path to the lockfile used - when Apache is compiled with either USE_FCNTL_SERIALIZED_ACCEPT - or USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally - be left at its default value. The main reason for changing it - is if the <code>logs</code> directory is NFS mounted, since - <strong>the lockfile must be stored on a local disk</strong>. - The PID of the main server process is automatically appended to - the filename.</p> - - <p><strong>SECURITY:</strong> It is best to avoid putting this - file in a world writable directory such as - <code>/var/tmp</code> because someone could create a denial of - service attack and prevent the server from starting by creating - a lockfile with the same name as the one the server will try to - create.</p> - <hr /> - - <h2><a id="loglevel" name="loglevel">LogLevel - directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LogLevel - <em>level</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>LogLevel - warn</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> LogLevel is only - available in 1.3 or later. - - <p>LogLevel adjusts the verbosity of the messages recorded in - the error logs (see <a href="#errorlog">ErrorLog</a> - directive). The following <em>level</em>s are available, in - order of decreasing significance:</p> - - <table> - <tr> - <th align="left"><strong>Level</strong> </th> - - <th align="left"><strong>Description</strong> </th> - <th align="left"><strong>Example</strong> </th> - </tr> - - <tr> - <td><code>emerg</code> </td> - - <td>Emergencies - system is unusable.</td> - <td>"Child cannot open lock file. Exiting"</td> - </tr> - - <tr> - <td><code>alert</code> </td> - - <td>Action must be taken immediately.</td> - <td>"getpwuid: couldn't determine user name from uid"</td> - </tr> - - <tr> - <td><code>crit</code> </td> - - <td>Critical Conditions.</td> - <td>"socket: Failed to get a socket, exiting child"</td> - </tr> - - <tr> - <td><code>error</code> </td> - - <td>Error conditions.</td> - <td>"Premature end of script headers"</td> - </tr> - - <tr> - <td><code>warn</code> </td> - - <td>Warning conditions.</td> - <td>"child process 1234 did not exit, sending another - SIGHUP"</td> - </tr> - - <tr> - <td><code>notice</code> </td> - - <td>Normal but significant condition.</td> - <td>"httpd: caught SIGBUS, attempting to dump core in - ..."</td> - </tr> - - <tr> - <td><code>info</code> </td> - - <td>Informational.</td> - <td>"Server seems busy, (you may need to increase - StartServers, or Min/MaxSpareServers)..."</td> - </tr> - - <tr> - <td><code>debug</code> </td> - - <td>Debug-level messages</td> - <td>"Opening config file ..."</td> - </tr> - </table> - - <p>When a particular level is specified, messages from all - other levels of higher significance will be reported as well. - <em>E.g.</em>, when <code>LogLevel info</code> is specified, - then messages with log levels of <code>notice</code> and - <code>warn</code> will also be posted.</p> - - <p>Using a level of at least <code>crit</code> is - recommended.</p> - - <p>For example:</p> - - <pre>LogLevel notice</pre> - - <p><strong>NOTE:</strong> When logging to a regular file messages - of the level <code>notice</code> cannot be suppressed and thus are - always logged. However, this doesn't apply when logging is done - using <code>syslog</code>.</p> - - <hr /> - - <h2><a id="maxclients" name="maxclients">MaxClients - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> MaxClients - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>MaxClients - 256</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The MaxClients directive sets the limit on the number of - simultaneous requests that can be supported; not more than this - number of child server processes will be created. To configure - more than 256 clients, you must edit the HARD_SERVER_LIMIT - entry in httpd.h and recompile.</p> - - <p>Any connection attempts over the MaxClients limit will - normally be queued, up to a number based on the <a - href="#listenbacklog">ListenBacklog</a> directive. Once a child - process is freed at the end of a different request, the - connection will then be serviced.</p> - <hr /> - - <h2><a id="maxkeepaliverequests" - name="maxkeepaliverequests">MaxKeepAliveRequests - directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> MaxKeepAliveRequests - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> - <code>MaxKeepAliveRequests 100</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Only available - in Apache 1.2 and later. - - <p>The MaxKeepAliveRequests directive limits the number of - requests allowed per connection when <a - href="#keepalive">KeepAlive</a> is on. If it is set to - "<code>0</code>", unlimited requests will be allowed. We - recommend that this setting be kept to a high value for maximum - server performance. In Apache 1.1, this is controlled through - an option to the KeepAlive directive.</p> - - <p>For example</p> - - <pre>MaxKeepAliveRequests 500</pre> - - <hr /> - - <h2><a id="maxrequestsperchild" - name="maxrequestsperchild">MaxRequestsPerChild - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> MaxRequestsPerChild - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> - <code>MaxRequestsPerChild 0</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The MaxRequestsPerChild directive sets the limit on the - number of requests that an individual child server process will - handle. After MaxRequestsPerChild requests, the child process - will die. If MaxRequestsPerChild is 0, then the process will - never expire.</p> - - <p>Setting MaxRequestsPerChild to a non-zero limit has two - beneficial effects:</p> - - <ul> - <li>it limits the amount of memory that process can consume - by (accidental) memory leakage;</li> - - <li>by giving processes a finite lifetime, it helps reduce - the number of processes when the server load reduces.</li> - </ul> - - <p>However, on Win32, It is recommended that this be set to 0. - If it is set to a non-zero value, when the request count is - reached, the child process exits, and is respawned, at which - time it re-reads the configuration files. This can lead to - unexpected behavior if you have modified a configuration file, - but are not expecting the changes to be applied yet. See also - <a href="#threadsperchild">ThreadsPerChild</a>.</p> - - <p><strong>NOTE:</strong> For <em>KeepAlive</em> requests, only - the first request is counted towards this limit. In effect, it - changes the behavior to limit the number of - <em>connections</em> per child.</p> - <hr /> - - <h2><a id="maxspareservers" - name="maxspareservers">MaxSpareServers directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> MaxSpareServers - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>MaxSpareServers - 10</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The MaxSpareServers directive sets the desired maximum - number of <em>idle</em> child server processes. An idle process - is one which is not handling a request. If there are more than - MaxSpareServers idle, then the parent process will kill off the - excess processes.</p> - - <p>Tuning of this parameter should only be necessary on very - busy sites. Setting this parameter to a large number is almost - always a bad idea.</p> - - <p>Note that this is the maximum number of <em>spare</em> servers, - not the maximum total number of client requests that can be handled - at one time. If you wish to limit that number, see the <a - href="#maxclients">MaxClients</a> directive.</p> - - <p>This directive has no effect when used with the Apache Web - server on a Microsoft Windows platform.</p> - - <p>See also <a href="#minspareservers">MinSpareServers</a>, - <a href="#startservers">StartServers</a>, and <a - href="#maxclients">MaxClients</a>.</p> - <hr /> - - <h2><a id="minspareservers" - name="minspareservers">MinSpareServers directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> MinSpareServers - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>MinSpareServers - 5</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The MinSpareServers directive sets the desired minimum - number of <em>idle</em> child server processes. An idle process - is one which is not handling a request. If there are fewer than - MinSpareServers idle, then the parent process creates new - children at a maximum rate of 1 per second.</p> - - <p>Tuning of this parameter should only be necessary on very - busy sites. Setting this parameter to a large number is almost - always a bad idea.</p> - - <p>Note that setting this directive to some value <i>m</i> ensures - that you will always have at least <i>n + m</i> <code>httpd</code> - processes running when you have <i>n</i> active client requests.</p> - - <p>This directive has no effect on Microsoft Windows.</p> - - <p>See also <a href="#maxspareservers">MaxSpareServers</a>, - <a href="#startservers">StartServers</a>, and <a - href="#maxclients">MaxClients</a>.</p> - <hr /> - - <h2><a id="namevirtualhost" - name="namevirtualhost">NameVirtualHost directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> NameVirtualHost - <em>addr</em>[:<em>port</em>]<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> NameVirtualHost - is only available in Apache 1.3 and later - - <p>The NameVirtualHost directive is a required directive if you - want to configure <a href="../vhosts/">name-based virtual - hosts</a>.</p> - - <p>Although <em>addr</em> can be hostname it is recommended - that you always use an IP address or wildcard, - <em>e.g.</em></p> - - <blockquote> - <code>NameVirtualHost 111.22.33.44</code> - </blockquote> - With the NameVirtualHost directive you specify the IP address - on which the server will receive requests for the name-based - virtual hosts. This will usually be the address to which your - name-based virtual host names resolve. In cases where a - firewall or other proxy receives the requests and forwards them - on a different IP address to the server, you must specify the - IP address of the physical interface on the machine which will - be servicing the requests. If you have multiple name-based - hosts on multiple addresses, repeat the directive for each - address. - - <p>Note: the "main server" and any _default_ servers will - <strong>never</strong> be served for a request to a - NameVirtualHost IP Address (unless for some reason you specify - NameVirtualHost but then don't define any VirtualHosts for that - address).</p> - - <p>Optionally you can specify a port number on which the - name-based virtual hosts should be used, <em>e.g.</em></p> - - <blockquote> - <code>NameVirtualHost 111.22.33.44:8080</code> - </blockquote> - In Apache 1.3.13 and greater you can specify a <code>*</code> - for the <em>addr</em>. This creates a wildcard NameVirtualHost - which will match connections to any address that isn't - configured with a more specific NameVirtualHost directive or <a - href="#virtualhost"><VirtualHost></a> section. This is - useful if you want only name-based virtual hosts and you don't - want to hard-code the server's IP address into the - configuration file. - - <p><strong>See also:</strong> <a href="../vhosts/">Apache - Virtual Host documentation</a></p> - <hr /> - - <h2><a id="options" name="options">Options directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Options - [+|-]<em>option</em> [[+|-]<em>option</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> Options<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The Options directive controls which server features are - available in a particular directory.</p> - - <p><em>option</em> can be set to <code>None</code>, in which - case none of the extra features are enabled, or one or more of - the following:</p> - - <dl> - <dt>All</dt> - - <dd>All options except for MultiViews. This is the default - setting.</dd> - - <dt>ExecCGI</dt> - - <dd> - Execution of CGI scripts is permitted.</dd> - - <dt>FollowSymLinks</dt> - - <dd> - - The server will follow symbolic links in this - directory.<br /> - <strong>Note</strong>: even though the server follows the - symlink it does <em>not</em> change the pathname used to - match against <code><Directory></code> sections.<br /> - <strong>Note</strong>: this option gets ignored if set - inside a <Location> section.</dd> - - <dt>Includes</dt> - - <dd> - Server-side includes are permitted.</dd> - - <dt>IncludesNOEXEC</dt> - - <dd> - - Server-side includes are permitted, but the #exec command and - #exec CGI are disabled. It is still possible to #include - virtual CGI scripts from ScriptAliase'd directories.</dd> - - <dt>Indexes</dt> - - <dd> - If a URL which maps to a directory is requested, and the - there is no DirectoryIndex (<em>e.g.</em>, index.html) in - that directory, then the server will return a formatted - listing of the directory.</dd> - - <dt>MultiViews</dt> - - <dd> - <a href="../content-negotiation.html">Content negotiated</a> - MultiViews are allowed.</dd> - - <dt>SymLinksIfOwnerMatch</dt> - - <dd> - - The server will only follow symbolic links for which the - target file or directory is owned by the same user id as the - link.<br /> - <strong>Note</strong>: this option gets ignored if set - inside a <Location> section.</dd> - </dl> - Normally, if multiple <code>Options</code> could apply to a - directory, then the most specific one is taken complete; the - options are not merged. However if <em>all</em> the options on - the <code>Options</code> directive are preceded by a + or - - symbol, the options are merged. Any options preceded by a + are - added to the options currently in force, and any options - preceded by a - are removed from the options currently in - force. - - <p>For example, without any + and - symbols:</p> - - <blockquote> - <code><Directory /web/docs><br /> - Options Indexes FollowSymLinks<br /> - </Directory><br /> - <Directory /web/docs/spec><br /> - Options Includes<br /> - </Directory></code> - </blockquote> - then only <code>Includes</code> will be set for the - /web/docs/spec directory. However if the second - <code>Options</code> directive uses the + and - symbols: - - <blockquote> - <code><Directory /web/docs><br /> - Options Indexes FollowSymLinks<br /> - </Directory><br /> - <Directory /web/docs/spec><br /> - Options +Includes -Indexes<br /> - </Directory></code> - </blockquote> - then the options <code>FollowSymLinks</code> and - <code>Includes</code> are set for the /web/docs/spec directory. - - - <p><strong>Note:</strong> Using <code>-IncludesNOEXEC</code> or - <code>-Includes</code> disables server-side includes completely - regardless of the previous setting.</p> - - <p>The default in the absence of any other settings is - <code>All</code>.</p> - <hr /> - - <h2><a id="pidfile" name="pidfile">PidFile directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> PidFile - <em>file-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>PidFile - logs/httpd.pid</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The PidFile directive sets the file to which the server - records the process id of the daemon. If the filename does not - begin with a slash (/) then it is assumed to be relative to the - <a href="#serverroot">ServerRoot</a>. The PidFile is only used - in <a href="#servertype">standalone</a> mode.</p> - - <p>It is often useful to be able to send the server a signal, - so that it closes and then reopens its <a - href="#errorlog">ErrorLog</a> and TransferLog, and re-reads its - configuration files. This is done by sending a SIGHUP (kill -1) - signal to the process id listed in the PidFile.</p> - - <p>The PidFile is subject to the same warnings about log file - placement and <a - href="../misc/security_tips.html#serverroot">security</a>.</p> - <hr /> - - <h2><a id="port" name="port">Port directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Port - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>Port - 80</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p><em>Number</em> is a number from 0 to 65535; some port - numbers (especially below 1024) are reserved for particular - protocols. See <code>/etc/services</code> for a list of some - defined ports; the standard port for the http protocol is - 80.</p> - - <p>The Port directive has two behaviors, the first of which is - necessary for NCSA backwards compatibility (and which is - confusing in the context of Apache).</p> - - <ul> - <li>In the absence of any <a href="#listen">Listen</a> or <a - href="#bindaddress">BindAddress</a> directives specifying a - port number, a Port directive given in the "main server" - (<em>i.e.</em>, outside any <a - href="#virtualhost"><VirtualHost></a> section) sets the - network port on which the server listens. If there are any - Listen or BindAddress directives specifying - <code>:number</code> then Port has no effect on what address - the server listens at.</li> - - <li>The Port directive sets the <code>SERVER_PORT</code> - environment variable (for <a href="mod_cgi.html">CGI</a> and - <a href="mod_include.html">SSI</a>), and is used when the - server must generate a URL that refers to itself (for example - when creating an external redirect to itself). This behavior - is modified by <a - href="#usecanonicalname">UseCanonicalName</a>.</li> - </ul> - The primary behavior of Port should be considered to be - similar to that of the <a href="#servername">ServerName</a> - directive. The ServerName and Port together specify what you - consider to be the <em>canonical</em> address of the server. - (See also <a href="#usecanonicalname">UseCanonicalName</a>.) - - <p>Port 80 is one of Unix's special ports. All ports numbered - below 1024 are reserved for system use, <em>i.e.</em>, regular - (non-root) users cannot make use of them; instead they can only - use higher port numbers. To use port 80, you must start the - server from the root account. After binding to the port and - before accepting requests, Apache will change to a low - privileged user as set by the <a href="#user">User - directive</a>.</p> - - <p>If you cannot use port 80, choose any other unused port. - Non-root users will have to choose a port number higher than - 1023, such as 8000.</p> - - <p>SECURITY: if you do start the server as root, be sure not to - set <a href="#user">User</a> to root. If you run the server as - root whilst handling connections, your site may be open to a - major security attack.</p> - <hr /> - - <h2><a id="protocolreqcheck" name="protocolreqcheck">ProtocolReqCheck - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ProtocolReqCheck - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ProtocolReqCheck - on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config - <br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> - ProtocolReqCheck is only available in Apache 1.3.27 and later. - - <p>This directive enables strict checking of the Protocol field - in the Request line. Versions of Apache prior to 1.3.26 would - silently accept bogus Protocols (such as <code>HTTP-1.1</code>) - and assume <code>HTTP/1.0</code>. Instead, now the Protocol field - must be valid. If the pre-1.3.26 behavior is desired or required, - it can be enabled via setting <code>ProtocolReqCheck off</code>. - </p> - - <hr /> - - <h2><a id="require" name="require">Require directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Require - <em>entity-name</em> [<em>entity-name</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>This directive selects which authenticated users can access - a resource. The allowed syntaxes are:</p> - - <ul> - <li> - Require user <em>userid</em> [<em>userid</em>] ... - - <p>Only the named users can access the resource.</p> - </li> - - <li> - Require group <em>group-name</em> [<em>group-name</em>] ... - - - <p>Only users in the named groups can access the - resource.</p> - </li> - - <li> - Require valid-user - - <p>All valid users can access the resource.</p> - </li> - <li>file-owner - <p>Only the user, whose name matches the system's name for - the file owner, can access the resource.<br> - [Available after Apache 1.3.20]</p> - </li> - <li>file-group - <p>Only the members of the group, whose name matches the - system's name of the file owner group, can access the - resource.<br>[Available after Apache 1.3.20]</p> - </li> - </ul> - - <p>Require must be accompanied by <a - href="#authname">AuthName</a> and <a - href="#authtype">AuthType</a> directives, and directives such - as <a href="mod_auth.html#authuserfile">AuthUserFile</a> and <a - href="mod_auth.html#authgroupfile">AuthGroupFile</a> (to define - users and groups) in order to work correctly. Example:</p> - - <blockquote> - <code>AuthType Basic<br /> - AuthName "Restricted Directory"<br /> - AuthUserFile /web/users<br /> - AuthGroupFile /web/groups<br /> - Require group admin<br /> - </code> - </blockquote> - Access controls which are applied in this way are effective for - <strong>all</strong> methods. <strong>This is what is normally - desired.</strong> If you wish to apply access controls only to - specific methods, while leaving other methods unprotected, then - place the <code>Require</code> statement into a <a - href="#limit"><Limit></a> section - - <p>See also <a href="#satisfy">Satisfy</a> and <a - href="mod_access.html">mod_access</a>.</p> - <hr /> - - <h2><a id="resourceconfig" name="resourceconfig">ResourceConfig - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ResourceConfig - <em>file-path</em>|<em>directory-path</em>|<em>wildcard-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ResourceConfig - conf/srm.conf</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core <br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> The ability to - specify a directory, rather than a file name, is only available in - Apache 1.3.13 and later. - - <p>The server will read this file for more directives after - reading the httpd.conf file. <em>File-path</em> is relative to - the <a href="#serverroot">ServerRoot</a>. This feature can be - disabled using:</p> - - <blockquote> - <code>ResourceConfig /dev/null</code> - </blockquote> - Or, on Win32 servers, - - <blockquote> - <code>ResourceConfig nul</code> - </blockquote> - <p>Historically, this file contained most directives except for - server configuration directives and <a - href="#directory"><Directory></a> sections; in fact it - can now contain any server directive allowed in the <em>server - config</em> context. However, since Apache version 1.3.4, the - default <code>srm.conf</code> file which ships with Apache contains - only comments, and all directives are placed in the main server - configuration file, <code>httpd.conf</code>.</p> - - <p>If <code>ResourceConfig</code> points to a directory, rather than - a file, Apache will read all files in that directory, and any - subdirectory, and parse those as configuration files. - </p> - <p>Alternatively you can use a wildcard to limit the scope; i.e - to only *.conf files. - </p> - <p>Note that by default <em>any</em> file in the specified - directory will be loaded as a configuration file. - </p> - <p>So make sure that you don't have stray files in - this directory by mistake, such as temporary files created by your - editor, for example.</p> - - <p>See also <a href="#accessconfig">AccessConfig</a>.</p> - <hr /> - - <h2><a id="rlimit" name="rlimit">RLimitCPU</a> <a - id="rlimitcpu" name="rlimitcpu">directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RLimitCPU - <em>number</em>|max [<em>number</em>|max] <br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>Unset; uses - operating system defaults</em> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> RLimitCPU is - only available in Apache 1.2 and later - - <p>Takes 1 or 2 parameters. The first parameter sets the soft - resource limit for all processes and the second parameter sets - the maximum resource limit. Either parameter can be a number, - or <code>max</code> to indicate to the server that the limit - should be set to the maximum allowed by the operating system - configuration. Raising the maximum resource limit requires that - the server is running as root, or in the initial startup - phase.</p> - - <p>This applies to processes forked off from Apache children - servicing requests, not the Apache children themselves. This - includes CGI scripts and SSI exec commands, but not any - processes forked off from the Apache parent such as piped - logs.</p> - - <p>CPU resource limits are expressed in seconds per - process.</p> - - <p>See also <a href="#rlimitmem">RLimitMEM</a> or <a - href="#rlimitnproc">RLimitNPROC</a>.</p> - <hr /> - - <h2><a id="rlimitmem" name="rlimitmem">RLimitMEM - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RLimitMEM - <em>number</em>|max [<em>number</em>|max]<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>Unset; uses - operating system defaults</em> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> RLimitMEM is - only available in Apache 1.2 and later - - <p>Takes 1 or 2 parameters. The first parameter sets the soft - resource limit for all processes and the second parameter sets - the maximum resource limit. Either parameter can be a number, - or <code>max</code> to indicate to the server that the limit - should be set to the maximum allowed by the operating system - configuration. Raising the maximum resource limit requires that - the server is running as root, or in the initial startup - phase.</p> - - <p>This applies to processes forked off from Apache children - servicing requests, not the Apache children themselves. This - includes CGI scripts and SSI exec commands, but not any - processes forked off from the Apache parent such as piped - logs.</p> - - <p>Memory resource limits are expressed in bytes per - process.</p> - - <p>See also <a href="#rlimitcpu">RLimitCPU</a> or <a - href="#rlimitnproc">RLimitNPROC</a>.</p> - <hr /> - - <h2><a id="rlimitnproc" name="rlimitnproc">RLimitNPROC - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RLimitNPROC - <em>number</em>|max [<em>number</em>|max]<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>Unset; uses - operating system defaults</em> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> RLimitNPROC is - only available in Apache 1.2 and later - - <p>Takes 1 or 2 parameters. The first parameter sets the soft - resource limit for all processes and the second parameter sets - the maximum resource limit. Either parameter can be a number, - or <code>max</code> to indicate to the server that the limit - should be set to the maximum allowed by the operating system - configuration. Raising the maximum resource limit requires that - the server is running as root, or in the initial startup - phase.</p> - - <p>This applies to processes forked off from Apache children - servicing requests, not the Apache children themselves. This - includes CGI scripts and SSI exec commands, but not any - processes forked off from the Apache parent such as piped - logs.</p> - - <p>Process limits control the number of processes per user.</p> - - <p>Note: If CGI processes are <strong>not</strong> running - under userids other than the web server userid, this directive - will limit the number of processes that the server itself can - create. Evidence of this situation will be indicated by - <strong><em>cannot fork</em></strong> messages in the - error_log.</p> - - <p>See also <a href="#rlimitmem">RLimitMEM</a> or <a - href="#rlimitcpu">RLimitCPU</a>.</p> - <hr /> - - <h2><a id="satisfy" name="satisfy">Satisfy directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Satisfy any|all<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> Satisfy all<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Satisfy is only - available in Apache 1.2 and later - - <p>Access policy if both <code>Allow</code> and - <code>Require</code> used. The parameter can be either - <em>'all'</em> or <em>'any'</em>. This directive is only useful - if access to a particular area is being restricted by both - username/password <em>and</em> client host address. In this - case the default behavior ("all") is to require that the client - passes the address access restriction <em>and</em> enters a - valid username and password. With the "any" option the client - will be granted access if they either pass the host restriction - or enter a valid username and password. This can be used to - password restrict an area, but to let clients from particular - addresses in without prompting for a password.</p> - - <p>See also <a href="#require">Require</a> and <a - href="mod_access.html#allow">Allow</a>.</p> - <hr /> - - <h2><a id="scoreboardfile" name="scoreboardfile">ScoreBoardFile - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ScoreBoardFile - <em>file-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ScoreBoardFile - logs/apache_status</code> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The ScoreBoardFile directive is required on some - architectures to place a file that the server will use to - communicate between its children and the parent. The easiest - way to find out if your architecture requires a scoreboard file - is to run Apache and see if it creates the file named by the - directive. If your architecture requires it then you must - ensure that this file is not used at the same time by more than - one invocation of Apache.</p> - - <p>If you have to use a ScoreBoardFile then you may see - improved speed by placing it on a RAM disk. But be careful that - you heed the same warnings about log file placement and <a - href="../misc/security_tips.html">security</a>.</p> - - <p>Apache 1.2 and above:</p> - - <p>Linux 1.x users might be able to add <code>-DHAVE_SHMGET - -DUSE_SHMGET_SCOREBOARD</code> to the <code>EXTRA_CFLAGS</code> - in your <code>Configuration</code>. This might work with some - 1.x installations, but won't work with all of them. (Prior to - 1.3b4, <code>HAVE_SHMGET</code> would have sufficed.)</p> - - <p>SVR4 users should consider adding <code>-DHAVE_SHMGET - -DUSE_SHMGET_SCOREBOARD</code> to the <code>EXTRA_CFLAGS</code> - in your <code>Configuration</code>. This is believed to work, - but we were unable to test it in time for 1.2 release. (Prior - to 1.3b4, <code>HAVE_SHMGET</code> would have sufficed.)</p> - - <p><strong>See Also</strong>: <a - href="../stopping.html">Stopping and Restarting Apache</a></p> - <hr /> - - <h2><a id="scriptinterpretersource" - name="scriptinterpretersource">ScriptInterpreterSource - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ScriptInterpreterSource - registry|script<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> - <code>ScriptInterpreterSource script</code> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core (Windows only) - - <p>This directive is used to control how Apache 1.3.5 and later - finds the interpreter used to run CGI scripts. The default - technique is to use the interpreter pointed to by the #! line - in the script. Setting ScriptInterpreterSource registry will - cause the Windows Registry to be searched using the script file - extension (e.g., .pl) as a search key.</p> - <hr /> - - <h2><a id="sendbuffersize" name="sendbuffersize">SendBufferSize - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> SendBufferSize - <em>bytes</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The server will set the TCP buffer size to the number of - bytes specified. Very useful to increase past standard OS - defaults on high speed high latency (<em>i.e.</em>, 100ms or - so, such as transcontinental fast pipes)</p> - <hr /> - - <h2><a id="serveradmin" name="serveradmin">ServerAdmin - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ServerAdmin - <em>email-address</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The ServerAdmin sets the e-mail address that the server - includes in any error messages it returns to the client.</p> - - <p>It may be worth setting up a dedicated address for this, - <em>e.g.</em></p> - - <blockquote> - <code>ServerAdmin www-admin@foo.bar.com</code> - </blockquote> - as users do not always mention that they are talking about the - server! - <hr /> - - <h2><a id="serveralias" name="serveralias">ServerAlias - directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ServerAlias - <em>hostname</em> [<em>hostname</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> virtual host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> ServerAlias is - only available in Apache 1.1 and later. - - <p>The ServerAlias directive sets the alternate names for a - host, for use with <a - href="../vhosts/name-based.html">name-based virtual - hosts</a>.</p> - - <p>Example:</p> - - <pre> - <VirtualHost *> - ServerName server.domain.com - ServerAlias server server2.domain.com server2 - ... - </VirtualHost> - </pre> - - <p><strong>See also:</strong> <a href="../vhosts/">Apache - Virtual Host documentation</a></p> - <hr /> - - <h2><a id="servername" name="servername">ServerName - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ServerName - <em>fully-qualified-domain-name</em> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The ServerName directive sets the hostname of the server; - this is used when creating redirection URLs. If it is not - specified, then the server attempts to deduce it from its own - IP address; however this may not work reliably, or may not - return the preferred hostname. For example:</p> - - <blockquote> - <code>ServerName www.example.com</code> - </blockquote> - would be used if the canonical (main) name of the actual - machine were <code>simple.example.com</code>. - - <p>If you are using <a - href="../vhosts/name-based.html">name-based virtual hosts</a>, - the <code>ServerName</code> inside a <a - href="#virtualhost"><code><VirtualHost></code></a> - section specifies what hostname must appear in the request's - <code>Host:</code> header to match this virtual host.</p> - - <p><strong>See Also</strong>:<br /> - <a href="../dns-caveats.html">DNS Issues</a><br /> - <a href="../vhosts/">Apache virtual host - documentation</a><br /> - <a href="#usecanonicalname">UseCanonicalName</a><br /> - <a href="#namevirtualhost">NameVirtualHost</a><br /> - <a href="#serveralias">ServerAlias</a><br /> - </p> - <hr /> - - <h2><a id="serverpath" name="serverpath">ServerPath - directive</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ServerPath - <em>directory-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> virtual host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> ServerPath is - only available in Apache 1.1 and later. - - <p>The ServerPath directive sets the legacy URL pathname for a - host, for use with <a href="../vhosts/">name-based virtual - hosts</a>.</p> - - <p><strong>See also:</strong> <a href="../vhosts/">Apache - Virtual Host documentation</a></p> - <hr /> - - <h2><a id="serverroot" name="serverroot">ServerRoot - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ServerRoot - <em>directory-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ServerRoot - /usr/local/apache</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The ServerRoot directive sets the directory in which the - server lives. Typically it will contain the subdirectories - <code>conf/</code> and <code>logs/</code>. Relative paths for - other configuration files are taken as relative to this - directory.</p> - - <p>See also <a href="../invoking.html">the <code>-d</code> - option to httpd</a>.</p> - - <p>See also <a href="../misc/security_tips.html#serverroot">the - security tips</a> for information on how to properly set - permissions on the ServerRoot.</p> - <hr /> - - <h2><a id="serversignature" - name="serversignature">ServerSignature directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ServerSignature - On|Off|EMail<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ServerSignature - Off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> ServerSignature - is only available in Apache 1.3 and later. - - <p>The ServerSignature directive allows the configuration of a - trailing footer line under server-generated documents (error - messages, mod_proxy ftp directory listings, mod_info output, - ...). The reason why you would want to enable such a footer - line is that in a chain of proxies, the user often has no - possibility to tell which of the chained servers actually - produced a returned error message.<br /> - The <samp>Off</samp> setting, which is the default, suppresses - the error line (and is therefore compatible with the behavior - of Apache-1.2 and below). The <samp>On</samp> setting simply - adds a line with the server version number and <a - href="#servername">ServerName</a> of the serving virtual host, - and the <samp>EMail</samp> setting additionally creates a - "mailto:" reference to the <a - href="#serveradmin">ServerAdmin</a> of the referenced - document.</p> - <hr /> - - <h2><a id="servertokens" name="servertokens">ServerTokens - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ServerTokens - Minimal|ProductOnly|OS|Full<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ServerTokens - Full</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config <br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> ServerTokens is - only available in Apache 1.3 and later; the - <code>ProductOnly</code> keyword is only available in versions - later than 1.3.12 - - <p>This directive controls whether <samp>Server</samp> response - header field which is sent back to clients includes a - description of the generic OS-type of the server as well as - information about compiled-in modules.</p> - - <dl> - <dt><code>ServerTokens Prod[uctOnly]</code></dt> - - <dd>Server sends (<em>e.g.</em>): <samp>Server: - Apache</samp></dd> - - <dt><code>ServerTokens Min[imal]</code></dt> - - <dd>Server sends (<em>e.g.</em>): <samp>Server: - Apache/1.3.0</samp></dd> - - <dt><code>ServerTokens OS</code></dt> - - <dd>Server sends (<em>e.g.</em>): <samp>Server: Apache/1.3.0 - (Unix)</samp></dd> - - <dt><code>ServerTokens Full</code> (or not specified)</dt> - - <dd>Server sends (<em>e.g.</em>): <samp>Server: Apache/1.3.0 - (Unix) PHP/3.0 MyMod/1.2</samp></dd> - </dl> - - <p>This setting applies to the entire server, and cannot be - enabled or disabled on a virtualhost-by-virtualhost basis.</p> - <hr /> - - <h2><a id="servertype" name="servertype">ServerType - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ServerType - <em>type</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ServerType - standalone</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The ServerType directive sets how the server is executed by - the system. <em>Type</em> is one of</p> - - <dl> - <dt>inetd</dt> - - <dd>The server will be run from the system process inetd; the - command to start the server is added to - <code>/etc/inetd.conf</code></dd> - - <dt>standalone</dt> - - <dd>The server will run as a daemon process; the command to - start the server is added to the system startup scripts. - (<code>/etc/rc.local</code> or - <code>/etc/rc3.d/...</code>.)</dd> - </dl> - Inetd is the lesser used of the two options. For each http - connection received, a new copy of the server is started from - scratch; after the connection is complete, this program exits. - There is a high price to pay per connection, but for security - reasons, some admins prefer this option. <font - color="red">Inetd mode is no longer recommended and does not - always work properly. Avoid it if at all possible.</font> - - <p>Standalone is the most common setting for ServerType since - it is far more efficient. The server is started once, and - services all subsequent connections. If you intend running - Apache to serve a busy site, standalone will probably be your - only option.</p> - <hr /> - - <h2><a id="shmemuidisuser" name="shmemuidisuser">ShmemUIDisUser - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ShmemUIDisUser - <em>on|off</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ShmemUIDisUser - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> - ShmemUIDisUser directive is only available in Apache 1.3.27 and later. - - <p>The ShmemUIDisUser directive controls whether Apache will change - the <code>uid</code> and <code>gid</code> ownership of System V shared memory - based scoreboards to the server settings of <a href="#user">User</a> and - <a href="#group">Group</a>. Releases of Apache up to 1.3.26 would do - this by default. Since the child processes are already attached to the - shared memory segment, this is not required for normal usage of Apache and - so to prevent possible abuse, Apache will no longer do that. The old - behavior may be required for special cases, however, which can be implemented - by setting this directive to <code>on</code>.</p> - - <p>This directive has no effect on non-System V based scoreboards, such as - <code>mmap</code>. - </p> - - <hr /> - - <h2><a id="startservers" name="startservers">StartServers - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> StartServers - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>StartServers - 5</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The StartServers directive sets the number of child server - processes created on startup. As the number of processes is - dynamically controlled depending on the load, there is usually - little reason to adjust this parameter.</p> - - <p>When running under Microsoft Windows, this directive has no - effect. There is always one child which handles all requests. - Within the child requests are handled by separate threads. The - <a href="#threadsperchild">ThreadsPerChild</a> directive - controls the maximum number of child threads handling requests, - which will have a similar effect to the setting of - <samp>StartServers</samp> on Unix.</p> - - <p>See also <a href="#minspareservers">MinSpareServers</a> and - <a href="#maxspareservers">MaxSpareServers</a>.</p> - <hr /> - - <h2><a id="threadsperchild" - name="threadsperchild">ThreadsPerChild</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ThreadsPerChild - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ThreadsPerChild - 50</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core (Windows, - NetWare)<br /> - <strong>Compatibility:</strong> Available only with Apache 1.3 - and later with Windows - - <p>This directive tells the server how many threads it should - use. This is the maximum number of connections the server can - handle at once; be sure and set this number high enough for - your site if you get a lot of hits.</p> - - <p>This directive has no effect on Unix systems. Unix users - should look at <a href="#startservers">StartServers</a> and <a - href="#maxrequestsperchild">MaxRequestsPerChild</a>.</p> - <hr /> - - <h2><a id="threadstacksize" - name="threadstacksize">ThreadStackSize</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ThreadStackSize - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>ThreadStackSize - 65536</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core (NetWare)<br /> - <strong>Compatibility:</strong> Available only with Apache 1.3 - and later with NetWare - - <p>This directive tells the server what stack size to use for - each of the running threads. If you ever get a stack overflow - you will need to bump this number to a higher setting.</p> - - <p>This directive has no effect on other systems.</p> - <hr /> - - <h2><a id="timeout" name="timeout">TimeOut directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> TimeOut - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>TimeOut - 300</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The TimeOut directive currently defines the amount of time - Apache will wait for three things:</p> - - <ol> - <li>The total amount of time it takes to receive a GET - request.</li> - - <li>The amount of time between receipt of TCP packets on a - POST or PUT request.</li> - - <li>The amount of time between ACKs on transmissions of TCP - packets in responses.</li> - </ol> - We plan on making these separately configurable at some point - down the road. The timer used to default to 1200 before 1.2, - but has been lowered to 300 which is still far more than - necessary in most situations. It is not set any lower by - default because there may still be odd places in the code where - the timer is not reset when a packet is sent. - <hr /> - - <h2><a id="usecanonicalname" - name="usecanonicalname">UseCanonicalName directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> UseCanonicalName - on|off|dns<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>UseCanonicalName - on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> Options<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> UseCanonicalName - is only available in Apache 1.3 and later - - <p>In many situations Apache has to construct a - <em>self-referential</em> URL. That is, a URL which refers back - to the same server. With <code>UseCanonicalName on</code> (and - in all versions prior to 1.3) Apache will use the <a - href="#servername">ServerName</a> and <a href="#port">Port</a> - directives to construct the canonical name for the server. This - name is used in all self-referential URLs, and for the values - of <code>SERVER_NAME</code> and <code>SERVER_PORT</code> in - CGIs.</p> - - <p>For example, if <a href="#servername">ServerName</a> is set to - <code>www.example.com</code> and <a href="#port">Port</a> is set to - <code>9090</code>, then the <em>canonical name</em> of the server is - <code>www.example.com:9090</code>. In the event that - <code>Port</code> has its default value of <code>80</code>, the - <code>:80</code> is omitted from the <em>canonical name</em>.</p> - - <p>With <code>UseCanonicalName off</code> Apache will form - self-referential URLs using the hostname and port supplied by - the client if any are supplied (otherwise it will use the - canonical name, as defined above). These values are the same - that are used to implement <a - href="../vhosts/name-based.html">name based virtual hosts</a>, - and are available with the same clients. The CGI variables - <code>SERVER_NAME</code> and <code>SERVER_PORT</code> will be - constructed from the client supplied values as well.</p> - - <p>An example where this may be useful is on an intranet server - where you have users connecting to the machine using short - names such as <code>www</code>. You'll notice that if the users - type a shortname, and a URL which is a directory, such as - <code>http://www/splat</code>, <em>without the trailing - slash</em> then Apache will redirect them to - <code>http://www.domain.com/splat/</code>. If you have - authentication enabled, this will cause the user to have to - authenticate twice (once for <code>www</code> and once again - for <code>www.domain.com</code> -- see <a - href="../misc/FAQ.html#prompted-twice">the FAQ on this subject for - more information</a>). But if <code>UseCanonicalName</code> - is set off, then Apache will redirect to - <code>http://www/splat/</code>.</p> - - <p>There is a third option, <code>UseCanonicalName DNS</code>, - which is intended for use with mass IP-based virtual hosting to - support ancient clients that do not provide a - <code>Host:</code> header. With this option Apache does a - reverse DNS lookup on the server IP address that the client - connected to in order to work out self-referential URLs.</p> - - <p><strong>Warning:</strong> if CGIs make assumptions about the - values of <code>SERVER_NAME</code> they may be broken by this - option. The client is essentially free to give whatever value - they want as a hostname. But if the CGI is only using - <code>SERVER_NAME</code> to construct self-referential URLs - then it should be just fine.</p> - - <p><strong>See also:</strong> <a - href="#servername">ServerName</a>, <a href="#port">Port</a></p> - <hr /> - - <h2><a id="user" name="user">User directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> User - <em>unix-userid</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>User - #-1</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> core - - <p>The User directive sets the userid as which the server will - answer requests. In order to use this directive, the standalone - server must be run initially as root. <em>Unix-userid</em> is - one of:</p> - - <dl> - <dt>A username</dt> - - <dd>Refers to the given user by name.</dd> - - <dt># followed by a user number.</dt> - - <dd>Refers to a user by their number.</dd> - </dl> - The user should have no privileges which result in it being - able to access files which are not intended to be visible to - the outside world, and similarly, the user should not be able - to execute code which is not meant for httpd requests. It is - recommended that you set up a new user and group specifically - for running the server. Some admins use user - <code>nobody</code>, but this is not always possible or - desirable. For example mod_proxy's cache, when enabled, must be - accessible to this user (see the <a - href="mod_proxy.html#cacheroot"><code>CacheRoot</code> - directive</a>). - - <p>Notes: If you start the server as a non-root user, it will - fail to change to the lesser privileged user, and will instead - continue to run as that original user. If you do start the - server as root, then it is normal for the parent process to - remain running as root.</p> - - <p>Special note: Use of this directive in <VirtualHost> - requires a properly configured <a href="../suexec.html">suEXEC - wrapper</a>. When used inside a <VirtualHost> in this - manner, only the user that CGIs are run as is affected. Non-CGI - requests are still processed with the user specified in the - main User directive.</p> - - <p>SECURITY: Don't set User (or <a href="#group">Group</a>) to - <code>root</code> unless you know exactly what you are doing, - and what the dangers are.</p> - <hr /> - - <h2><a id="virtualhost" name="virtualhost"><VirtualHost> - directive</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> <VirtualHost - <em>addr</em>[:<em>port</em>] [<em>addr</em>[:<em>port</em>]] - ...> ... </VirtualHost> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Core.<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Non-IP - address-based Virtual Hosting only available in Apache 1.1 and - later.<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Multiple address - support only available in Apache 1.2 and later. - - <p><VirtualHost> and </VirtualHost> are used to - enclose a group of directives which will apply only to a - particular virtual host. Any directive which is allowed in a - virtual host context may be used. When the server receives a - request for a document on a particular virtual host, it uses - the configuration directives enclosed in the - <VirtualHost> section. <em>Addr</em> can be</p> - - <ul> - <li>The IP address of the virtual host</li> - - <li>A fully qualified domain name for the IP address of the - virtual host.</li> - </ul> - Example: - - <blockquote> - <code><VirtualHost 10.1.2.3><br /> - ServerAdmin webmaster@host.foo.com<br /> - DocumentRoot /www/docs/host.foo.com<br /> - ServerName host.foo.com<br /> - ErrorLog logs/host.foo.com-error_log<br /> - TransferLog logs/host.foo.com-access_log<br /> - </VirtualHost></code> - </blockquote> - Each VirtualHost must correspond to a different IP address, - different port number or a different host name for the server, - in the former case the server machine must be configured to - accept IP packets for multiple addresses. (If the machine does - not have multiple network interfaces, then this can be - accomplished with the <code>ifconfig alias</code> command (if - your OS supports it), or with kernel patches like <a - href="../misc/vif-info.html">VIF</a> (for SunOS(TM) 4.1.x)). - - <p>You can specify more than one IP address. This is useful if - a machine responds to the same name on two different - interfaces. For example, if you have a VirtualHost that is - available to hosts on an internal (intranet) as well as - external (internet) network. Example:</p> - - <blockquote> - <code><VirtualHost 192.168.1.2 204.255.176.199><br /> - DocumentRoot /www/docs/host.foo.com<br /> - ServerName host.foo.com<br /> - ServerAlias host<br /> - </VirtualHost></code> - </blockquote> - The special name <code>_default_</code> can be specified in - which case this virtual host will match any IP address that is - not explicitly listed in another virtual host. In the absence - of any _default_ virtual host the "main" server config, - consisting of all those definitions outside any VirtualHost - section, is used when no match occurs. - - <p>You can specify a <code>:port</code> to change the port that - is matched. If unspecified then it defaults to the same port as - the most recent <code><a href="#port">Port</a></code> statement - of the main server. You may also specify <code>:*</code> to - match all ports on that address. (This is recommended when used - with <code>_default_</code>.)</p> - - <p><strong>SECURITY</strong>: See the <a - href="../misc/security_tips.html">security tips</a> document - for details on why your security could be compromised if the - directory where logfiles are stored is writable by anyone other - than the user that starts the server.</p> - - <p><strong>NOTE</strong>: The use of <VirtualHost> does - <strong>not</strong> affect what addresses Apache listens on. - You may need to ensure that Apache is listening on the correct - addresses using either <a href="#bindaddress">BindAddress</a> - or <a href="#listen">Listen</a>.</p> - - <p><strong>See also:</strong> <a href="../vhosts/">Apache - Virtual Host documentation</a><br /> - <strong>See also:</strong> <a - href="../dns-caveats.html">Warnings about DNS and - Apache</a><br /> - <strong>See also:</strong> <a href="../bind.html">Setting - which addresses and ports Apache uses</a><br /> - <strong>See also</strong>: <a href="../sections.html">How - Directory, Location and Files sections work</a> for an - explanation of how these different sections are combined when a - request is received</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/core.html.fr b/usr.sbin/httpd/htdocs/manual/mod/core.html.fr deleted file mode 100644 index 9ad34f43d6b..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/core.html.fr +++ /dev/null @@ -1,4115 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!--Traduction anglais 1.190 --> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /> - - <title>Noyau d'Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Noyau d'Apache</h1> - - <p>Ces paramètres de configuration contrôlent les - fonctionnalités premières d'Apache, et sont - toujours disponibles.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#acceptfilter">AcceptFilter</a></li> - - <li><a href="#accessconfig">AccessConfig</a></li> - - <li><a href="#accessfilename">AccessFileName</a></li> - - <li><a href="#adddefaultcharset">AddDefaultCharset</a></li> - - <li><a href="#addmodule">AddModule</a></li> - - <li><a href="#allowoverride">AllowOverride</a></li> - - <li><a href="#authname">AuthName</a></li> - - <li><a href="#authtype">AuthType</a></li> - - <li><a href="#bindaddress">BindAddress</a></li> - - <li><a href="#bs2000account">BS2000Account</a></li> - - <li><a href="#clearmodulelist">ClearModuleList</a></li> - - <li><a href="#contentdigest">ContentDigest</a></li> - - <li><a href="#coredumpdirectory">CoreDumpDirectory</a></li> - - <li><a href="#defaulttype">DefaultType</a></li> - - <li><a href="#directory"><Directory></a></li> - - <li><a href="#directorymatch"><DirectoryMatch></a></li> - - <li><a href="#documentroot">DocumentRoot</a></li> - - <li><a href="#ebcdicconvert">EBCDICConvert</a></li> - - <li><a - href="#ebcdicconvertbytype">EBCDICConvertByType</a></li> - - <li><a href="#ebcdickludge">EBCDICKludge</a></li> - - <li><a href="#errordocument">ErrorDocument</a></li> - - <li><a href="#errorlog">ErrorLog</a></li> - - <li><a href="#files"><Files></a></li> - - <li><a href="#filesmatch"><FilesMatch></a></li> - - <li><a href="#group">Group</a></li> - - <li><a href="#hostnamelookups">HostNameLookups</a></li> - - <li><a href="#identitycheck">IdentityCheck</a></li> - - <li><a href="#ifdefine"><IfDefine></a></li> - - <li><a href="#ifmodule"><IfModule></a></li> - - <li><a href="#include">Include</a></li> - - <li><a href="#keepalive">KeepAlive</a></li> - - <li><a href="#keepalivetimeout">KeepAliveTimeout</a></li> - - <li><a href="#limit"><Limit></a></li> - - <li><a href="#limitexcept"><LimitExcept></a></li> - - <li><a href="#limitrequestbody">LimitRequestBody</a></li> - - <li><a href="#limitrequestfields">LimitRequestFields</a></li> - - <li><a - href="#limitrequestfieldsize">LimitRequestFieldsize</a></li> - - <li><a href="#limitrequestline">LimitRequestLine</a></li> - - <li><a href="#listen">Listen</a></li> - - <li><a href="#listenbacklog">ListenBacklog</a></li> - - <li><a href="#location"><Location></a></li> - - <li><a href="#locationmatch"><LocationMatch></a></li> - - <li><a href="#lockfile">LockFile</a></li> - - <li><a href="#loglevel">LogLevel</a></li> - - <li><a href="#maxclients">MaxClients</a></li> - - <li><a - href="#maxkeepaliverequests">MaxKeepAliveRequests</a></li> - - <li><a - href="#maxrequestsperchild">MaxRequestsPerChild</a></li> - - <li><a href="#maxspareservers">MaxSpareServers</a></li> - - <li><a href="#minspareservers">MinSpareServers</a></li> - - <li><a href="#namevirtualhost">NameVirtualHost</a></li> - - <li><a href="#options">Options</a></li> - - <li><a href="#pidfile">PidFile</a></li> - - <li><a href="#port">Port</a></li> - - <li><a href="#require">require</a></li> - - <li><a href="#resourceconfig">ResourceConfig</a></li> - - <li><a href="#rlimitcpu">RLimitCPU</a></li> - - <li><a href="#rlimitmem">RLimitMEM</a></li> - - <li><a href="#rlimitnproc">RLimitNPROC</a></li> - - <li><a href="#satisfy">Satisfy</a></li> - - <li><a href="#scoreboardfile">ScoreBoardFile</a></li> - - <li><a - href="#scriptinterpretersource">ScriptInterpreterSource</a></li> - - <li><a href="#sendbuffersize">SendBufferSize</a></li> - - <li><a href="#serveradmin">ServerAdmin</a></li> - - <li><a href="#serveralias">ServerAlias</a></li> - - <li><a href="#servername">ServerName</a></li> - - <li><a href="#serverpath">ServerPath</a></li> - - <li><a href="#serverroot">ServerRoot</a></li> - - <li><a href="#serversignature">ServerSignature</a></li> - - <li><a href="#servertokens">ServerTokens</a></li> - - <li><a href="#servertype">ServerType</a></li> - - <li><a href="#startservers">StartServers</a></li> - - <li><a href="#threadsperchild">ThreadsPerChild</a></li> - - <li><a href="#threadstacksize">ThreadStackSize</a></li> - - <li><a href="#timeout">TimeOut</a></li> - - <li><a href="#usecanonicalname">UseCanonicalName</a></li> - - <li><a href="#user">User</a></li> - - <li><a href="#virtualhost"><VirtualHost></a></li> - </ul> - - <h2><a id="acceptfilter" name="acceptfilter">Directive - AcceptFilter</a></h2> - <!--%plaintext <?INDEX {\tt AcceptFilter} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> AcceptFilter on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>AccceptFilter on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> server configt<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> core - - <p><code>AcceptFilter</code> contrôle une optimisation - spécifique à BSD. Elle est compilée par - défaut et activée par défaut si votre - système l'implémente (option SO_ACCCEPTFILTER de - setsocketopt()). A l'heure actuelle, seul FreeBSD - l'implémente.</p> - - <p>Se référer à la section concernant les - filtres dans la <a href="../misc/perf-bsd44.html">documentation - sur la performance</a> pour de plus amples informations.</p> - - <p>L'option de compilation <code>AP_ACCEPTFILTER_OFF</code> - peut être utilisée pour changer le défaut - à 'off'. <code>httpd -V</code> et <code>httpd -L</code> - affichent dorénavant les valeurs par défauts au - moment de la compilation, et si oui ou non SO_ACCEPTFILTER a - été défini pour cette compilation.</p> - <hr /> - <!-- XXX translate a name="accessconfig" / Directive AccessConfig - --> - - <h2><a id="accessconfig" name="accessconfig">Directive - AccessConfig</a></h2> - <!--%plaintext <?INDEX {\tt AccessConfig} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> AccessConfig - <em>nomfichier|nomrépertoire</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>AccessConfig conf/access.conf</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> configuration serveur, - hôtes virtuels<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Le serveur lit dans ce fichier des directives - supplémentaires après avoir ouvert le fichier <a - href="#resourceconfig">ResourceConfig</a>. <em>nomfichier</em> - est exprimé relativement à <a - href="#serverroot">ServerRoot</a>. Cette fonctionnalité - peut être désactivée en écrivant - :</p> - - <blockquote> - <code>AccessConfig /dev/null</code> - </blockquote> - ou sur les serverus Win32 - - <blockquote> - <code>AccessConfig nul</code> - </blockquote> - - <p>Historiquement, ce fichier ne contenait que des sections <a - href="#directory"><Directory></a>; en fait, il pourra - maintenant contenir toute directive "serveur" autorisée - dans le contexte de la <em>configuration serveur</em>.</p> - - <p>Une nouveauté de la version d'Apache 1.3.13 est la - possibilité qu'<code>AccessConfig</code> - représente un répertoire plutot qu'un fichier. - Apache lira tous les fichiers de ce répertoire ainsi que - tous les sous-répertoires et analysera tous ces fichiers - de configuration.</p> - - <p>Voir également <a - href="#resourceconfig">ResourceConfig</a>.</p> - <hr /> - - <h2><a id="accessfilename" name="accessfilename">Directive - AccessFileName</a></h2> - <!--%plaintext <?INDEX {\tt AccessFileName} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> AccessFileName <em>nomfichier</em> - [<em>nomfichier</em>] ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>AccessFileName .htaccess</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> configuration serveur, - hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - AccessFileName ne peut accepter plusieurs noms de fichiers - qu'à partir de la version 1.3 d'Apache - - <p>Lorsqu'il retourne un document au client, le serveur cherche - le premier fichier de contrôle d'accès existant - dans cette liste dans chacun des répertoires inscrit - dans le chemin d'accès menant au document, pour - déterminer si l'accès est autorisé dan - chacun de ces répertoires. Par exemple:</p> - - <blockquote> - <code>AccessFileName .acl</code> - </blockquote> - - <p>Avant de servir le document - <code>/usr/local/web/index.html</code>, le serveur lira les - fichiers <code>/.acl</code>, <code>/usr/.acl</code>, - <code>/usr/local/.acl</code> et - <code>/usr/local/web/.acl</code> à la recherche de - directives, sauf si celles-ci ont été - désactivées par l'écriture</p> - - <blockquote> - <code><Directory /> AllowOverride None - </Directory></code> - </blockquote> - - <p><strong>Voir également :</strong> <a - href="#allowoverride">AllowOverride</a></p> - <hr /> - - <h2><a id="adddefaultcharset" - name="adddefaultcharset">Directive AddDefaultCharset</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> AddDefaultCharset On|Off|<em>charset</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> tous<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>AddDefaultCharset Off</code><br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - AddDefaultCharset n'est disponible qu'à partir de la - version 1.3.12 - - <p>Cette directive spécifie le nom de la table de - caractères qui sera ajouté à toutes les - réponses qui n'ont aucun paramètre sur le type de - contenu dans l'en-tête HTTP. Elle remplace la table de - caractère spécifié dans le corps du - document par l'utilisation du marqueur <code>META</code>. La - mise de <code>AddDefaultCharset Off</code> désactive - cette fonctionnalité. <code>AddDefaultCharset On</code> - active la table de caractère <code>iso-8859-1</code> par - défaut d'Apache. Vous pouvez également - définir une autre table de caractères à - employer. Par exemple <code>AddDefaultCharset utf-8</code>.</p> - <hr /> - - <h2><a id="addmodule" name="addmodule">Directive - AddModule</a></h2> - <!--%plaintext <?INDEX {\tt AddModule} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> AddModule <em>module</em> [<em>module</em>] - ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur <br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <tt>AddModule</tt> n'est disponible qu'à partir de la - version 1.2 d'Apache - - <p>Le serveur peut intégrer des modules compilés - qui ne sont pas mis en service. Cette directive peut être - utilisée pour activer ou désactiver ces modules. - Le serveur est installé avec une liste - pré-configurée de modules actifs cette liste peut - être effacée par la directive <a - href="#clearmodulelist">ClearModuleList</a>.</p> - <hr /> - - <h2><a id="allowoverride" name="allowoverride">Directive - AllowOverride</a></h2> - <!--%plaintext <?INDEX {\tt AllowOverride} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> AllowOverride All|None|<em>type de - directive</em> [<em>type de directive</em>] ... <br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>AllowOverride All All</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> - répertoire<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Lorsque le serveur trouve un fichier .htaccess (comme - spécifié par <a - href="#accessfilename">AccessFileName</a>) il doit savoir - quelles directives declarées dans ce fichier peuvent - outrepasser les droits fixés par des directives - précédentes.</p> - - <p>Si la directive est définie à - <code>None</code>, les fichier .htaccess sont ignorés. - Dans ce cas, le serveur n'essaie même pas de lire les - fichiers .htaccess.</p> - - <p>Si la directive est définie à <code>All</code> - toutes les directives possibles dans le <a - href="directive-dict.html#Context">contexte</a> .htacces sont - autorisées dans les fichiers .htaccess.</p> - - <p>Les <em>types de directives</em> peuvent être parmi - ces groupes de directives :</p> - - <dl> - <dt>AuthConfig</dt> - - <dd> - <!--%plaintext <?INDEX {\tt AuthConfig} override> --> - Autorise l'usage de la directive Authorization (<a - href="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a>, - <a - href="mod_auth_dbm.html#authdbmuserfile">AuthDBMUserFile</a>, - <a href="mod_auth.html#authgroupfile">AuthGroupFile</a>, <a - href="#authname">AuthName</a>, <a - href="#authtype">AuthType</a>, <a - href="mod_auth.html#authuserfile">AuthUserFile</a>, <a - href="#require">Require</a>, etc.).</dd> - - <dt>FileInfo</dt> - - <dd><!--%plaintext <?INDEX {\tt FileInfo} override> --> - Autorise l'usage de directives contrôlant - l'accès aux types de documents (<a - href="mod_mime.html#addencoding">AddEncoding</a>, <a - href="mod_mime.html#addlanguage">AddLanguage</a>, <a - href="mod_mime.html#addtype">AddType</a>, <a - href="#defaulttype">DefaultType</a>, <a - href="#errordocument">ErrorDocument</a>, <a - href="mod_negotiation.html#languagepriority">LanguagePriority</a>, - etc.).</dd> - - <dt>Indexes</dt> - - <dd><!--%plaintext <?INDEX {\tt Indexes} override> --> - Autorise l'usage de directives contrôlant l'indexation - des répertoires (<a - href="mod_autoindex.html#adddescription">AddDescription</a>, - <a href="mod_autoindex.html#addicon">AddIcon</a>, <a - href="mod_autoindex.html#addiconbyencoding">AddIconByEncoding</a>, - <a href="mod_autoindex.html#addiconbytype">AddIconByType</a>, - <a href="mod_autoindex.html#defaulticon">DefaultIcon</a>, <a - href="mod_dir.html#directoryindex">DirectoryIndex</a>, <a - href="mod_autoindex.html#fancyindexing">FancyIndexing</a>, <a - href="mod_autoindex.html#headername">HeaderName</a>, <a - href="mod_autoindex.html#indexignore">IndexIgnore</a>, <a - href="mod_autoindex.html#indexoptions">IndexOptions</a>, <a - href="mod_autoindex.html#readmename">ReadmeName</a>, - etc.).</dd> - - <dt>Limit</dt> - - <dd><!--%plaintext <?INDEX {\tt Limit} override> --> - Autorise l'usage de directives contrôlant les - accès de certains hôtes (allow, deny et - order).</dd> - - <dt>Options</dt> - - <dd><!--%plaintext <?INDEX {\tt Options} override> --> - Autorise l'usage de directives contrôlant certaines - fonctionnalités spécifiques des - répertoires (<a href="#options">Options</a> et <a - href="mod_include.html#xbithack">XBitHack</a>).</dd> - </dl> - - <p><strong>Voir également :</strong> <a - href="#accessfilename">AccessFileName</a></p> - <hr /> - - <h2><a id="authname" name="authname">Directive - AuthName</a></h2> - <!--%plaintext <?INDEX {\tt AuthName} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> AuthName <em>domaine-autorisé</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> répertoire, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Surcharge :</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Cette directive indique le nom du schéma - d'autorisation pour un répertoire. Ce schéma sera - donné au client de sorte que l'utilisateur sache quel - nom et quel mot de passe envoyer. <samp>AuthName</samp> prend - un seul argument. Si le schéma d'autorisation contient - des espaces, il doit être entouré de guillemets. - Pour fonctionner correctement, elle devra être - accompagnée des directives <a - href="#authtype">AuthType</a> et <a - href="#require">require</a>, et de directives telles que <a - href="mod_auth.html#authuserfile">AuthUserFile</a> et <a - href="mod_auth.html#authgroupfile">AuthGroupFile</a>.</p> - <hr /> - - <h2><a id="authtype" name="authtype">Directive - AuthType</a></h2> - <!--%plaintext <?INDEX {\tt AuthType} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> AuthType <em>type</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> répertoire, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Surcharge :</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Cette directive selectionne le type d'authentification pour - un répertoire. Seul les types <code>Basic</code> et - <code>Digest</code> sont actuellement - implémentés. - <!--%plaintext <?INDEX {\tt Basic} authentication scheme> --> - Pour fonctionner correctement, elle devra être - accompagnée des directives <a - href="#authname">AuthName</a> et <a - href="#require">require</a>, et de directives telles que <a - href="mod_auth.html#authuserfile">AuthUserFile</a> et <a - href="mod_auth.html#authgroupfile">AuthGroupFile</a>.</p> - <hr /> - - <h2><a id="bindaddress" name="bindaddress">Directive - BindAddress</a></h2> - <!--%plaintext <?INDEX {\tt BindAddress} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> BindAddress *|<em>addresse IP</em>|<em>nom de - domaine</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>BindAddress *</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Un serveur http sous Unix® peut soit écouter - toutes les adresses IP de la machine sur lequel il est - exécuté, ou uniquement une de ces adresses. Si - l'argument de cette directive est *, le serveur traitera les - connections sur toutes les adresses IP. Sinon, le serveur peut - écouter à partir d'une <em>adresse IP</em> - spécifique ou d'un <em>nom de domaine</em> Internet.</p> - - <p>Une et une seule directive <tt>BindAddress</tt> peut - être utilisée. Pour contrôler plus finement - quels ports et adresses Apache écoute, utilisez la - directive <a href="#listen">Listen</a> au lieu de - <tt>BindAddress</tt>.</p> - - <p><tt>BindAddress</tt> peut être utilisée comme - alternative à l'implantation d'<a - href="../vhosts/">hôtes virtuels</a> utilisant des - serveurs multiples indépendants, soit au lieu d'utiliser - les sections <a - href="#virtualhost"><VirtualHost></a>.</p> - - <p><strong>Voir aussi:</strong> <a - href="../dns-caveats.html">Apache et DNS</a><br /> - <strong>Voir aussi:</strong> <a href="../bind.html">Configurer - les ports et adresses utilisés par Apache</a></p> - <hr /> - - <h2><a id="bs2000account" name="bs2000account">BS2000Account - directive</a></h2> - <!--%plaintext <?INDEX {\tt BS2000Account} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> BS2000Account <em>account</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <em>none</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - BS2000Account n'est valable que pour les machines BS2000, - à partir de la version 1.3 d'Apache. - - <p>La directive <code>BS2000Account</code> n'est disponible que - pour les machines BS2000. Elle doit être employée - pour définir le numéro de compte pour - l'utilisateur non privilégié (qui est - défini par la directive <a href="#user">User</a> ). Ceci - est requis par le sous système POSIX du BS2000 afin de - changer l'environnement d'exécution sosu jacent du BS200 - en effectuant une sous connexion, et éviter ainsi que - des scripts CGI puissent accéder à des ressources - accessible à l'utilisateur privilégié - utilisé pour lancer le serveur, - généralement <samp>SYSROOT</samp>.<br /> - Seulement une directive <code>BS2000Account</code> peut - être utilisée.</p> - - <p><strong>Voir également:</strong> <a - href="../ebcdic.html">Portage EBCDIC d'Apache</a></p> - <hr /> - - <h2><a id="clearmodulelist" name="clearmodulelist">Directive - ClearModuleList</a></h2> - <!--%plaintext <?INDEX {\tt ClearModuleList} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ClearModuleList<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <tt>ClearModuleList</tt> n'est disponible qu'à partir de - la version 1.2 d'Apache - - <p>Le serveur dispose à l'installation d'une liste - pré-configurée de modules actifs. Cette directive - efface cette liste. Il est supposé que cette liste sera - reconstruite à partir de directives <a - href="#addmodule">AddModule</a>.</p> - <hr /> - - <h2><a id="contentdigest" name="contentdigest">Directive - ContentDigest</a></h2> - <!--%plaintext <?INDEX {\tt ContentDigest} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ContentDigest <em>on|off</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ContentDigest off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels, répertoire, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Surcharge :</strong></a> Options<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> expérimental - - <p><a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - ContentDigest n'est disponible qu'à partir de la version - 1.1 d'Apache</p> - - <p>Cette directive active la génération - d'en-têtes <code>Content-MD5</code> conformes aux RFC1864 - et RFC2068.</p> - - <p>MD5 est un algorithme permettant d'extraire un - "résumé" à partir d'un bloc de - données de longueur arbitraire, avec un degré de - confiance suffisant dans la mesure ou une moindre - altération dans les données sera - reflétée par un changement dans le - "résumé".</p> - - <p>L'en-tête <code>Content-MD5</code> procure un test de - l'intégrité de message de bout en bout (MIC) sur - le corps d'entité. Un proxy ou client pourra tester cet - en-tête pour détecter des modifications - accidentelles du corps d'entité en cours de transfert. - Exemple d'en-tête:</p> -<pre> - Content-MD5: AuLb7Dp1rqtRtxz2m9kRpA== - -</pre> - - <p>Notez que ceci peut réduire les performances de votre - serveur dans la mesure où le "résumé" est - calculé à chaque requête (il ne peut - être mis en cache).</p> - - <p><code>Content-MD5</code> n'est émis que pour des - documents servis par le noyau, et à l'exception de tout - module. Par exemple, les documents SSI, la sortie de scripts - CGI, et des réponses en flux d'octet binaire ne pourront - utiliser cet en-tête.</p> - <hr /> - - <h2><a id="coredumpdirectory" - name="coredumpdirectory">Directive CoreDumpDirectory</a></h2> - <!--%plaintext <?INDEX {\tt CoreDumpDirectory} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> CoreDumpDirectory - <em>nomrépertoire</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> même - répertoire que ServerRoot<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Elle définit le répertoire auquel Apache tente - d'accéder avant d'enregistrer un "noyau dump". Par - défaut, il s'agit du répertoire <a - href="#serverroot">ServerRoot</a>, cependant, si ce - répertoire n'est pas accessible en écriture par - l'utilisateur sous lequel tourne le serveur, le "noyau dump" ne - pourra être généré. Si vous - souhaitez dans ce cas obtenir un "noyau dump" pour des - nécessités de débogage, vous pouvez - utiliser cette directive pour spécifier un autre - répertoire dans lequel vous avez toute autorisation pour - écrire.</p> - <hr /> - - <h2><a id="defaulttype" name="defaulttype">Directive - DefaultType</a></h2> - <!--%plaintext <?INDEX {\tt DefaultType} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> DefaultType <em>mime-type</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>DefaultType text/html</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels, répertoire, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Surcharge :</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Il peut arriver qu'une requête demande au serveur un - document dont le type ne peut être - déterminé par les tables de MIME.</p> - - <p>Le serveur doit informer le client du type de contenu - (Content-type) du document. Dans le cas d'un type inconnu, il - utilisera le <tt>DefaultType</tt>. Par exemple :</p> - - <blockquote> - <code>DefaultType image/gif</code> - </blockquote> - - <p>sera approprié dans un répertoire contenant - une majorité d'images gif dont certaines ne - présentent pas explicitement l'extension .gif.</p> - <hr /> - - <h2><a id="directory" name="directory">Directive - <Directory></a></h2> - <!--%plaintext <?INDEX {\tt Directory} section directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <Directory <em>nomrépertoire</em>> - ... </Directory> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p><tt><Directory></tt> et <tt></Directory></tt> - sont utilisés pour "encapsuler" un groupe de directives - applicables uniquement au réprtoire indiqué ainsi - qu'à ses sous-répertoires. Toute directive - autorisée dans un contexte de répertoire peut - apparaître entre ces deux balises. - <em>nomrépertoire</em> est soit le chemin - entièrement qualifié du répertoire, ou un - motif. Dans un motif, '?' remplace un caractère unique - quelconque, et '*' remplace toute séquence de - zéro ou plus caractères quelconques. Sur Apache - 1.3, vous pouvez aussi utiliser les plages de caractères - '[]' comme dans un shell UNIX. De plus aucun des - métacaractères ne peut remplacer un '/', ce qui - correspond plus intimement à la réaction des - shells UNIX. Exemple:</p> -<pre> - <Directory /usr/local/httpd/htdocs> - Options Indexes FollowSymLinks - </Directory> -</pre> - - <p><strong>A partir d'Apache 1.2 :</strong> peuvent être - utilisées les "expressions régulières", - lesquelles devront être précédées du - caractère <code>~</code>. Par exemple :</p> -<pre> - <Directory ~"^/www/.*/[0-9]{3}"> -</pre> - correspondrait à des répertoires dans /www/ dont - le nom serait constitué de trois digits. - - <p>Si plusieurs sections de répertoires pointent sur le - répertoire d'un document (ou l'un de ses pères) - sans qu'il s'agisse d'une expression régulière, - alors les directives sont appliquées selon la loi de "la - plus courte qualification d'abord", combinées aux - directives des fichiers <a - href="#accessfilename">.htaccess</a>. Par exemple, avec - l'écriture</p> - - <blockquote> - <code><Directory /> AllowOverride None - </Directory> <Directory /home/*> AllowOverride - FileInfo </Directory></code> - </blockquote> - - <p>pour le contrôle d'accès au document - <code>/home/web/dir/doc.html</code> les étapes - d'évaluation sont les suivantes :</p> - - <ul> - <li>Applique la directive <code>AllowOverride None</code> - (désactivant les fichiers - <code>.htaccess</code>).</li> - - <li>Appliquela directive <code>AllowOverride FileInfo</code> - (pour le répertoire <code>/home/web</code>).</li> - - <li>Applique toutes les directives <tt>FileInfo</tt> de - <code>/home/web/.htaccess</code></li> - </ul> - - <p>Les sections exprimant des répertoires sous forme - d'expressions régulières sont gérés - légèrement différemment par Apache 1.2 et - 1.3. Sous Apache 1.2, elles sont combinées aux sections - "normales" et s'appliquent dans l'ordre où elles - apparaissent dans le fichier de configuration. Elles ne - s'appliquent qu'une fois, seulement pour celles qui font partie - de la section "à plus courte correspondance". Sous - Apache 1.3 les sections basées sur des expressions - régulières ne sont pas évaluées - tant que toutes les sections "normales" n'ont pas - été considérées. A ce moment, les - sections "régulières" sont traitées dans - l'ordre où elles apparaissent dans le fichier de - configuration. Par exemple, avec l'écriture</p> - - <blockquote> - <code><Directory ~ abc$> ... directives ici ... - </Directory></code> - </blockquote> - - <p>Supposez que le nom de fichier demandé soit - <code>/home/abc/public_html/abc/index.html</code>. Le serveur - considère chacune des sections <code>/</code>, - <code>/home</code>, <code>/home/abc</code>, - <code>/home/abc/public_html</code>, et - <code>/home/abc/public_html/abc</code> dans cet ordre. Sous - Apache 1.2, lorsque <code>/home/abc</code> est pris en compte, - l'expression régulière correspondra et ses termes - seront appliqués. Sous Apache 1.3 l'expression - régulière n'est pas considérée du - tout à ce point de l'arbre. Elle ne le sera pas tant que - toutes les sections "normales" <tt><Directory>s</tt> et - celles des fichiers <code>.htaccess</code> n'ont pas - été appliquées. A ce moment seulement - l'expression régulière reconnaîtra - <code>/home/abc/public_html/abc</code> et les directives seront - appliquées.</p> - - <p><strong>Notez que l'accès par défaut d'Apache - pour les sections <tt><Directory></tt> est <code>Allow - from All</code>. Ceci veut dire que par défaut, Apache - desservira tout fichier indiqué par une URL. Nous - recommandons de modifier ceci à l'aide d'un bloc tel - que</strong></p> -<pre> - <Directory /> - Order Deny,Allow - Deny from All -</Directory> -</pre> - - <p><strong>puis désactiver sélectivement la - protection pour les répertoires devant rester - accessibles. Voir la page <a - href="../misc/security_tips.html">Trucs sur la - sécurité</a> pour plus de - détails.</strong></p> - - <p>Les sections de répertoires apparaissent - habituellement dans le fichier access.conf, mais peuvent - être présentes dans n'importe quel fichier de - configuration. Les directives <Directory> ne peuvent - être imbriquées, et ne peuvent petre incluses dans - des sections <a href="#limit"><Limit></a> ou <a - href="#limitexcept"><LimitExcept></a>.</p> - - <p><strong>Voir aussi</strong> : <a - href="../sections.html">Comment fonctionnent les sections - concernant les répertoires, chemins et fichiers</a> pour - une explication plus précise concernant la - manière dont ces sections sont combinées - lorsqu'une requête est traitée.</p> - <hr /> - - <h2><a id="directorymatch" name="directorymatch">Directive - <DirectoryMatch></a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <DirectoryMatch <em>regex</em>> ... - </DirectoryMatch><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - Disponible à partir de la version 1.3 d'Apache - - <p><tt><DirectoryMatch></tt> et - <tt></DirectoryMatch></tt> sont utilisés pour - encapsuler un groupe de directives s'appliquant uniquement aux - répertoires nommés et ses - sous-répertoires, de manière identique à - la directive <a href="#directory"><Directory></a>. - Cependant, elle n'accepte comme argument qu'une expression - régulière. Par exemple :</p> - - <blockquote> - <code><DirectoryMatch "^/www/.*/[0-9]{3}"></code> - </blockquote> - - <p>correspondrait aux répertoires de /www/ dont le nom - consiste en trois chiffres.</p> - - <p><strong>Voir aussi :</strong> <a - href="#directory"><Directory></a> pour une description de - la manière dont les définitions par expression - régulière sont combinées aux sections - <tt><Directory></tt> "normales".<br /> - <strong>Voir aussi</strong> : <a - href="../sections.html">Comment fonctionnent les sections - concernant les répertoires, chemins et fichiers</a> pour - une explication plus précise concernant la - manière dont ces sections sont combinées - lorsqu'une requête est traitée</p> - <hr /> - - <h2><a id="documentroot" name="documentroot">Directive - DocumentRoot</a></h2> - <!--%plaintext <?INDEX {\tt DocumentRoot} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> DocumentRoot <em>directory-filename</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>DocumentRoot /usr/local/apache/htdocs</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Cette directive définit le répertoire racine - à partir duquel httpd va distribuer les fichiers. Sauf - si le répertoire est pointé par une directive - telle que Alias, le serveur ajoute le chemin relatif - mentionnée dans l'URL présentée à - cette racine pour établir le chemin complet jusqu'au - document. Exemple :</p> - - <blockquote> - <code>DocumentRoot /usr/web</code> - </blockquote> - - <p>Un accès à - <code>http://www.my.host.com/index.html</code> se - réferre au document - <code>/usr/web/index.html</code>.</p> - - <p>Un bogue existe pour cette directive mod_dir, laquelle - fonctionne mal lorsque DocumentRoot est donnée avec un - '/' final (c-à-d. "DocumentRoot /usr/web/"). Il vaut - mieux éviter cette écriture.</p> - <hr /> - - <h2><a id="ebcdicconvert" - name="ebcdicconvert">EBCDICConvert</a></h2> - <!--%plaintext <?INDEX {\tt EBCDICConvert} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> EBCDICConvert On|Off[=<em>direction</em>] - <em>extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel, répertoire, .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Surcharge :</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> la - conversion EBCDIC est disponible à partir de la version - 1.3.19 d'Apache sur les plate-formes basées sur EBCDIC. - - <p>La directive EBCDICConvert associe une extension de fichier - à une possible conversion (<samp>On</samp> ou - <samp>Off</samp>). Les extensions de fichiers peuvent commencer - ou non par un point.</p> - - <p>Si le format optionnel <samp>On=<i>direction</i></samp> (or - <samp>Off=<i>direction</i></samp>) est employé, - où <i>direction</i> est choisi parmi <samp>In</samp>, - <samp>Out</samp> ou <samp>InOut</samp>, alors la directive ne - s'applique seulement que dans une direction de transfert - donnée (<samp>In</samp> : contenu reçu par une - requête PUT ou POST , <samp>Out</samp> : contenu - renvoyé à une requete GET ou POST, et - <samp>InOut</samp> : conversion dans les deux - directions).<br /> - Sinon, <samp>InOut</samp> (conversion dans les deux - directions) est défini.</p> - - <p>La configuration de conversion basé sur un type de - fichier est testé avant la configuration basé sur - les types MIME, afin de permettre aux règles - génériques MIME d'être surchargées - par une extension spécifique (pplusieurs extensions de - fichier peuvent exister pour le même type MIME).</p> - - <p><strong>Exemple</strong>:<br /> - Avec la configuration suivante, les fichiers - <samp>*.html</samp> contiennent du texte HTML au format EBCDIC, - tandis que les fichiers <samp>*.ahtml</samp> contiennent du - texte HTML au format ASCII :</p> -<pre> - # *.html et *.ahtml contiennet du texte HTML : - AddType text/html .html .ahtml - - # *.ahtml n'est pas converti (il contient déjà du texte ASCII) - EBCDICConvert Off .ahtml - - # Les autres fichiers text/html contiennent du texte EBCDIC: - EBCDICConvertByType On text/html -</pre> - <br /> - <br /> - - - <p><strong>Voir également</strong>: <a - href="#ebcdicconvertbytype">EBCDICConvertByType</a> et <a - href="../ebcdic.html#ebcdic">Aperçu des fonctions de - conversion EBCDIC</a></p> - <hr /> - - <h2><a id="ebcdicconvertbytype" - name="ebcdicconvertbytype">EBCDICConvertByType</a></h2> - <!--%plaintext <?INDEX {\tt EBCDICConvertByType} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> EBCDICConvertByType On|Off[=<em>direction</em>] - <em>mimetype</em> [<em>mimetype</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel, répertoire, .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Surcharge :</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> la - conversion EBCDIC est disponible à partir de la version - 1.3.19 d'Apache sur les plate-formes basées sur EBCDIC. - - <p>La directive EBCDICConvertByType associe un type MIME - (pouvant contenir une *) à une éventuelle - conversion (<samp>On</samp> ou <samp>Off</samp>).</p> - - <p>Si le format optionnel <samp>On=<i>direction</i></samp> (or - <samp>Off=<i>direction</i></samp>) est employé, - où <i>direction</i> est choisi parmi <samp>In</samp>, - <samp>Out</samp> ou <samp>InOut</samp>, alors la directive ne - s'applique seulement que dans une direction de transfert - donnée (<samp>In</samp> : contenu reçu par une - requête PUT ou POST , <samp>Out</samp> : contenu - renvoyé à une requete GET ou POST, et - <samp>InOut</samp> : conversion dans les deux - directions).<br /> - Sinon, <samp>InOut</samp> (conversion dans les deux - directions) est défini.</p> - - <p><strong>Par exemple</strong>:<br /> - Une configuration standard pratique devrait au moins contenir - ces directives :</p> -<pre> - # All text documents are stored as EBCDIC files: - # Tous les document textes sont stockés au format EBCDIC - EBCDICConvertByType On text/* message/* multipart/* - EBCDICConvertByType On application/x-www-form-urlencoded \ - model/vrml application/postscript - # Les autres fichiers sont traités comme binaires. - EBCDICConvertByType Off */* -</pre> - Si vous servez seulement que des documents ASCII, par exemple - provenant d'un montage NFS d'un serveur Unix, utilisez : -<pre> - # Tous les documents sont déjà en ASCII: - EBCDICConvertByType Off */* -</pre> - - <p><strong>Voir également</strong>: <a - href="#ebcdicconvert">EBCDICConvert</a> et <a - href="../ebcdic.html#ebcdic">Aperçu des fonctions de - conversion EBCDIC</a></p> - <hr /> - - <h2><a id="ebcdickludge" - name="ebcdickludge">EBCDICKludge</a></h2> - <!--%plaintext <?INDEX {\tt EBCDICKludge} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> EBCDICKludge On|Off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>EBCDICKludge - Off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel, répertoire, .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Surcharge :</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - EBCDICKludge est disponible à partir de la version - 1.3.19 d'Apache sur les plate-formes basées sur EBCDIC. - Il est désuet et sera abandonné dans les versions - ultérieures.<br /> - - - <p>The EBCDICKludge est proposée par - compatibilité avec les versions d'Apache 1.3.0 à - 1.3.18. Dans ces versions, tous les fichiers dont le type MIME - commence par "text/", "message/" ou "multipart/" ou dont le - type est "application/x-www-form-urlencoded" sont convertis par - défaut, les autres documents sont retournés sans - conversion. Un document est présumé être au - format ASCII iuniquement si il est du type - "<samp>text/<b>x-ascii-</b><i>sous-type</i></samp>", et ne sera - donc pas converti. A la place, le préfixe - "<samp><b>x-ascii-</b></samp>" était supprimé du - type, obtenant ainsi le type MIME - "<samp>text/<i>sous-type</i></samp>" comme type du document - retourné.</p> - - <p>Si la directive EBCDICKludge est mise à - <samp>On</samp>, et si aucune des extensions de fichiers ne - correspondent aux directives <a - href="#ebcdicconvert">EBCDICConvert</a> définis dans le - contexte , alors le serveur teste avec le type MIME de format - <samp><i>type/</i><b>x-ascii-</b><i>sous-type</i></samp>. Si le - document a un tel type alors la chaîne - "<samp><b>x-ascii-</b></samp>" est supprimée et la - conversion est mise à <samp>Off</samp>. Cela permet de - surcharger l'assertion implicite que tous les fichiers sont - stockés au format EBCDIC, par exemple si Apache sert des - fichiers provenant d'un montage NFS d'un répertoire - contenant des documents ASCII.<br /> - En utilisant EBCDICKludge, Il n'y a aucun moyen de forcer un - des autres types MIME (par exemple model/vrml) d'être - traité au format EBCDIC. L'utilisation de la directive - <a href="#ebcdicconvertbytype">EBCDICConvertByType</a> est - préférable pour définir une telle - conversion. Avant Apache 1.3.19, il n'y avait aucun moyen de - forcer ces document binaires d'être traités comme - des fichiers textes EBCDIC</p> - - <p><strong>Voir également</strong> : <a - href="#ebcdicconvert">EBCDICConvert</a>, <a - href="#ebcdicconvertbytype">EBCDICConvertByType</a> and <a - href="../ebcdic.html#ebcdic">Aperçu des fonctions de - conversion EBCDIC</a></p> - <hr /> - - <h2><a id="errordocument" name="errordocument">Directive - ErrorDocument</a></h2> - <!--%plaintext <?INDEX {\tt ErrorDocument} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ErrorDocument <em>code d'erreur - document</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels, répertoire, - .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Surcharge :</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> Les - contextes répertoire et .htaccess ne sont utilisables - qu'à partir de la version 1.1 d'Apache. - - <p>Dans l'éventualité d'un problème ou - d'une erreur, Apache peut exécuter l'une des quatre - actions suivantes :</p> - - <ol> - <li>sortie d'un message d'erreur simple standard</li> - - <li>sortie d'un message personnalisé</li> - - <li>redirection vers une URL locale pour traiter le - problème (ou l'erreur)</li> - - <li>redirection vers une URL externe pour traiter le - problème (ou l'erreur)</li> - </ol> - - <p>La première option est celle par défaut, les - options 2 à 4 seront obtenues en utilisant la directive - <tt>ErrorDocument</tt>, suivi du code HTTP d'erreur et du - message textuel d'erreur, ou une URL.</p> - - <p><em>Messages</em> dans ce contexte, commence par un - guillemet simple (<code>"</code>), qui ne fait pas partie du - message lui-même. Apache ajoutera souvent des - informations complémentaires explicitant le - problème (ou l'erreur).</p> - - <p>L'URL peut débuter par un slash (/) pour des URL - locales, ou être complètement qualifiées. - Exemples:</p> - - <blockquote> - <code>ErrorDocument 500 - http://foo.example.com/cgi-bin/tester<br /> - ErrorDocument 404 /cgi-bin/bad_urls.pl<br /> - ErrorDocument 401 /subscription_info.html<br /> - ErrorDocument 403 "Sorry can't allow you access today</code> - </blockquote> - - <p>Notez que lorsque vous spécifiez un - <tt>ErrorDocument</tt> qui pointe vers une URL externe (c'est - -à-dire toute adresse commençant par quelque - chose du style "http:") Apache émettra une requête - de redirection au client pour lui indiquer où trouver le - document. Ceci peut perturber les robots et d'autres clients - qui essaient de déterminer si une URL est valide en - testant le code retour de la requête. De plus, si vous - utilisez l'écriture <code>ErrorDocument 401</code> le - client ne saura pas qu'il doit demander un mot de passe - puisqu'il ne recevra pas le code retour 401. Par - conséquent, il est impératif d'utiliser une URL - locale pour une directive "ErrorDocument 401". Ceci est induit - par la nature des schémas d'authentification de base - d'HTTP.</p> - - <p><strong>Voir aussi:</strong> <a - href="../custom-error.html">documentation sur les - réponses personnalisées.</a></p> - <hr /> - - <h2><a id="errorlog" name="errorlog">Directive - ErrorLog</a></h2> - <!--%plaintext <?INDEX {\tt ErrorLog} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ErrorLog <em>nomfichier</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <code>ErrorLog - logs/error_log</code> (Unix)<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <code>ErrorLog - logs/error.log</code> (Windows et OS/2)<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Cette directive définit le nom du fichier dans lequel - le serveur marque la trace des erreurs rencontrées. Si - le nom de fichier ne commence pas par un slash (/), alors la - partie "chemin d'accès" est considérée - relativement à <a href="#serverroot">ServerRoot</a>. - Exemple:</p> - - <blockquote> - <code>ErrorLog /dev/null</code> - </blockquote> - - <p>Cette expression a pour effet de désactiver la trace - d'erreurs.</p> - Si le fichier commence par une barre verticale (|), il est - censé être une commande à exécuter - pour ttraiter le message d'erreur.<br /> - <br /> - - - <p><strong>Apache 1.3 et ultérieur:</strong> en - utilisant <code>syslog</code> à la place d'un fichier - permet d'employer syslogd(8) si le système l'accepte. Le - défau est d'utiliser la fonction syslog - <code>local7</code>, mais vous pouvez remplacer ceci en - utilisant la syntaxe <code>syslog:</code><em>service</em> - où <em>service</em> peut être un des noms - documenté dans syslog(1).</p> - - <p><strong>Sécurité :</strong> Voir la page <a - href="../misc/security_tips.html">note sur la - securité</a> pour plus d'information concernant une - possibilité de brêche de sécurité si - le répertoire d'accueil des fichiers de trace peut - être écrit par tout autre utilisateur que le - propriétaire du processus serveur.</p> - <hr /> - - <h2><a id="files" name="files">Directive <Files></a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <Files <em>nomfichier</em>> ... - </Files><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels, .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - Disponible à partir de la version 1.2 d'Apache. - - <p>La directive <tt><Files></tt> permet une gestion de - contrôle d'accès fichier par fichier. Elle est - comparable aux directives <a - href="#directory"><Directory></a> et <a - href="#location"><Location></a>. Elle doit s'apparier - à une directive <tt></Files></tt>. Les directives - applicables au fichier indiqué sont encapsulées - entre ces deux balises. Les sections <tt><Files></tt> - sont traitées dans l'ordre où elles apparaissent - dans le fichier de configuration, une fois traitées les - sections <tt><Directory></tt> et les fichiers .htaccess, - mais avant les sections <tt><Location></tt>.</p> - - <p>L'argument <em>filename</em> peut inclure un nom de fichier, - où un motif, dans lequel '?' correspond à tout - caractère unique quelconque, et '*' correspond à - une séquence de zéro à un nombre - quelconque de caractères. Les "expressions - régulières" peuvent aussi être - utilisées, pourvu qu'elles soient - précédées du caractère - <code>~</code>. Par exemple :</p> -<pre> - <Files ~"\.(gif|jpe?g|png)$"> -</pre> - - <p>correspondrait à la majorité des fichiers - graphiques utilisés sur Internet. A partir de la version - 1.3 d'Apache, l'usage de la directive <a - href="#filesmatch"><FilesMatch></a> est cependant - préférable.</p> - - <p>Notez que, contrairement aux sections <a - href="#directory"><Directory></a> et <a - href="#location"><Location></a>, les sections - <tt><Files></tt> peuvent apparaître dans des - fichiers <code>.htaccess</code>. Ceci permet aux utilisateurs - de contrôler l'accès à leurs propres - fichiers, sur un mode individuel. Lorsqu'elles sont - utilisées dans un fichier <code>.htaccess</code>, si - <em>nomfichier</em> ne commence pas par un slash (/), le - répertoire courant contenant ledit fichier - <code>.htaccess</code> y sera préfixé - automatiquement.</p> - - <p><strong>Voir aussi :</strong> <a - href="../sections.html">Comment fonctionnent les sections - concernant les répertoires, chemins et fichiers</a> pour - une explication plus précise concernant la - manière dont ces sections sont combinées - lorsqu'une requête est traitée</p> - <hr /> - - <h2><a id="filesmatch" name="filesmatch">Directive - <FilesMatch></a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <FilesMatch <em>regex</em>> ... - </Files><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels, .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - Disponible à partir de la version 1.3 d'Apache. - - <p>La directive <tt><FilesMatch></tt> permet un - contrôle d'accès fichier par fichier, tout comme - la directive <a href="#files"><Files></a>. Cependant, - elle n'accepte qu'un argument sous forme d'expression - régulière. Par exemple :</p> - - <blockquote> - <code><FilesMatch "\.(gif|jpe?g|png)$"></code> - </blockquote> - - <p>qui correspondrait à la plupart des fichiers - graphiques utilisés sur Internet.</p> - - <p><strong>Voir aussi :</strong> <a - href="../sections.html">Comment fonctionnent les sections - concernant les répertoires, chemins et fichiers</a> pour - une explication plus précise concernant la - manière dont ces sections sont combinées - lorsqu'une requête est traitée</p> - <hr /> - - <h2><a id="group" name="group">Directive Group</a></h2> - <!--%plaintext <?INDEX {\tt Group} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> Group <em>groupeUnix</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <code>Group - #-1</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>Group</tt> définit le groupe dont - les requêtes seront traitées par le serveur. Pour - utiliser cette directive, le serveur stand-alone doit tout - d'abord être exécuté par l'utilisateur - "root". <em>groupeUnix</em> est à choisir parmi :</p> - - <dl> - <dt>un nom de groupe</dt> - - <dd>se réfère à un groupe unix par son - nom.</dd> - - <dt># suivi d'unnuméro de groupe.</dt> - - <dd>se réfère à un groupe par son - indice.</dd> - </dl> - - <p>Il est recommendé de créer un nouveau groupe - d'utilisateurs pour les utilisateurs exécutant le - serveur. Certains administrateurs assignent le serveur à - l'utilisateur <code>nobody</code>, mais ceci n'est pas toujours - possible ou souhaîtable.</p> - - <p><strong>Note :</strong> si vous démarrez le serveur - sous un compte utilisateur autre que "root", la commutation sur - un autre groupe échouera, et le groupe utilisé - restera le groupe initial de l'utilisateur.</p> - - <p><strong>Note spéciale :</strong> L'utilisation de - cette directive dans un contexte <tt><VirtualHost></tt> - nécessite un <a href="../suexec.html">suEXEC wrapper</a> - correctement configuré. De cette manière et dans - ce contexte, seul le groupe dans lequel sont - exécutés les CGI sont affectés. Toute - requête autre que CGI sont toujours lancées dans - le groupe défini par la directive Group principale.</p> - - <p><strong>Sécurité :</strong> Voir <a - href="#user">Utilisateur</a> pour une discussion plus - détaillée sur les aspects utilisateurs.</p> - <hr /> - - <h2><a id="hostnamelookups" name="hostnamelookups">Directive - HostNameLookups</a></h2> - <!--%plaintext <?INDEX {\tt HostNameLookups} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> HostNameLookups <em>on | off | double</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>HostNameLookups off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel, répertoire, .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <code>double</code> n'est disponible qu'à partir de la - version 1.3 d'Apache.<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> La - valeur par défaut était <code>on</code> pour - toute version antérieure à la version 1.3 - d'Apache. - - <p>Cette directive autorise la résolution DNS pour la - trace d'accès (et pour les passer aux CGI/SSI en - <code>REMOTE_HOST</code>). La valeur <code>double</code> - signifie une résolution DNS inverse double. - C'est-à-dire, après qu'une résolution - inverse soit effectuée, une résolution est - ensuite effectuée à partir du résultat - obtenu. Au moins une des adresses IP obtenues par la - deuxième résolution doit correspondre à - l'adresse originale. (Dans le langage des "fous de tcp" ceci - s'appelle <code>PARANOID</code>.)</p> - - <p>Indépendamment du mode choisi, lorsque <a - href="mod_access.html">mod_access</a> est utilisé pour - faire du contrôle d'accès par nom d'hôte, - une résolution inverse double sera effectuée. - Ceci est indispensable pour des raisons de - sécurité. Notez que le résultat de cette - résolution inverse double n'est en général - pas accessible sauf si l'option <samp>HostnameLookups - double</samp> est activée. Par exemple, si l'option est - simplement <samp>HostnameLookups on</samp> et une requête - est reçue vers un objet soumis à des restrictions - quant aux noms d'hôtes, et quelque soit le - résultat de la réslution inverse double, les CGI - recevront le résultat de la résolution inverse - dans la variable d'environnement <code>REMOTE_HOST</code>.</p> - - <p>Par défaut, l'état choisi était - <code>on</code> dans les versions d'apache antérieures - à la version 1.3. Elle est aujourd'hui à - <code>off</code> afin de diminuer le trafic pour les sites qui - n'ont pas un besoin absolu de la résolution inverse. - C'est aussi un avantage pour les utilisateurs finaux qui - n'auront pas à attendre la fin du processus de - résolution avant d'être servis. Des sites - chargés devraient plutôt laisser cette opyion - à <code>off</code>, dans la mesure où une - recherche DNS peut consommer un temps non négligeable. - L'utilitaire <code>logresolve</code>, fourni dans le - répertoire <i>/support</i>, peut être - utilisé pour résoudre des noms d'hôtes - à partir des adresses IP tracées en mode - "offline".</p> - <hr /> - - <h2><a id="identitycheck" name="identitycheck">Directive - IdentityCheck</a></h2> - <!--%plaintext <?INDEX {\tt IdentityCheck} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> IdentityCheck <em>booléen</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>IdentityCheck off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel, répertoire, .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Cette directive autorise une trace conforme à la - RFC1413 du nom d'utilisateur pour chaque connexion, lorsque la - machine cliente exécute identd ou un procesus similaire. - Cette information est tracée dans le fichier - <code>access log</code>. <em>booléen</em> vaut soit - <code>on</code> ou <code>off</code>.</p> - - <p>Cette information n'est absolument pas certifiée et - ne peut être considérée que pour une - analyse sommaire.</p> - - <p>Notez que ce fontionnement peut rallonger notablement les - délais d'accès à votre serveur dans la - mesure où chaque requête nécessite - l'exécution d'une résolution. Lorsque des - "firewalls" sont présents chaque résolution peut - éventuellement échouer et ajouter ainsi 30 - secondes d'attente pour chaque accès. En conclusion, - cette option n'est en général pas opportune pour - des serveurs Internet ouverts au public.</p> - <hr /> - - <h2><a id="ifdefine" name="ifdefine"><IfDefine> - directive</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <IfDefine - [!]<em>nom-paramètre</em>> <em>...</em> - </IfDefine><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> aucun<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> tous<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <IfDefine> est disponible à partir de la version - 1.3.1 - - <p>La section <IfDefine - <em>test</em>>...</IfDefine> est employée pour - délimiter des directives conditionnelles. Les directives - à l'intérieur d'un section IfDefine ne sont - prises en compte que si <em>test</em> est vraie. Si - <em>test</em> est faux, tout ce qui se trouve entre le marqueur - de début et celui de fin est ignoré.</p> - - <p>Le <em>test</em> de la section <IfDefine> peut exister - sous deux formes :</p> - - <ul> - <li><em>nom-paramètre</em></li> - - <li><code>!</code><em>nom-paramètre</em></li> - </ul> - - <p>Dans le premier cas, les directives entre les marqueurs de - début et de fin ne sont traité que si le - paramètre nommé <em>nom-paramètre</em> est - défini. Dans le deuxième cas, les directives - entre les marqueurs de début et de fin ne sont - traité que si le paramètre nommé - <em>nom-paramètre</em> n'est <strong>pas</strong> - défini.</p> - - <p>L'argument <em>nom-paramètre</em> est une - définition qui peut être donnée en ligne de - commande d'httpd en utilisant l'option - <code>-D</code><em>nom-paramètre</em>, au lancement du - serveur.</p> - - <p>Les sections <IfDefine> peuvent s'imbriquer, ce qui - permet de réaliser des test sur plusieurs - paramètres. Par exemple :</p> -<pre> - $ httpd -DReverseProxy ... - - # httpd.conf - <IfDefine ReverseProxy> - LoadModule rewrite_module libexec/mod_rewrite.so - LoadModule proxy_module libexec/libproxy.so - </IfDefine> -</pre> - <hr /> - - <h2><a id="ifmodule" name="ifmodule">Directive - <IfModule></a></h2> - <b>Syntaxe :</b> <IfModule [!]<i>nomModule</i>> - <i>...</i> </IfModule><br /> - <b>Défaut :</b> aucun<br /> - <b>Contexte :</b> tous<br /> - <b>Statut :</b> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> IfModule - n'est disponible qu'à partir de la version 1.2 d'Apache. - - - <p>La section <tt><IfModule - <i>test</i>></tt>...</IfModule> permet de rendre - conditionnelles un groupe de directives. Les directives - à l'intérieur d'une section IfModule ne sont - considérées que si le <i>test</i> est - vérifié. Si <i>test</i> vaut faux, toute - directive inclue entre la balise de début et celle de - fin sont ignorées.</p> - - <p>Le <em>test</em> d'une section <tt><IfModule></tt> - peut prendre l'une des formes suivantes :</p> - - <ul> - <li><i>nomModule</i></li> - - <li>!<i>nomModule</i></li> - </ul> - - <p>Dans le premier cas, les directives entre les deux balises - de début et de fin ne sont traitées que si le - module indiqué par <em>nomModule</em> est compilé - dans votre version d'Apache. La seconde forme inverse le sens - du test, et ne traite les directives que si le module - <em>nomModule</em> n'est <b>pas</b> compilé.</p> - - <p>L'argument <em>nomModule</em> spécifie un nom de - module par son nom de fichier source, tel qu'appelé par - la compilation. Par exemple, <code>mod_rewrite.c</code>.</p> - - <p>Les sections <tt><IfModule></tt> peuvent être - imbriquées, ce qui peut être utile pour - implémenter simplement des tests multi-modules.</p> - <hr /> - - <h2><a id="include" name="include">Directive Include</a></h2> - <strong>Syntaxe :</strong> Include <em>nomfichier</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> Include - n'est disponible qu'à partir de la version 1.3 d'Apache. - - - <p>Cette directive permet l'inclusion d'autres fichiers de - configuration à partir d'autres fichiers de - configuration serveur.</p> - - <p>A partir de la version Apache 1.3.13, si - <code>Include</code> pointe vers un répertoire plutot - qu'un fichier, Apche lira tous fichiers de ce - répertoire, ou des sous-répertoires, et traitera - chacun de ces fichiers de configuration.</p> - <hr /> - - <h2><a id="keepalive" name="keepalive">Directive - KeepAlive</a></h2> - <strong>Syntaxe : (Apache 1.1)</strong> KeepAlive - <em>requêtesMax</em><br /> - <strong>Défaut : (Apache 1.1)</strong> <code>KeepAlive - 5</code><br /> - <strong>Syntaxe : (Apache 1.2)</strong> KeepAlive - <em>on/off</em><br /> - <strong>Défaut : (Apache 1.2)</strong> <code>KeepAlive - On</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - KeepAlive est disponible à partir de la version 1.1 - d'Apache. - - <p>L'extension Keep-Alive d'HTTP/1.0 et les connexions - persistantes d'HTTP/1.1 fournissent des sessions durables HTTP - , qui autorisent plusieurs requêtes à être - envoyées sur la même connexion. Dans certains cas, - il a été constaté une réduction de - 50% du temps de latence ppour des documents HTML contenant de - nombreuses images. Pour activer les connexions persistantes - (keep-alive) à partir d'Apache 1.2 il faut - définir la directive <code>KeepAlive On</code>.</p> - - <p>Pour les clients HTTP/1.1, Les connexions persistantes ne - sont employées que si elles sont spécifiquement - demandées par un client. De plus, une connexion - persistantes ne peut être employées que si la - taille du contenu est connu à l'avance. Ceci implique - que les contenus dynamiques, tels que les scripts CGI, les - pages SSI, et les listes de répertoires - générés par le serveur n'utilisent pas de - connexions persistentes pour les clients HTTP/1.0. Pour les - clients HTTP/1.1, les connexions sont persistantes par - défaut à moins d'être - spécifiée. Si le client le demande, l'encodage - par tranches est utilisé afin d'envoyer des contenus de - tailles inconnus au travers de connxions persistantes.</p> - - <p><strong>Sous Apache 1.1</strong>: Mettre - <em>requêtesMax</em> au nombre maximum de requêtes - qu'Apache peut traiter par connexion persistante. Une - limitation est imposée pour éviter qu'un client - ne vienne asphyxier votre serveur en ressources. Mettre un - <code>0</code> pour désactiver ce support. A partir de - la version 1.2, ceci est contrôlé par la directive - MaxKeepAliveRequests</p> - Voir aussi la directive <a - href="#maxkeepaliverequests">MaxKeepAliveRequests</a>.<br /> - <br /> - - <hr /> - - <h2><a id="keepalivetimeout" name="keepalivetimeout">Directive - KeepAliveTimeout</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> KeepAliveTimeout <em>secondes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>KeepAliveTimeout 15</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <tt>KeepAliveTimeout</tt> est disponible à partir de la - version 1.1 d'Apache. - - <p>Le nombre de secondes pendant lesquelles Apache attendra une - requête postérieure avant de rompre une connexion. - Dès qu'une requête est reçue, la valeur de - la temporisation spécifiée par la directive <a - href="#timeout">Timeout</a> s'applique.</p> - - <p>Mettre <code>KeepAliveTimeout</code> à une grande - valeur peut créer des problèmes de performance - pour des serveurs chargés. Le plus grand est ce - délai, le plus les processus du serveur seront - occupés en attente de connexions avec des clients - inactifs.</p> - <hr /> - - <h2><a id="limit" name="limit">Directive <Limit></a></h2> - <!--%plaintext <?INDEX {\tt Limit} section directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <Limit <em>méthode méthode</em> - ... > ... </Limit><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> tous<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Les contrôles d'accès sont normalement actives - pour <strong>toutes</strong> les méthodes - d'accès, et ceci est le comportement normal. <strong>En - général, les directives de contrôle - d'accès ne doivent être placées à - l'intérieur d'une section - <code><limit></code>.</strong></p> - - <p>Le but de la directive <Limit> est de restreindre la - portée des contrôles d'accès à - certaines méthodes HTTP. Pour toutes les autres - méthodes, les restrictions d'accès qui sont - situées à l'intérieur de <Limit> - <strong>sont sans effets</strong>. L'exemple suivant applique - le contrôle d'accès uniquement aux méthodes - POST, PUT, and DELETE, laissant les autres méthodes non - protégées :</p> - - <blockquote> - <code><Limit POST PUT DELETE><br /> - Require valid-user<br /> - </Limit></code> - </blockquote> - Les noms de méthodes peuvent être choisis parmi - GET, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH, - PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, et UNLOCK. - <strong>Le nom de la méthode est sensible à la - casse.</strong> Si GET est employé, il restreindra - également les requêtes HEAD. - <hr /> - - <h2><a id="limitexcept" name="limitexcept">Directive - <LimitExcept></a></h2> - <!--%plaintext <?INDEX {\tt LimitExcept} section directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <LimitExcept <em>méthode</em> - [<em>méthode</em>] ... > ... - </LimitExcept><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> tous<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - disponible à partir de la version 1.3.5 d'Apache. - - <p><LimitExcept> et </LimitExcept> sont - employés pour entourer un groupe de directives de - contrôle d'accès qui s'appliqueront pour n'importe - quelle méthode d'accès ne se trouvant - <strong>pas</strong> en arguments Cette directive est - l'oppsée de <a href="#limit"><Limit></a> et peut - être employée pour contrôler les - méthodes non reconnues ou non standard. Voir la - documentation de <a href="#limit"><Limit></a> pour plus - de détails.</p> - <hr /> - - <h2><a id="limitrequestbody" name="limitrequestbody">Directive - LimitRequestBody</a></h2> - <!--%plaintext <?INDEX {\tt LimitRequestBody} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> LimitRequestBody <em>octets</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>LimitRequestBody 0</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel, répertoire .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - LimitRequestBody est disponible à partir de la version - 1.3.2. - - <p>Cette directive détermine la taille maximale en - octets que peut avoir le corps d'une requête. Elle peut - aller de 0 (illimité) à 2147483647 (2GB). La - valeur par défaut est déterminée à - la compilation par la constante - <code>DEFAULT_LIMIT_REQUEST_BODY</code> (0 dans les - distributions).</p> - - <p>La directive LimitRequestBody directive permet à - l'utilisateur de fixer une limite à la taille du corps - d'une requête à l'intérieur du contexte - où cette directive est située (serveur, par - répertoire, par fichier). Si le client effezctue une - requête excédant cette limite, le serveur - retournera un message d'erreur au lieu de traiter la - requête. La taille d'une requête normale peut - beaucoup varier en fonction de la nature de la ressource - demandée et des méthodes d'accès permise - sur cette ressource. Typiquement les scripts CGI utilise le - corps du message pour passer des informations au serveur. Des - implémentation de la méthode PUT nécessite - une valeur au moins aussi grande que le serveur souhaite - recevoir pour cette ressource.</p> - - <p>Cette directive donne à l'administrateur un plus - grand contrôle par rapport à des requêtes - anormales de clients, et peut être utile pour - éviter certaines formes d'attaques par déni de - service.</p> - <hr /> - - <h2><a id="limitrequestfields" - name="limitrequestfields">Directive LimitRequestFields</a></h2> - <!--%plaintext <?INDEX {\tt LimitRequestFields} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> LimitRequestFields <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>LimitRequestFields 100</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - LimitRequestFields est disponible à partir de la version - 1.3.2. - - <p><em>Number</em> est un entier allant de 0 (signifiant sans - limite) à 32767. La valeur par défaut est - définie à la compilation par la constante - <code>DEFAULT_LIMIT_REQUEST_FIELDS</code> (100 dans la - distribution).</p> - - <p>La directive LimitRequestFields permet à - l'administrateur du serveur de modifier le nombre maximum de - champs autorisé à l'intérieur de - l'en-tête d'une requête HTTP. Un serveur doit avoir - cette valeur supérieure au nombre de champs qu'un client - normal peut inclure. Le nombre de champs utilisé par un - client excède rarement 20, mais ceci peut varier en - fonction de l'implémentation des clients, le plus - souvent il dépend du niveau auquel le client a - configuré son butineur pour accepter une - négociation de contenu très fine. Les extensions - HTTP optionnelles sont exprimées en utilisant des champs - dans l'en-tête de requête.</p> - - <p>Cette directive permet à l'administrateur un meilleur - contrôle par rapport à des requêtes - anormales, ce qui peut être utile pour éviter - certaines attaques par déni de service. Cette valeur - doit être augmentée si certains clients obtiennent - un message d'erreur à leurs requêtes indiquant que - trop de champs sont envoyés dans la requête.</p> - <hr /> - - <h2><a id="limitrequestfieldsize" - name="limitrequestfieldsize">Directive - LimitRequestFieldsize</a></h2> - <!--%plaintext <?INDEX {\tt LimitRequestFieldsize} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> LimitRequestFieldsize <em>octets</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>LimitRequestFieldsize 8190</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - LimitRequestFieldsize est disponible à partir de la - version 1.3.2. - - <p>Cette directive indique la taille maximale de - l'en-tête d'une requête HTTP et peut aller de 0 - <em>octets</em> à la valeur définit à la - compilation par la constante - <code>DEFAULT_LIMIT_REQUEST_FIELDSIZE</code> (8190 dans la - distribution standard).</p> - - <p>La directive LimitRequestFieldsize permet à - l'administrateur de limiter la taille autorisée pour le - champ d'en-tête HTTP d'une requête à une - valeur inférieure à celle définie à - la compilation. Un serveur doit avoir cette valeur suffisamment - grande pour pouvoir traiter les requêtes de clients - normaux. La taille d'une requête noramle peut beaucoup - varier en fonction de l'implémentation du client, le - plus souvent il dépend du niveau auquel le client a - configuré son butineur pour accepter une - négociation de contenu très fine.</p> - - <p>Cette directive permet l'administrateur d'avoir un meilleur - contrôle sur des requêtes ayant un comportement - anormale, ce qui peut être utile afin d'éviter - certaines formes d'attaques par déni de service. Dans - des conditions normales, cette valeur doit rester celle par - défaut.</p> - <hr /> - - <h2><a id="limitrequestline" name="limitrequestline">Directive - LimitRequestLine</a></h2> - <!--%plaintext <?INDEX {\tt LimitRequestLine} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> LimitRequestLine <em>octets</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>LimitRequestLine 8190</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - LimitRequestLine est disponible à partir de la version - 1.3.2. - - <p>Cette directive indique la taille maximale d'une - requête HTTP et peut aller de 0 <em>octets</em> à - la valeur définit à la compilation par la - constante <code>DEFAULT_LIMIT_REQUEST_LINE</code> (8190 dans la - distribution standard).</p> - - <p>La directive LimitRequestLine permet à - l'administrateur de réduire la limite fixée pour - une requête HTTP en dessous de la valeur fixée - à la compilation. Comme une requête est - composée de la méthode HTTP, d'une URI et de la - version du protocole utilisé, la directive - LimitRequestLine place une restriction sur la taille maximale - que peut avoir une URI dansune requête. Un serveur doit - avoir cette valeur suffisamment grande pour pouvoir traiter - n'importe quelle de ses ressources, en prenant en compte les - informations qui pourrait être passées dans une - requête GET.</p> - - <p>Cette directive permet l'administrateur d'avoir un meilleur - contrôle sur des requêtes ayant un comportement - anormale, ce qui peut être utile afin d'éviter - certaines formes d'attaques par déni de service. Dans - des conditions normales, cette valeur doit rester celle par - défaut.</p> - <hr /> - - <h2><a id="listen" name="listen">Directive Listen</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> Listen - [<em>adresseIp</em>:]<em>numéroPort</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> Listen - est disponible à partir de la version 1.1 d'Apache. - - <p>La directive <tt>Listen</tt> enjoint Apache à - écouter plus d'une adresse IP ou port; par défaut - Apache répond aux requêtes reçues sur - toutes les interfaces IP, mais seulement celles arrivant sur le - port donné par la directive <a - href="#port">Port</a>.</p> - <tt>Listen</tt> peut être utilisée à la - place de <tt><a href="#bindaddress">BindAddress</a></tt> et - <tt>Port</tt>. Elle indique au serveur d'accepter des - requêtes entrantes sur le port spécifié ou - sur une combinaison adresse-port. Si le premier format est - utilisé (avec seule mention d'un numéro de port), - le serveur "écoutera" tous les ports - spécifiés sur chacune des interfaces IP qu'il - connaît, plutôt que sur le port donné par la - directive <tt>Port</tt>. Si une adresse IP adresse IP est - précisée en complément, le serveur - restreindra son écoute à la combinaison - adresse-port précisée.<br /> - <br /> - - - <p>Notez que vous avez toujours besoin de la directive - <tt>Port</tt> qui permettent à Apache de - générer les URL de retour vers votre serveur.</p> - - <p>Plusieurs directives <tt>Listen</tt> peuvent être - utilisées pour spécifier un ensemble d'adresses - et de ports à écouter. Le serveur répondra - aux requêtes reçues sur n'importe laquelle des - combinaisons adresse-port ainsi spécifiée.</p> - - <p>Par exemple, pour autoriser le serveur à accepter des - connexions sur les ports 80 et 8000, écrire :</p> - - <blockquote> -<pre> -<code>Listen 80 -Listen 8000 -</code> -</pre> - </blockquote> - - <p>Pour autoriser un serveur à accepter des connexions - sur deux "sockets" qualifiés, écrire :</p> -<pre> -Listen 192.170.2.1:80 -Listen 192.170.2.5:8000 -</pre> - - <p><strong>Voir aussi:</strong> <a - href="../dns-caveats.html">Apache et DNS</a><br /> - <strong>Voir aussi:</strong> <a href="../bind.html">Configurer - les ports et adresses utilisée par Apache</a><br /> - <strong>Voir aussi :</strong> <a - href="http://httpd.apache.org/info/known_bugs.html#listenbug">Bogues - connus</a></p> - <hr /> - - <h2><a id="listenbacklog" name="listenbacklog">Directive - ListenBacklog</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ListenBacklog <em>backlog</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ListenBacklog 511</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <tt>ListenBacklog</tt> n'est disponible qu'à partir de - la version 1.2.0 d'Apache. - - <p>La longueur maximale de la file d'attente des connexions en - attente. En général, aucun ajustement n'est - nécessaire, cependant, il est souhaitable sur certains - systèmes d'augmenter cette longueur de file pour - répondre à des attaques TCP SYN. Voir les - paramètres backlog dans l'appel système - <code>listen(2)</code>.</p> - - <p>Cette directive est limitée à un petit nombre - par le système d'exploitation. Elle peut varier d'un - système à un autre. Il faut également - noter que pour la plupart des systèmes, la valeur - réellement utilisée n'est pas celle - spécifiée par la directive, mais un nombre - basé sur cette valeur (généralement plus - grande).</p> - <hr /> - - <h2><a id="location" name="location">Directive - <Location></a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <Location <em>URL</em>> ... - </Location><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <tt>Location</tt> est disponible à partir des versions - 1.1 d'Apache. - - <p>La directive <tt><Location></tt> permet d'instaurer un - contrôle d'accès sur une base URL. Elle est - comparable à la directive <a - href="#directory"><Directory></a>, et doit s'apparier - à une directive <tt></Location></tt>. Les - directives s'appliquant à l'URL précisée - seront à inclure entre ces deux balises. Les sections - <tt><Location></tt> sont traitées dans l'ordre - où elles apparaissent dans le fichier de configuration, - une fois les sections <tt><Directory></tt> et les - fichiers <code>.htaccess</code> traités.</p> - - <p>Il faut noter que les URL n'ont pas du tout à suivre - la même organisation que le système de fichiers, - et il faut souligner que la directive <Location> - opère de manière totalement indépendante - du système de fichiers.</p> - - <p>Le <em>préfixe d'URL</em> devra, sauf pour des - requêtes à un proxy, être de la forme - <code>/chemin/</code>, et ne devra pas inclure de mention - <code>http://nomserveur</code>. Elle ne protège pas - nécessairement un répertoire (cela peut - être un fichier individuel, ou un ensemble de fichiers), - et peut inclure des métacaractères. Dans un motif - (avec des métacaractères), '?' remplace un - caractère quelconque, et '*' remplace toute chaîne - quelconque de 0 ou plus caractères. POur les - requêtes à un proxy, l'URL doitt être de la - forme <code>scheme://nomserveur/serveur</code>, et vous devez - inclure le préfixe.</p> - - <p><strong>Apache 1.2 et plus :</strong> Des expression - régulières peuvent être utilisées, - à condition de les faire précéder du - caractère <code>~</code>. Par exemple :</p> - - <blockquote> - <code><Location ~ "/(extra|special)/data"></code> - </blockquote> - - <p>correspondrait à des URL contenant la - sous-chaîne "/extra/data" ou "/special/data". Cependant, - sous Apache 1.3, l'utilisation de la directive <a - href="#locationmatch"><LocationMatch></a> est - conseillée.</p> - - <p>La fonctionnalité <tt>Location</tt> est - particulièrement pratique lorsque combinée - à la directive <a - href="mod_mime.html#sethandler">SetHandler</a>. Par exemple, - pour permettre des requêtes sur les rapports - d'état, mais ne les autoriser que pour des agents - requérant à partir du domaine foo.com, vous - pourriez écrire :</p> - - <blockquote> -<pre> -<code><Location /status> -SetHandler server-status -order deny,allow -deny from all -allow from .foo.com -</Location> -</code> -</pre> - </blockquote> - - <p><strong>Note sur / (barre oblique) pour les version - supérieures à 1.3</strong>: La caractère - barre oblique à une signification particulière en - fonction de l'endroit où il se situe. Des personnes sont - habitués au comportement dans certains systèmes - de fichiers où de multiples caractères obliques - sont remplacés par un caractère unique (par - exemple <code>/home///foo</code> est identique à - <code>/home/foo</code>). Dans le monde des URL ceci n'est pas - obligatoirement vrai. La directive - <code><LocationMatch></code> et la version avec - expression régulière de - <code><Location></code> demande de spécifier - plusieurs caractères obliques si ceci est votre - intention. Par exemple, <code><LocationMatch - ^/abc></code> fonctionnera avec l'URL <code>/abc</code> mais - pas avec l'URL <code>//abc</code>. La directive (sans - expression régulière) - <code><Location></code> se comporte de manière - similaire quand elle est employée pour des - requêtes proxy. Mais si la directive (sans expression - régulière) <code><Location></code> est - utilisée pour des requêtes sans proxy, il - associera implicitement plusieurs obliques à un seul. - Par exemple, si vous spécifiez <code><Location - /abc/def></code> et que la requête est - <code>/abc//def</code> celle ci correspondra.</p> - - <p><strong>Voir aussi</strong>: <a - href="../sections.html">Comment fonctionnent les sections - concernant les répertoires, chemins et fichiers</a> pour - une explication plus précise concernant la - manière dont ces sections sont combinées - lorsqu'une requête est traitée.</p> - <hr /> - - <h2><a id="locationmatch" name="locationmatch">Directive - <LocationMatch></a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <LocationMatch <em>regex</em>> ... - </LocationMatch><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> Location - est disponible à partir de la version 1.3 d'Apache. - - <p>La directive <tt><LocationMatch></tt> permet - l'établissement d'un contrôle d'accès sur - une base URL, d'une façon identique à la - directive <a href="#location"><Location></a>. Cependant, - elle n'accepte qu'une expression régulière comme - argument. Par exemple :</p> - - <blockquote> - <code><LocationMatch "/(extra|special)/data"></code> - </blockquote> - représente des URL contenant l'une des - sous-chaînes "/extra/data" ou "/special/data". <br /> - <br /> - <strong>Voir aussi</strong> : <a - href="../sections.html">Comment fonctionnent les sections - concernant les répertoires, chemins et fichiers</a> pour - une explication plus précise concernant la - manière dont ces sections sont combinées - lorsqu'une requête est traitée. - <hr /> - - <h2><a id="lockfile" name="lockfile">Directive - LockFile</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> LockFile <em>nomfichier</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <code>LockFile - logs/accept.lock</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>LockFile</tt> indique le chemin - d'accès du fichier de verrouillage utilisé - lorsqu'Apache est compilé en mode - <code>USE_FCNTL_SERIALIZED_ACCEPT</code> ou - <code>USE_FLOCK_SERIALIZED_ACCEPT</code>. Ce paramètre - sera laissé généralement dans son - état par défaut. La raison principale qui - conduirait à modifier ce paramètre serait le fait - que le répertoire des traces (<code>logs</code>) soit - monté sous NFS, le fichier de verrouillage devant de - préférence être situé sur un disque - local à la machine serveur pour autant que possible. Le - PID du processus serveur principal est automatiquement - rajouté au nom de fichier.</p> - - <p><strong>SECURITE :</strong> il vaut mieux éviter de - metttre ce fichier dans un répertoire inscriptible par - tout le monde tel que <code>/var/tmp</code> cas quelqu'un - pourrait créer une attaque par déni de service et - empécher le serveur de redémarrer en - créant un fichier de verrouillage de même nom que - celui que veut créer le serveur.</p> - <hr /> - - <h2><a id="loglevel" name="loglevel">Directive - LogLevel</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> LogLevel <em>niveau</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <code>LogLevel - error</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôtes virtuels<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> LogLevel - est disponible à partir de la version 1.3. - - <p>LogLevel ajuste le niveau de verbosité des messages - inscrits dans les traces d'erreur (voir la directive <a - href="#errorlog">ErrorLog</a>). Les niveaux possibles sont par - ordre de gravité décroissante :</p> - - <table> - <tr> - <th align="LEFT"><strong>Niveau</strong> </th> - - <th align="LEFT"><strong>Description</strong> </th> - </tr> - - <tr> - <th> - </th> - - <th align="LEFT"><strong>Exemple</strong> </th> - </tr> - - <tr> - <td><code>emerg</code> </td> - - <td>Urgences - le système est inutilisable.</td> - </tr> - - <tr> - <td> - </td> - - <td>"Child cannot open lock file. Exiting"</td> - </tr> - - <tr> - <td><code>alert</code> </td> - - <td>Une action doit être prise - immédiatement.</td> - </tr> - - <tr> - <td> - </td> - - <td>"getpwuid: couldn't determine user name from uid"</td> - </tr> - - <tr> - <td><code>crit</code> </td> - - <td>Conditions critiques.</td> - </tr> - - <tr> - <td> - </td> - - <td>"socket: Failed to get a socket, exiting child"</td> - </tr> - - <tr> - <td><code>error</code> </td> - - <td>Cas d'erreur.</td> - </tr> - - <tr> - <td> - </td> - - <td>"Premature end of script headers"</td> - </tr> - - <tr> - <td><code>warn</code> </td> - - <td>Avertissements.</td> - </tr> - - <tr> - <td> - </td> - - <td>"child process 1234 did not exit, sending another - SIGHUP"</td> - </tr> - - <tr> - <td><code>notice</code> </td> - - <td>Normal mais condition significative.</td> - </tr> - - <tr> - <td> - </td> - - <td>"httpd: caught SIGBUS, attempting to dump core in - ..."</td> - </tr> - - <tr> - <td><code>info</code> </td> - - <td>Pour information.</td> - </tr> - - <tr> - <td> - </td> - - <td>"Server seems busy, (you may need to increase - StartServers, or Min/MaxSpareServers)..."</td> - </tr> - - <tr> - <td><code>debug</code> </td> - - <td>Messages de déboguage</td> - </tr> - - <tr> - <td> - </td> - - <td>"Opening config file ..."</td> - </tr> - </table> - - <p>Quand un niveau est spécifié, les messages des - niveaux de plus haute gravité seront également - rapportés. Par exemple, quand la directive - <code>LogLevel info</code> est définie, les messages de - niveau <code>notice</code> et <code>warn</code> seront aussi - notifiés.</p> - - <p>L'utilisation d'un niveau de gravité d'au moins - <code>crit</code> est recommandé.</p> - <hr /> - - <h2><a id="maxclients" name="maxclients">Directive - MaxClients</a></h2> - <!--%plaintext <?INDEX {\tt MaxClients} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> MaxClients <em>nombre</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>MaxClients 256</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>MaxClients</tt> indique le nombre limite de - requêtes simultanées pouvant être - acceptées par le serveur ; il représente le - nombre maximum de processus serveur fils qui peuvent tourner - à un instant donné. Pour configurer plus de 256 - clients, vous devez modifier la constante HARD_SERVER_LIMIT du - fichier source d'Apache httpd.h et recompiler Apache.</p> - - <p>Les tentatives de connexions au delà de MaxClients - sont normalement mises en attente, jusqu'à une limite - fixée par la directive <a - href="#listenbacklog">ListenBacklog</a>. Une fois qu'un - processus fils est libre à la fin d'une requête - différente, la connexion en attente est - traitée.</p> - <hr /> - - <h2><a id="maxkeepaliverequests" - name="maxkeepaliverequests">Directive - MaxKeepAliveRequests</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> MaxKeepAliveRequests <em>nombre</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>MaxKeepAliveRequests 100</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - Uniquement à partir de la version 1.2 d'Apache. - - <p>La directive <tt>MaxKeepAliveRequests</tt> limite le nombre - de requêtes permises pour une connexion unique lorsque la - directive <a href="#keepalive">KeepAlive</a> est - activée. Si <em>nombre</em> vaut "<code>0</code>", - chaque connexion peut admettre un nombre illimité de - requêtes. Nous recommendons que ce paramètre soit - réglé sur une valeur relativement haute pour - obtenir des performances optimales du serveur. Dans la version - 1.1 d'Apache, ceci est contrôlé par la directive - Keepalive</p> - <hr /> - - <h2><a id="maxrequestsperchild" - name="maxrequestsperchild">Directive - MaxRequestsPerChild</a></h2> - <!--%plaintext <?INDEX {\tt MaxRequestsPerChild} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> MaxRequestsPerChild <em>nombre</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>MaxRequestsPerChild 0</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>MaxRequestsPerChild</tt> indique le nombre - limite de requêtes qu'un processus serveur fils peut - traîter. Après <tt>MaxRequestsPerChild</tt> - requêtes, ce processus fils meurt. Si ce paramètre - est fixé à 0, alors les processus fils ne meurent - jamais.</p> - - <p>Le fait de mettre <tt>MaxRequestsPerChild</tt> à une - valeur non nulle a deux conséquences - bénéfiques :</p> - - <ul> - <li>cela limite le volume de mémoire qu'un processus - peut consommer (accidentellement) et évite une - saturation mémoire ;</li> - - <li>en donnant à un processus un temps de vie fini, le - nombre total de processus impliqués dans le serveur - décroit lorsque la charge du serveur retombe.</li> - </ul> - - <p>Cependant sur les systèmes Win32, il est - recommandé de mettre cette valeur à 0. Si celle - ci est à une valeur non nulle, quand le nombre de - requêtes est atteint, le processus fils quitte, et est - relancé en relisant les fichiers de configuration. Ceci - peut conduire à un comportement imprévisible si - vous avez modifié un fichier de configuration, mais ne - souhaitez pas que ces changements soient pris en compte. Voir - également <a - href="#threadsperchild">ThreadsPerChild</a>.</p> - - <p><strong>NOTE:</strong> pour les requêtes - <em>KeepAlive</em> requests, seule la première - requête est comptée. En réalité, il - change le comportement afin de limiter le nombre de - <em>connexions</em> par fils.</p> - <hr /> - - <h2><a id="maxspareservers" name="maxspareservers">Directive - MaxSpareServers</a></h2> - <!--%plaintext <?INDEX {\tt MaxSpareServers} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> MaxSpareServers <em>nombre</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>MaxSpareServers 10</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>MaxSpareServers</tt> indique le nombre - maximal de processus fils en <em>attente</em>. Un processus en - attente est un processus qui existe, mais qui ne traite pas de - requête. S'il existe plus de <tt>MaxSpareServers</tt> de - ces processus, alors le père viendra tuer les processus - en supplémentaires.</p> - - <p>L'activation de cette fonctionnalité ne devrait - être nécessaire que sur les site vraiment - très chargés. Régler ce paramètre - sur une grande valeur est de toutes façon toujours une - mauvaise idée.</p> - - <p>Cette directive n'a aucun effet quand elle est - employée sur les plates-formes WIndows.</p> - - <p>Voir aussi <a href="#minspareservers">MinSpareServers</a> et - <a href="#startservers">StartServers</a>.</p> - <hr /> - - <h2><a id="minspareservers" name="minspareservers">Directive - MinSpareServers</a></h2> - <!--%plaintext <?INDEX {\tt MinSpareServers} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> MinSpareServers <em>nombre</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>MinSpareServers 5</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>MinSpareServers</tt> indique le nombre - minimum de processus fils en <em>attente</em> qu'un serveur - pourra conserver. S'il existe moins de <tt>MinSpareServers</tt> - processus serveurs fils en attente, le processus père - recréera des processus fils au rythme de 1 par - seconde.</p> - - <p>L'activation de cette fonctionnalité ne devrait - être nécessaire que sur des sites très - chargés. Régler ce paramètre sur une - grande valeur est de toutes façons toujours une mauvaise - idée.</p> - - <p>Cette directive n'a aucun effet quand elle est - employée sur les plates-formes WIndows.</p> - - <p>Voir aussi <a href="#maxspareservers">MaxSpareServers</a> et - <a href="#startservers">StartServers</a>.</p> - <hr /> - - <h2><a id="namevirtualhost" name="namevirtualhost">Directive - NameVirtualHost</a></h2> - <!--%plaintext <?INDEX {\tt NameVirtualHost} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> NameVirtualHost - <em>addr</em>[:<em>port</em>]<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <tt>NameVirtualHost</tt> n'est disponible qu'à partir de - la version 1.3 d'Apache. - - <p>La directive <tt>NameVirtualHost</tt> est nécessaire - si vous souhaitez configurer <a href="../vhosts/index.html">des - hôtes virtuels nommés</a>.</p> - - <p>Bien que <em>addr</em> puisse être exprimée - comme un nom d'hôte, il est recommandé d'utiliser - une adresse IP, exemple :</p> - - <blockquote> - <code>NameVirtualHost 111.22.33.44</code> - </blockquote> - - <p>Avec cette directive <tt>NameVirtualHost</tt>, l'adresse - nommée par le nom de votre hôte virtuel se - résout. Si vous exploitez plusieurs hôtes - nommés sur des adresses multiples, répétez - cette directive autant de fois que nécessaire (pour - chaque adresse).</p> - - <p>Note: le "serveur principal" et tous les serveurs "par - défaut" ne seront <strong>jamais</strong> servis pour - une requête vers une adresse IP NameVirtualHost (à - moins que pour une raison donnée vous définissiez - NameVirtualHost mais qu'aucun VirtualHosts ne soit - défini pour cette adresse).</p> - - <p>En option, vous pouvez préciser un numéro de - port sur lequel l'hôte virtuel nommé sera atteint, - par exemple :</p> - - <blockquote> - <code>NameVirtualHost 111.22.33.44:8080</code> - </blockquote> - A partir de la version 1.3.13, vous pouvez donner comme adresse - <code>*</code> Ceci crée un NameVirtualHost qui - correspond à toutes les connexions venant de toutes les - adresses IP qui ne sont pas configurés avec une autre - directive NameVirtualHost ou un section <a - href="#virtualhost"><VirtualHost></a>. Cette option est - pratique si vous n'utilisez que des hôtes virtuels - nommés et que vous ne souhaitez pas coder en dur - l'adresse IP de votre machine dans le fichier de - configuration.<br /> - <br /> - <strong>Voir aussi :</strong> <a href="../vhosts/">Hôtes - virtuels sur Apache</a> - <hr /> - - <h2><a id="options" name="options">Directive Options</a></h2> - <!--%plaintext <?INDEX {\tt Options} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> Options <em>[+|-]option [+|-]option - ...</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel, répertoire, .htaccess<br /> - <strong>Surcharge:</strong> Options<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>Options</tt> contrôle quelles - fonctions du serveur sont disponibles dans un répertoire - particulier.</p> - - <p><em>option</em> peut valoir <code>None</code>, auquel cas - aucune fonction supplémentaire n'est disponible, ou une - ou plus des possibilités suivantes :</p> - - <dl> - <dt>All</dt> - - <dd>toutes options sauf MultiViews.</dd> - - <dt>ExecCGI</dt> - - <dd><!--%plaintext <?INDEX {\tt ExecCGI} option> --> - L'exécution des scripts CGI est autorisée.</dd> - - <dt>FollowSymLinks</dt> - - <dd> - <!--%plaintext <?INDEX {\tt FollowSymLinks} option> --> - Le serveur est autorisé à suivre les liens - symboliques dans ce répertoire. - - <p><strong>Note</strong>: même si le serveur suit le - lien symbolique, il <b>ne</b> doit <b>pas</b> changer le - chemin d'accès afin de ne pas entrer en - contradiction avec les sections - <tt><Directory></tt>.</p> - </dd> - - <dt>Includes</dt> - - <dd><!--%plaintext <?INDEX {\tt Includes} option> --> - Les inclusions par Server-Side-Include sont permises.</dd> - - <dt>IncludesNOEXEC</dt> - - <dd> - <!--%plaintext <?INDEX {\tt IncludesNOEXEC} option> --> - Les SSI sont autorisés, mais pas la commande #exec ni - <code>#include</code> des scripts CGI.</dd> - - <dt>Indexes</dt> - - <dd><!--%plaintext <?INDEX {\tt Indexes} option> --> - Si une URL requise pointe sur un répertoire, et aucun - fichier défini par <tt>DirectoryIndex</tt> (ex. - index.html) n'existe dans ce répertoire, alors le - serveur retourne une liste formatée du contenu du - répertoire.</dd> - - <dt>MultiViews</dt> - - <dd><!--%plaintext <?INDEX {\tt MultiViews} option> --> - <a href="../content-negotiation.html">Un contenu - négocié</a> en <code>MultiViews</code> est - permis.</dd> - - <dt>SymLinksIfOwnerMatch</dt> - - <dd> - <!--%plaintext <?INDEX {\tt SymLinksIfOwnerMatch} option> --> - Le serveur ne suivra les liens symboliques uniquement si le - fichier visé ou le répertoire visé - appartiennent au même utilisateur que le lien - lui-même.</dd> - </dl> - - <p>Normalement, si plusieurs options <code>Options</code> - peuvent être appliquées à un - répertoire, alors la plus restrictive est - appliquée ; les options ne sont pas combinées. - Cependant, si <i>all</i> les options dans la directive - <code>Options</code> sontprécédées d'un - symbole + ou -, alors les options sont alors combinées - entre elles. Toute option précédée d'un + - est ajoutée aux options en cours, toute option - précédée d'un - est - désactivée.</p> - - <p>Par exemple, sans symboles + ni - :</p> - - <blockquote> -<pre> -<code><Directory /web/docs> -Options Indexes FollowSymLinks -</Directory> -<Directory /web/docs/spec> -Options Includes -</Directory> -</code> -</pre> - </blockquote> - - <p>seul <code>Includes</code> sera activé pour le - répertoire <code>/web/docs/spec</code>. Cependant, si la - seconde directive d'<code>Options</code> utilise les symboles + - et - :</p> - - <blockquote> -<pre> -<code><Directory /web/docs> -Options Indexes FollowSymLinks -</Directory> -<Directory /web/docs/spec> -Options +Includes -Indexes -</Directory> -</code> -</pre> - </blockquote> - - <p>alors les options <code>FollowSymLinks</code> et - <code>Includes</code> sont validées pour le - répertoire <code>/web/docs/spec</code>.</p> - <hr /> - - <h2><a id="pidfile" name="pidfile">Directive PidFile</a></h2> - <!--%plaintext <?INDEX {\tt PidFile} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> PidFile <em>filename</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <code>PidFile - logs/httpd.pid</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>PidFile</tt> définit le fichier dans - lequel le serveur enregistre l'identificateur de processus du - démon. Si le nom de fichier ne commence pas par un slash - (/) alors le fichier est défini relativement au <a - href="#serverroot">ServerRoot</a>. Le fichier <tt>PidFile</tt> - n'est utilisé que dans le mode <a - href="#servertype">standalone</a>.</p> - - <p>Il est souvent utile de pouvoir envoyer un signal au - serveur, pour qu'il referme et réouvre ses fichiers <a - href="#errorlog">ErrorLog</a> et <tt>TransferLog</tt>, et - relise ses fichiers de configuration. Ceci peut être fait - en envoyant un signal SIGHUP (kill -1) au processus - identifié par l'identificateur de processus - marqué dans <tt>PidFile</tt>.</p> - - <p>Le fichier <tt>PidFile</tt> est concerné par les - mêmes problèmes d'emplacement et de <a - href="../misc/security_tips.html">securité</a> que les - fichiers de trace.</p> - <hr /> - - <h2><a id="port" name="port">Directive Port</a></h2> - <!--%plaintext <?INDEX {\tt Port} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> Port <em>numéro</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <code>Port - 80</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p><em>numéro</em> est un nombre compris entre 0 et - 65535; certains numéros de ports (surtout en dessous de - 1024) sont réservés pour des protocoles - spécifiques. Une liste des ports - prédéfinis est consultable dans la RFC 1340 - "Assigned Numbers" <code>/etc/services</code>; le port standard - assigné au protocole http est le port 80.</p> - - <p>La directive <tt>Port</tt> a deux comportements, le premier - est nécessaire pour assurer la compatibilité NCSA - (et qui peut préter à confusion dans le contexte - d'Apache).</p> - - <ul> - <li>En absence de toute directive <a - href="#listen">Listen</a> ou <a - href="#bindaddress">BindAddress</a> spécifiant un - numéro de port, la directive <tt>Port</tt> - définit le port réseau que le serveur - écoute. S'il existe une directive <tt>Listen</tt> ou - <tt>BindAddress</tt> spécifiant un - <code>:numéro</code> alors la directive Port n'a aucun - effet quant au socket que le serveur écoute.</li> - - <li>La directive Port définit la variable - d'environnement <code>SERVER_PORT</code> (pour les <a - href="mod_cgi.html">CGI</a> et les <a - href="mod_include.html">SSI</a>), laquelle est - utilisée lorsque le serveur génère une - URL qui point sur lui-même (par exemple lorsqu'il - indique une indirection externe vers lui-même).</li> - </ul> - - <p>Dans aucun cas une définition du <tt>Port</tt> ne - définit à quel port un <a - href="#virtualhost">VirtualHost</a> répond, la directive - <tt>VirtualHost</tt> elle-même se chargeant de cette - définition.</p> - - <p>Le comportement premier de la directive <tt>Port</tt> doit - être considéré comme similaire à - celui de la directive <a href="#servername">ServerName</a>. - <tt>ServerName</tt> et <tt>Port</tt> spécifient - conjointement ce que vous considérez être - l'adresse <em>canonique</em> du serveur.</p> - - <p>Le Port 80 est l'un des ports prédéfinis - d'Unix. Tous les ports numérotés en dessous de - 1024 sont réservés à un usage - système, c-à-d. que des utilisateurs non - privilégiés (non-root) ne peuvent les utiliser ; - ces derniers peuvent par contre utiliser des ports de plus haut - rang. Pour utiliser le port 80, le serveur doit être - exécuté sous <code>root</code>. Après - avoir lié le port (bind) et avant d'accepter des - requêtes, Apache changera son utilisateur associé - tel que défini par la directive <a - href="#user">User</a>.</p> - - <p>Si vous ne pouvez utiliser le port 80, choisissez tout autre - port libre. Les utilisateurs non-root devront choisir un - numéro de port supérieur à 1023, 8000 par - exemple.</p> - - <p><strong>Sécurité :</strong> si vous - démarrez le serveur sous <code>root</code>, assurez vous - que la directive <a href="#user">User</a> ne mentionne pas - <code>root</code>. Si vous traitez des requêtes en - disposant toujours de super privilèges, vous ouvrez - votre système à des attaques majeures.</p> - <hr /> - - <h2><a id="require" name="require">Directive require</a></h2> - <!--%plaintext <?INDEX {\tt require} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> require <em>nomEntite Entite - Entite...</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> répertoire, - .htaccess<br /> - <strong>Surcharge:</strong> AuthConfig<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Cette directive choisi quels utilisateurs autorisés - peuvent accéder à un répertoire. Les - syntaxes valides sont :</p> - - <ul> - <li> - require user <em>utilisateur utilisateur ...</em> - - <p>Seuls les utilisateurs nommés peuvent - accéder au répertoire.</p> - </li> - - <li> - require group <em>nomGroupe nomGroupe ...</em> - - <p>Seuls les utilisateurs des groupes cités peuvent - accéder au répertoire.</p> - </li> - - <li> - require valid-user - - <p>Tout utilisateur reconnu peut accéder au - répertoire (par opposition aux non - utilisateurs).</p> - </li> - </ul> - - <p>Si <code>require</code> apparaît dans une section <a - href="#limit"><Limit></a>, alors les restrictions ne sont - appliquées qu'aux méthodes http - mentionnées. Autrement, toutes les méthodes http - sont restreintes. Exemple :</p> - - <blockquote> -<pre> -<code>AuthType Basic -AuthName unDomaine -AuthUserFile /web/users -AuthGroupFile /web/groups -<Limit GET POST> -require group admin -</Limit> -</code> -</pre> - </blockquote> - - <p>Pour fonctionner correctement, la directive Require doit - être accompagné de directives <a - href="#authname">AuthName</a> et <a - href="#authtype">AuthType</a>, et de directives de type <a - href="mod_auth.html#authuserfile">AuthUserFile</a> et <a - href="mod_auth.html#authgroupfile">AuthGroupFile</a> (servant - à définir les utilisateurs et les groupes).</p> - <hr /> - - <h2><a id="resourceconfig" name="resourceconfig">Directive - ResourceConfig</a></h2> - <!--%plaintext <?INDEX {\tt ResourceConfig} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ResourceConfig <em>nomfichier</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ResourceConfig conf/srm.conf</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Le serveur lit dans ce fichier des directives - supplémentaires, après avoir lu le fichier - <code>httpd.conf</code>. <em>nomfichier</em> est - considéré relativement à <a - href="#serverroot">ServerRoot</a>. Cette fonctionnalité - peut être désactivée par l'écriture - :</p> - - <blockquote> - <code>ResourceConfig /dev/null</code> - </blockquote> - ou sur les serveurs Win32 - - <blockquote> - <code>ResourceConfig nul</code> - </blockquote> - - <p>Historiquement, ce fichier contenait essentiellement les - directives autres que celles servant à la configuration - du serveur ou les sections <a - href="#directory"><Directory></a> ; en fait, il peut - contenir maintenant toute directive admise dans le contexte - <em>configuration serveur</em>.</p> - - <p>A partir de la version 1.3.13, si la directive - <code>ResourceConfig</code> pointe sur un répertoire - plutot qu'un fichier, Apache lira tous les fichiers de ce - répertoire ou de ses sous-répertoires et les - traitera comme fichiers de configuration.</p> - - <p>Voir aussi <a href="#accessconfig">AccessConfig</a>.</p> - <hr /> - - <h2><a id="rlimit" name="rlimit">Directive RLimitCPU</a> <a - id="rlimitcpu" name="rlimitcpu"></a></h2> - <!--%plaintext <?INDEX {\tt RLimitCPU} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> RLimitCPU <em># ou 'max'</em> <em>[# ou - 'max']</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <em>Non - précisé; utilise le défaut du - système d'exploitation</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - RLimitCPU n'est disponible qu'à partir de la version 1.2 - d'Apache - - <p>Accepte 1 ou 2 parametères. Le premier - paramètre indique la limite logicielle pour tous les - processus et le second paramètre la limite - supérieure en termes de ressources. Chacun des - paramètres peut être exprimé par un nombre, - ou <em>max</em> pour indiquer au serveur que la limite est - celle imposée par le système d'exploitation. La - limite supérieure en ressource ne peut être - atteinte que si le serveur tourne sous root, ou - éventuellement pendant la phase de démarrage.</p> - - <p>Ceci est valide pour les processus lancés par les - processus fils d'Apache pour le traitement des requêtes - et non pour les processus fils d'Apache eux-mêmes. Cela - inclut les scripts CGI, les commandes exec SSI, mais pas les - processus lancés par le processu Apache père tels - que les traces.</p> - - <p>La limite de ressources CPU est exprimée en secondes - par processus.</p> - - <p>Voir aussi <a href="#rlimitmem">RLimitMEM</a> ou <a - href="#rlimitnproc">RLimitNPROC</a>.</p> - <hr /> - - <h2><a id="rlimitmem" name="rlimitmem">Directive - RLimitMEM</a></h2> - <!--%plaintext <?INDEX {\tt RLimitMEM} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> RLimitMEM <em># ou 'max'</em> <em>[# ou - 'max']</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <em>Non - précisé ; utilise le défaut du - système d'exploitation</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - RLimitMEM is only available in Apache 1.2 and later - - <p>Accepte 1 ou 2 paramètres. Le premier - paramètre fixe la limite logicielle en ressources - mémoire pour tous les processus tandis que le second - paramètre fixe la limite absolue de ressources - mémoire. Chaque paramètre peut être un - nombre, ou <em>max</em> pour indiquer au serveur que la limite - est fixée par le système d'exploitation. La - limite supérieure en ressource ne peut être - atteinte que si le serveur tourne sous root, ou - éventuellement pendant la phase de démarrage.</p> - - <p>Ceci est valide pour les processus lancés par les - processus fils d'Apache pour le traitement des requêtes - et non pour les processus fils d'Apache eux-mêmes. Cela - inclut les scripts CGI, les commandes exec SSI, mais pas les - processus lancés par le processu Apache père tels - que les traces.</p> - - <p>Les ressources mémoire sont exprimées en - octets par processus.</p> - - <p>Voir aussi <a href="#rlimitcpu">RLimitCPU</a> ou <a - href="#rlimitnproc">RLimitNPROC</a>.</p> - <hr /> - - <h2><a id="rlimitnproc" name="rlimitnproc">Directive - RLimitNPROC</a></h2> - <!--%plaintext <?INDEX {\tt RLimitNPROC} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> RLimitNPROC <em># ou 'max'</em> <em>[# ou - 'max']</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <em>Unset; uses - operating system defaults</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - RLimitNPROC n'est disponible qu'à partir de la version - 1.2 d'Apache - - <p>Accepte 1 ou 2 paramètres. Le premier - paramètre fixe la limite logicielle en ressources pour - tous les processus tandis que le second paramètre fixe - la limite absolue de ressources mémoire. Chaque - paramètre peut être un nombre, ou <em>max</em> - pour indiquer au serveur que la limite est fixée par le - système d'exploitation. La limite supérieure en - ressource ne peut être atteinte que si le serveur tourne - sous root, ou éventuellement pendant la phase de - démarrage.</p> - - <p>Ceci est valide pour les processus lancés par les - processus fils d'Apache pour le traitement des requêtes - et non pour les processus fils d'Apache eux-mêmes. Cela - inclut les scripts CGI, les commandes exec SSI, mais pas les - processus lancés par le processu Apache père tels - que les traces.</p> - - <p>Cette limite contrôle le nombre de processus maximum - par utilisateur.</p> - - <p><strong>Note :</strong> Si les processus CGI <b>ne</b> - tournent <b>pas</b> sous un autre utilisateur que l'utilisateur - du serveur, cette directive limitera aussi le nombre de - processus que le serveur lui-même peut créer. - Cette situation sera indiquée de façon - évidente par des messages d'erreur <b><em>cannot - fork</em></b> dans le fichier error_log.</p> - - <p>Voir aussi <a href="#rlimitmem">RLimitMEM</a> ou <a - href="#rlimitcpu">RLimitCPU</a>.</p> - <hr /> - - <h2><a id="satisfy" name="satisfy">Directive Satisfy</a></h2> - <!--%plaintext <?INDEX {\tt Satisfy} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> Satisfy <em>'any' ou 'all'</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> Satisfy - all<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> répertoire, - .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <tt>Satisfy</tt> n'est disponible qu'à partir de la - version 1.2 d'Apache - - <p>Politique d'accès si à la fois 'allow' et - 'require' sont utilisés. Le paramètre peut valoir - soit <em>'all'</em> soit <em>'any'</em>. Cette directive n'est - utile que si l'accès à une zone - particulière est à la fois restreinte par un - username/password <em>et</em> et par l'adresse d'hôte - client. Dans ce cas le comportement par défaut ("all") - impose au client de passer la restriction d'adresse <em>et</em> - d'entrer un identificateur d'utilisateur et un mot de passe - valides. Avec l'option "any", le client sera servi si son - adresse d'hôte est conforme <em>ou</em> s'il rentre des - paramètres d'identification corrects. Ceci peut - être utilisé pour restreindre un zone par un mot - de passe, tout en laissant quelques client bien - identifiés entrer dans le domaine sans avoir à se - soumettre à la procédure d'identification.</p> - - <p>Voir aussi <a href="#require">Require</a> et <a - href="mod_access.html#allow">Allow</a>.</p> - <hr /> - - <h2><a id="scoreboardfile" name="scoreboardfile">Directive - ScoreBoardFile</a></h2> - <!--%plaintext <?INDEX {\tt ScoreBoardFile} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ScoreBoardFile <em>nomfichier</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ScoreBoardFile logs/apache_status</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>ScoreBoardFile</tt> est nécessaire - sur certaines architectures pour créer un fichier - servant à la communication entre des processus - pères et des processus fils. La meilleure façon - de savoir si votre système nécessite un tel - fichier est d'exécuter Apache et de voir s'il - crée le fichier mentionné dans la directive. Si - votre système nécessite l'emploi de ce fichier, - alors vous devez vous assurer que celui-ci ne peut être - utilisé que par une et une seule invocation - d'Apache.</p> - - <p>Si vous devez utiliser un <tt>ScoreBoardFile</tt>, vous - pourrez optimiser votre temps d'exécution en le - plaçant sur un disque virtuel en RAM. Cependant, - rappelez-vous que les mêmes recommandations sont à - prendre en compte pour la position de ce fichier que pour la - position des fichiers de trace quant à la <a - href="../misc/security_tips.html">securité</a>.</p> - - <p><i>A partir d'Apache 1.2 :</i></p> - - <p>Les utilisateurs de Linux 1.x doivent pouvoir ajouter - <code>-DHAVE_SHMGET</code> aux <code>EXTRA_CFLAGS</code> dans - leur fichier de <code>Configuration</code>. Ceci devrait - fonctionner sur certaines installations en 1.x, mais pas - forcément sur toutes.</p> - - <p>Les utilisateurs de SVR4 devront considérer - l'opportunité d'ajouter <code>-DHAVE_SHMGET</code> aux - <code>EXTRA_CFLAGS</code> dans leur fichier de - <code>Configuration</code>. Il semble que cela fonctionne, mais - nous n'avons pu le tester pour la version 1.2. (avant la - version 1.3b4, <code>HAVE_SHMGET</code> devait suffire.)</p> - <br /> - <br /> - - - <p><strong>Voir aussi</strong> : <a - href="../stopping.html">Arrêter et redémarrer - Apache</a></p> - <hr /> - - <h2><a id="scriptinterpretersource" - name="scriptinterpretersource">ScriptInterpreterSource - directive</a></h2> - <!--%plaintext <?INDEX {\tt ScriptInterpreterSource} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ScriptInterpreterSource registry|script<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ScriptInterpreterSource script</code> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> répertoire, - .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau (seulement sur Windows) - - <p>Cette directive sert, à partir de la version 1.3.5 - d'Apache, à déterminer où trouver - l'interpréteur employé pour exécuter les - scripts CGI. La technique par défaut est de prendre - l'interpréteur pointé par les caractères - #! dans le script. En fixant ScriptInterpreterSource à - registry, La table de registration de Windows sera - employée pour chercher l'interpréteur, en prenant - l'extension du fichier comme clé (par exemple .pl).</p> - <hr /> - - <h2><a id="sendbuffersize" name="sendbuffersize">Directive - SendBufferSize</a></h2> - <!--%plaintext <?INDEX {\tt SendBufferSize} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> SendBufferSize <em>octets</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>Le serveur règle la taille du tampon interne de TCP - au nombre d'octets spécifié. Très utile - pour augmenter les tailles par défaut dans le cas - d'utilisation de liaisons haute vitesse (ex. des liaisons - transcontinantales rapides).</p> - <hr /> - - <h2><a id="serveradmin" name="serveradmin">Directive - ServerAdmin</a></h2> - <!--%plaintext <?INDEX {\tt ServerAdmin} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ServerAdmin <em>adresseEMail</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>ServerAdmin</tt> définit l'adresse - e-mail que le serveur inclut dans tout message d'erreur - retourné au client.</p> - - <p>Il peut être utile de dédier une adresse - réservée à cet usage, par exemple :</p> - - <blockquote> - <code>ServerAdmin www-admin@foo.bar.com</code> - </blockquote> - - <p>car les utilisateur ne rappellent pas toujours dans leur - message ce à propos de quoi ils interviennent!</p> - <hr /> - - <h2><a id="serveralias" name="serveralias">Directive - ServerAlias</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ServerAlias <em>hôte1 hôte2 - ...</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> hôte - virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <tt>ServerAlias</tt> est disponible à partir de la - version 1.1 d'Apache - - <p>La directive <tt>ServerAlias</tt> défini un nom - secondaire pour un hôte, utilisable dans le contexte d'<a - href="../vhosts/name-based.html">hôte virtuels - nommés</a>.</p> - - <p><strong>Voir aussi :</strong> <a - href="../vhosts/index.html">Hôtes virtuels sur - Apache</a></p> - <hr /> - - <h2><a id="servername" name="servername">Directive - ServerName</a></h2> - <!--%plaintext <?INDEX {\tt ServerName} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ServerName <em>nom de domaine entièrement - qualifié</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>ServerName</tt> définit le nom - d'hôte du serveur ; celui-ci n'est utilisé que - pour créer des URL de redirection. S'il n'est pas - défini, alors le serveur tentera de le résoudre - à partir de sa propre adresse IP ; cependant, cette - résolution n'est pas d'une fiabilité absolue, ou - peut résulter en un nom autre que le nom - "souhaité". Par exemple :</p> - - <blockquote> - <code>ServerName www.wibble.com</code> - </blockquote> - - <p>peut être défini lorsque le nom canonique - (principal) de la machine actuelle est - <code>monster.wibble.com</code>.</p> - - <p>Si vous utilisez des <a - href="../vhosts/name-based.html">hôtes virtuels - nommés</a>, la directive <code>ServerName</code> - à l'intérieur d'une section <a - href="#virtualhost"><code><VirtualHost></code></a> impose - que quel nom d'hôte doit apparaître dans - l'en-tête <code>Host:</code> d'une requête pour - être associé à cet hôte virtuel.</p> - - <p><strong>Voir aussi</strong> : <a - href="../dns-caveats.html">Apache et DNS</a> <a - href="../vhosts/">documentation sur les hôtes virtuels - Apache</a><br /> - <a href="#usecanonicalname">UseCanonicalName</a><br /> - <a href="#namevirtualhost">NameVirtualHost</a><br /> - <a href="#serveralias">ServerAlias</a><br /> - </p> - <hr /> - - <h2><a id="serverpath" name="serverpath">Directive - ServerPath</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ServerPath <em>chemin</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> hôte - virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - <tt>ServerPath</tt> est disponible à partir de la - version 1.1 d'Apache. - - <p>La directive <tt>ServerPath</tt> définit le chemin - d'accès servant de base pour les URL ciblant un <a - href="../vhosts/index.html">hôte virtuel - nommé</a>.</p> - - <p><strong>Voir aussi :</strong> <a - href="../vhosts/index.html">Hôtes virtuels sur - Apache</a></p> - <hr /> - - <h2><a id="serverroot" name="serverroot">Directive - ServerRoot</a></h2> - <!--%plaintext <?INDEX {\tt ServerRoot} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ServerRoot <em>nomrépertoire</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ServerRoot /usr/local/apache</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>ServerRoot</tt> définit le - répertoire dans lequel se situe le serveur. Typiquement, - ce répertoire contiendra les sous-répertoires - <code>conf/</code> et <code>logs/</code>. Les chemins - d'accès relatifs pour d'autres fichiers de configuration - seront considérés relativement à ce - répertoire.<br /> - Voir aussi <a href="../invoking.html">les <code>-d</code> - options de httpd</a>.</p> - - <p>Voir aussi <a - href="../misc/security_tips.html#serverroot">les trucs de - sécurité</a> pour plus d'informations sur comment - correctment définir les droits d'accès à - ServerRoot.</p> - <hr /> - - <h2><a id="serversignature" name="serversignature">Directive - ServerSignature</a></h2> - <!--%plaintext <?INDEX {\tt ServerSignature} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ServerSignature On|Off|EMail<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ServerSignature Off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel, répertoire, .htaccess<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - ServerSignature est disponible à partir de la version - 1.3. - - <p>La directive ServerSignature permet la configuration d'une - ligne de bas de page pour les documents - générés par le serveur (messages d'erreur, - liste des répertoire ftp, affichage de mod_info, ...) - L'utilité de l'emploi d'une telle ligne apparaît - dans la cas d'enchaînement de proxy, où - l'utilisateuir souvent n'a aucune possibilité de - déterminer quel élément de la chaîne - de proxies a produit un message d'erreur.<br /> - La valeur par défaut <samp>Off</samp> supprime la ligne - d'erreur (et est compatible avec le comportement d'Apache 1.2 - et précédents). La valeur <samp>On</samp> ajoute - une ligne contenant la version du serveur, la valeur de <a - href="#servername">ServerName</a> de l'hôte virtuel et la - valeur <samp>EMail</samp> ajoute une référence - "mailto:" vers l'adresse <a href="#serveradmin">ServerAdmin</a> - du document demandé.</p> - <hr /> - - <h2><a id="servertokens" name="servertokens">Directive - ServerTokens</a></h2> - <!--%plaintext <?INDEX {\tt ServerTokens} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ServerTokens Minimal|ProductOnly|OS|Full<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ServerTokens Full</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur <br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - ServerTokens est disponible à partir de la version 1.3 - d'Apache. Le mot clé <code>ProductOnly</code> est - disponible à pertir de la version 1.3.12 - - <p>Cette directive contrôle si le champ - <samp>Server</samp> de l'en-tête de réponse qui - est renvoyé aux clients inclut une description du type - de système de du serveur ainsi que des informations sur - les odules compilés.</p> - - <dl> - <dt><code>ServerTokens Prod[uctOnly]</code></dt> - - <dd>Le serveur renvoie par exemple : <samp>Server: - Apache</samp></dd> - - <dt><code>ServerTokens Min[imal]</code></dt> - - <dd>Le serveur renvoie par exemple : <samp>Server: - Apache/1.3.0</samp></dd> - - <dt><code>ServerTokens OS</code></dt> - - <dd>Le serveur renvoie par exemple : <samp>Server: - Apache/1.3.0 (Unix)</samp></dd> - - <dt><code>ServerTokens Full</code> (ou non - spécifié)</dt> - - <dd>Le serveur renvoie par exemple : <samp>Server: - Apache/1.3.0 (Unix) PHP/3.0 MyMod/1.2</samp></dd> - </dl> - - <p>Cette directive s'applique à la globalité du - serveur et ne paut pas être activé ou - désactivé sur la base d'hôtes virtuels.</p> - <hr /> - - <h2><a id="servertype" name="servertype">Directive - ServerType</a></h2> - <!--%plaintext <?INDEX {\tt ServerType} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ServerType <em>type</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ServerType standalone</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>ServerType</tt> définit comment le - serveur est exécuté par le système - d'exploitation. <em>Type</em> peut prendre l'une des valeurs - suivantes :</p> - - <dl> - <dt>inetd</dt> - - <dd>Le serveur sera exécuté à partir du - processus system inetd ; la commande nécessaire au - démarrage du serveur devra être ajoutée - au fichier <code>/etc/inetd.conf</code></dd> - - <dt>standalone</dt> - - <dd>Le serveur est lancé en tant que démon ; la - commande de démarrage du serveur sera ajoutée - aux scripts de démarrage du système - d'exploitation. (<code>/etc/rc.local</code> ou - <code>/etc/rc3.d/...</code>.)</dd> - </dl> - - <p>Inetd est l'option la moins utilisée des deux. Pour - chaque connexion http demandée, une nouvelle instance du - serveur est créée ; une fois la connexion - établie, ce programme tourne. Ceci implique un - coût important en ressources pour chaque connexion, mais - certains administrateurs préfèrent parfois ce - mode pour des raisons de sécurité.</p> - - <p>Standalone est l'option la plus fréquente pour la - directive <tt>ServerType</tt> dans la mesure où ce - dernier est de loin plus performant. Le serveur n'est - démarré qu'une fois, et dessert toutes les - connexions ultérieures. Si vous utilisez Apache sur un - site très chargé, le mode standalone sera - certainement le seul choix possible.</p> - <hr /> - - <h2><a id="startservers" name="startservers">Directive - StartServers</a></h2> - <!--%plaintext <?INDEX {\tt StartServers} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> StartServers <em>nombre</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>StartServers 5</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>StartServers</tt> définit le nombre - de processus fils créés dès le - démarrage du serveur. Le nombre de ces processus - étant contrôlé dynamiquement en fonction de - la charge, il y a en général peu - d'intérêt à modifier la valeur par - défaut de ce paramètre.</p> - - <p>Lorsque le serveur est exécuté sous Microsoft - Windows, cette directive n'a aucun effet. Comme la version - Windows d'Apache est écrite en multithread, un seul - processus gère l'intégralité des - requêtes. La directive <a - href="#threadsperchild">ThreadsPerChild</a> contrôle le - nombre maximal de threads traitant les requêtes, ce qui a - un effet similaire à la directive Unix - <samp>StartServers</samp></p> - - <p>Voir aussi <a href="#minspareservers">MinSpareServers</a> et - <a href="#maxspareservers">MaxSpareServers</a>.</p> - <hr /> - - <h2><a id="threadsperchild" name="threadsperchild">Directive - ThreadsPerChild</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ThreadsPerChild <em>nombre</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ThreadsPerChild 50</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau (Windows)<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - Disponible seulement à partir de la version 1.3 pour - Windows d'Apache - - <p>Cette directive indique au serveur combien de threads il - doit lancer. Cela est équivalent au nombre maximum de - connexions que le serveur peut traiter simultanément ; - soyez sûr de vous et réglez le nombre suffisament - haut si votre site est très fréquenté.</p> - - <p>Cette directive n'a aucun effet sur les systèmes - Unix. Les utilisateurs Unix regarderont les directives <a - href="#startservers">StartServers</a> et <a - href="#maxrequestsperchild">MaxRequestsPerChild</a>.</p> - <hr /> - - <h2><a id="threadstacksize" name="threadstacksize">Directive - ThreadStackSize</a></h2> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> ThreadStackSize <em>nombre</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>ThreadStackSize 65536</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau (NetWare)<br /> - <strong>Compatibilité :</strong> disponible à - partir de la version d'Apache 1.3 sur Netware. - - <p>Cette directive indique la taille de la pile à - utiliser pour les threads. Si vous rencontrer un - problème de débordement de pile, vous devez - augmenter cette valeur.</p> - - <p>Cette directive n'a aucun effet sur les autres - systèmes.</p> - <hr /> - - <h2><a id="timeout" name="timeout">Directive TimeOut</a></h2> - <!--%plaintext <?INDEX {\tt TimeOut} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> TimeOut <em>nombre</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <code>TimeOut - 300</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>TimeOut</tt> définit la - temporisation courante pendant laquelle Apache attendra l'une - de ces trois choses :</p> - - <ol> - <li>Le temps total de réception d'une requête - GET.</li> - - <li>Le temps entre la réception de paquets TCP lors - d'une requête POST ou PUT.</li> - - <li>Le temps entre deux acquittements lors de la transmission - de paquets TCP de réponse.</li> - </ol> - - <p>Nous prévoyons dans le futur de permettre une - configuration individuelle de chacune de ces temporisations. La - valeur par défaut était de 1200 avant la version - 1.2, mais a été abaissée à 300 - depuis, ce qui est déjà largement plus que - nécessaire dans la plupart des situations. Il n'est - cependant pas réglé plus bas car il peut exister - (encore) des portions de code un peu "floues" par lesquelles le - temporisateur n'est pas remis à zéro lors de la - transmission d'un paquet.</p> - <hr /> - - <h2><a id="usecanonicalname" - name="usecanonicalname">UseCanonicalName directive</a></h2> - <!--%plaintext <?INDEX {\tt UseCanonicalName} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> UseCanonicalName on|off|dns<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> - <code>UseCanonicalName on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel, répertoire<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Surcharge :</strong></a> Options<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> - UseCanonicalName est disponible à partir de la verion - 1.3 - - <p>Dans beaucoup de situations, Apache doit construire des URL - <em>s'autoréférençant</em>, autremnet dit, - des URL référençant le même serveur. - Avec la directive <code>UseCanonicalName on</code> (dans les - versions d'Apache inférieures à 1.3) Apache - utilise les valeurs des directives <a - href="#servername">ServerName</a> et <a href="#port">Port</a> - pour construire un nom canonique du serveur. Ce nom est - utilisé pour toutes les URL autoréférentes - et pour les valeurs de <code>SERVER_NAME</code> et - <code>SERVER_PORT</code> pour les scripts CGI.</p> - - <p>Avec <code>UseCanonicalName off</code>, Apache formera les - URLS autoréférentes en utilisant le nom - d'hôte le numéro de port fourni par le client si - ceux ci sont fournis (sinon il utilisera le nom canonique). Ces - valeurs sont les mêmes qui sont employées pour - implémenter les <a - href="../vhosts/name-based.html">hôtes virtuels - basés sur des noms</a>, et sont disponibles pour les - mêmes clients. Les variable CGI <code>SERVER_NAME</code> - et <code>SERVER_PORT</code> seront aussi construites à - partir des valeurs fournies par les clients.</p> - - <p>Un exemple où cette directive est utile est le cas - d'un serveur intranet où des utilisateurs se connectent - à la machine en utilisant des noms courts tels que - <code>www</code>. Vous noterez que si l'utilisateur tape un nom - court et que l'URL est un répertoire tel que - <code>http://www/splat</code>, <em>sans le caractère - oblique / final</em> , Apache redirigera la requête vers - <code>http://www.domain.com/splat/</code>. Si vous avez une - authentification active, lu'tilisateur devra s'authentifier - deux fois, (une première fois pour <code>www</code> et - une deuxième fois pour An example where this may be - useful is on an intranet server where you have users connecting - to the machine using short names such as . You'll notice that - if the users type a <code>www.domain.com</code>). Mais si la - directive <code>UseCanonicalName</code> est à off, - Apache redirigera vers <code>http://www/splat/</code>.</p> - - <p>Il existe une troisième option, - <code>UseCanonicalName DNS</code>, qui est prévu pour - être employé avec de nombreux hôtes virtuels - basés sur les adresses IP afin de supporter les clients - qui ne fournissent pas d'en-tête <code>Host:</code>. Avec - cette option Apache effectue une résolution DNS inverse - sur l'adresse IP du serveur sur lequel le client se connecte - afin de travailler avec pour les URL - autoréférentes.</p> - - <p><strong>Attention :</strong> si les scripts CGI font des - suppositions sur les valeurs de <code>SERVER_NAME</code> il - peuvent ne plus fonctionner avec cette option. Mais le script - CGI utilise uniquement <code>SERVER_NAME</code> pour construire - des URL autoréférentes, il ne evrait y avoir - aucun problèmes.</p> - - <p><strong>Voir également :</strong> <a - href="#servername">ServerName</a>, <a href="#port">Port</a></p> - <hr /> - - <h2><a id="user" name="user">Directive User</a></h2> - <!--%plaintext <?INDEX {\tt User} directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> User <em>utilisateurUnix</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Défaut :</strong></a> <code>User - #-1</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur, hôte virtuel<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> noyau - - <p>La directive <tt>User</tt> définit l'utilisateur - associé au serveur. Pour utiliser cette directive, un - serveur standalone devra être lancé sous - <code>root</code>. <em>utilisateurUnix</em> est l'un parmi - :</p> - - <dl> - <dt>un nom d'utilisateur</dt> - - <dd>se réfère à un utilisateur - déclaré du système.</dd> - - <dt># suivi d'un numéro d'utilisateur.</dt> - - <dd>se réfère à l'utilisateur - déclaré du système portant ce - numéro.</dd> - </dl> - - <p>L'utilisateur peut n'avoir aucun privilège ce qui lui - permet néanmoins de pouvoir avoir accès à - des fichiers qui ne sont pas sensés être visibles - du "reste du monde", mais pas d'exécuter du code qui ne - serait pas explicitement exécutable par l'utilisateur - associé à httpd. Il est d'ailleurs - recommandé de créer un utilisateur et un groupe - specialement pour exécuter le serveur. Certains - administrateurs utilisent souvent l'utilisateur - <code>nobody</code>, mais ceci n'est pas toujours possible ou - souhaitable. Par exemple, le cache de mod_proxy quancd celui - est activé , doit être accessible à cette - utilisateur (voir la directive <a - href="mod_proxy.html#cacheroot"><code>CacheRoot</code></a> - ).</p> - - <p><strong>Note :</strong> si vous démarrez le serveur - sous un utilisateur non-root, la tentative pour passer sous un - utilisateur de moindre privilège échouera, et le - serveur continuera à sexécuter sous l'utilisateur - d'origine. Si vous démarrez le serveur sous - <code>root</code>, alors il sera normal que le processus - père continue à s'exécuter sous - <code>root</code>.</p> - - <p><strong>Note spécifique :</strong> L'utilisation de - cette directive dans une section <tt><VirtualHost></tt> - nécessite un <a href="../suexec.html">wrapper suEXEC</a> - correctement configuré. Lorsqu'elle est utilisée - de cette façon dans une section - <tt><VirtualHost></tt>, seul l'utilisateur associé - à l'exécution des scripts CGI est affecté. - Les requêtes non-CGI seront toujours traitées sous - l'utilisateur défini dans la directive User de la - section principale.</p> - - <p><strong>Sécurité :</strong> Ne - définissez pas l'utilisateur (ni le <a - href="#group">groupe</a>) comme <code>root</code> sauf si vous - savez exactement ce que vous faites, et si vous êtes - totalement conscients des risques qui sont encourus.</p> - <hr /> - - <h2><a id="virtualhost" name="virtualhost">Directive - <VirtualHost></a></h2> - <!--%plaintext <?INDEX {\tt VirtualHost} section directive> --> - <a href="directive-dict.html#Syntax" rel="Help"><strong>Syntaxe - :</strong></a> <VirtualHost <em>adresse</em>[:<em>port</em>] - ...> ... </VirtualHost> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Contexte :</strong></a> configuration - serveur<br /> - <a href="directive-dict.html#Status" rel="Help"><strong>Statut - :</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> la - "virtualisation" d'hôtes non basés sur l'adressage - IP n'est disponible qu'à partir de la version 1.1 - d'Apache<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibilité :</strong></a> le - support d'adresses multiples n'est disponible qu'à - partir de la version 1.2 d'Apache - - <p>Les directives <VirtualHost> et </VirtualHost> - sont utilisées pour "encapsuler" un groupe de directives - qui s'appliquent à un hôte virtuel particulier. - Toute directive autorisée dans un contexte "hôte - virtuel" peut être présente. Lorsque le serveur - reçoit une requête demandant un document - spécifique sur un hôte virtuel spécifique, - il utilise les directives de configuration explicitées - dans la section <VirtualHost> correspondante. - <em>Adresse</em> peut être :</p> - - <ul> - <li>l'adresse IP de l'hôte virtuel</li> - - <li>un nom de domaine entièrement qualifié pour - l'adresse IP de cet hôte virtuel.</li> - </ul> - - <p>Exemple :</p> - - <blockquote> -<pre> -<code><VirtualHost 10.1.2.3> -ServerAdmin webmaster@host.foo.com -DocumentRoot /www/docs/host.foo.com -ServerName host.foo.com -ErrorLog logs/host.foo.com-error_log -TransferLog logs/host.foo.com-access_log -</VirtualHost> -</code> -</pre> - </blockquote> - - <p>Chaque hôte virtuel doit être associé - à une adresse IP, à un numéro de port ou - à un nom d'hôte différents que celui - attribué au serveur, dans le dernier cas la machine du - serveur doit être configurée pour accepter des - paquets IP sur plusieurs adresses. (Si la machine ne dispose - pas de plusieurs interfaces réseau physiques, ceci peut - être obtenu par la commande <code>ifconfig alias</code> - (si votre OS l'accepte), ou par des patchs du kernel du type <a - href="../misc/vif-info.html">VIF</a> (pour SunOS(TM) - 4.1.x)).</p> - - <p>Vous pouvez spécifier plus d'une adresse IP. Ceci - peut être utile si une machine répond au - même nom venant de deux différentes interfaces. - Par exemple, si vous avez un hôte virtuel qui est - accessible des hôtes à partir d'un réseau - interne (intranet) et externe (internet). Exemple :</p> - - <blockquote> - <code><VirtualHost 192.168.1.2 204.255.176.199><br /> - DocumentRoot /www/docs/host.foo.com<br /> - ServerName host.foo.com<br /> - ServerAlias host<br /> - </VirtualHost></code> - </blockquote> - - <p>Le nom prédéfini <code>_default_</code> peut - être attribué auquel cas cet hôte virtuel - lira toutes les adresses IP qui ne sont pas explicitement - listées dans les autres hôtes virtuels - définis. En l'absence d'un hôte virtuel _default_, - la configuration serveur "principale", à savoir toutes - les définitions en dehors des sections VirtualHost, - seront utilisées si aucun hôte virtuel ne - reconnaît l'adresse.</p> - - <p>Vous pouvez spécifier une commande <code>:port</code> - pour changer le port reconnu par l'hôte virtuel. Si aucun - port n'est mentionné, alors le port reconnu est par - défaut celui mentionné dans la dernière - directive de <code><a href="#port">Port</a></code> de la - section principale qui précède. Vous pouvez - également spécifier <code>:*</code> pour - reconnaître tous les ports à cette adresse. (Ceci - est conseillé lorsque l'hôte virtuel est le - <code>_default_</code>.)</p> - - <p><strong>Sécurité</strong>: Voir les <a - href="../misc/security_tips.html">conseils de - sécurité</a> pour plus de détails sur les - risques encourus si le répertoire contenant les fichiers - de trace peut être écrit par un autre utilisateur - que celui sous lequel est exécuté le serveur.</p> - - <p><strong>Note</strong>: L'utilisation de la directive - <VirtualHost> <strong>n'</strong> affecte - <strong>pas</strong> les adresses qu'écoute Apache. Vous - devez vous assurer que les adresses définies pour les - hôtes virtuels font aussi partie de l'ensemble des - adresses écoutées par Apache et définies - par des directives <a href="#bindaddress">BindAddress</a> ou <a - href="#listen">Listen</a>.</p> - - <p><strong>Voir aussi :</strong> <a - href="../vhosts/index.html">Hôtes virtuels sur - Apache</a><br /> - <a href="../dns-caveats.html">Avertissement concernant DNS et - Apache</a><br /> - <a href="../bind.html">Configurer les ports et adresses - utilisés par Apache</a></p> - - <p><strong>Voir aussi</strong> : <a - href="../sections.html">Comment fonctionnent les sections - concernant les répertoires, chemins et fichiers</a> pour - une explication plus précise concernant la - manière dont ces sections sont combinées - lorsqu'une requête est traitée. - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/core.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/core.html.ja.jis deleted file mode 100644 index 20c831bf5eb..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/core.html.ja.jis +++ /dev/null @@ -1,4012 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache Core Features</title> - </head> - <!-- English revision: 1.249 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#000080" - alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Apache $B%3%"5!G=(B</h1> - - <p>$B0J2<$N%G%#%l%/%F%#%V$O(B Apache - $B$N%3%"5!G=$r%3%s%H%m!<%k$9$k$b$N$G!">o$KMxMQ2DG=$G$9!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#acceptfilter">AcceptFilter</a></li> - - <li><a href="#acceptmutex">AcceptMutex</a></li> - - <li><a href="#accessconfig">AccessConfig</a></li> - - <li><a href="#accessfilename">AccessFileName</a></li> - - <li><a href="#adddefaultcharset">AddDefaultCharset</a></li> - - <li><a href="#addmodule">AddModule</a></li> - - <li><a href="#allowoverride">AllowOverride</a></li> - - <li><a href="#authname">AuthName</a></li> - - <li><a href="#authtype">AuthType</a></li> - - <li><a href="#bindaddress">BindAddress</a></li> - - <li><a href="#bs2000account">BS2000Account</a></li> - - <li><a href="#clearmodulelist">ClearModuleList</a></li> - - <li><a href="#contentdigest">ContentDigest</a></li> - - <li><a href="#coredumpdirectory">CoreDumpDirectory</a></li> - - <li><a href="#defaulttype">DefaultType</a></li> - - <li><a href="#directory"><Directory></a></li> - - <li><a href="#directorymatch"><DirectoryMatch></a></li> - - <li><a href="#documentroot">DocumentRoot</a></li> - - <li><a href="#ebcdicconvert">EBCDICConvert</a></li> - - <li><a - href="#ebcdicconvertbytype">EBCDICConvertByType</a></li> - - <li><a href="#ebcdickludge">EBCDICKludge</a></li> - - <li><a href="#errordocument">ErrorDocument</a></li> - - <li><a href="#errorlog">ErrorLog</a></li> - - <li><a href="#fileetag">FileETag</a></li> - - <li><a href="#files"><Files></a></li> - - <li><a href="#filesmatch"><FilesMatch></a></li> - - <li><a href="#group">Group</a></li> - - <li><a href="#hostnamelookups">HostnameLookups</a></li> - - <li><a href="#identitycheck">IdentityCheck</a></li> - - <li><a href="#ifdefine"><IfDefine></a></li> - - <li><a href="#ifmodule"><IfModule></a></li> - - <li><a href="#include">Include</a></li> - - <li><a href="#keepalive">KeepAlive</a></li> - - <li><a href="#keepalivetimeout">KeepAliveTimeout</a></li> - - <li><a href="#limit"><Limit></a></li> - - <li><a href="#limitexcept"><LimitExcept></a></li> - - <li><a href="#limitrequestbody">LimitRequestBody</a></li> - - <li><a href="#limitrequestfields">LimitRequestFields</a></li> - - <li><a - href="#limitrequestfieldsize">LimitRequestFieldsize</a></li> - - <li><a href="#limitrequestline">LimitRequestLine</a></li> - - <li><a href="#listen">Listen</a></li> - - <li><a href="#listenbacklog">ListenBacklog</a></li> - - <li><a href="#location"><Location></a></li> - - <li><a href="#locationmatch"><LocationMatch></a></li> - - <li><a href="#lockfile">LockFile</a></li> - - <li><a href="#loglevel">LogLevel</a></li> - - <li><a href="#maxclients">MaxClients</a></li> - - <li><a - href="#maxkeepaliverequests">MaxKeepAliveRequests</a></li> - - <li><a - href="#maxrequestsperchild">MaxRequestsPerChild</a></li> - - <li><a href="#maxspareservers">MaxSpareServers</a></li> - - <li><a href="#minspareservers">MinSpareServers</a></li> - - <li><a href="#namevirtualhost">NameVirtualHost</a></li> - - <li><a href="#options">Options</a></li> - - <li><a href="#pidfile">PidFile</a></li> - - <li><a href="#port">Port</a></li> - - <li><a href="#protocolreqcheck">ProtocolReqCheck</a></li> - - <li><a href="#require">Require</a></li> - - <li><a href="#resourceconfig">ResourceConfig</a></li> - - <li><a href="#rlimitcpu">RLimitCPU</a></li> - - <li><a href="#rlimitmem">RLimitMEM</a></li> - - <li><a href="#rlimitnproc">RLimitNPROC</a></li> - - <li><a href="#satisfy">Satisfy</a></li> - - <li><a href="#scoreboardfile">ScoreBoardFile</a></li> - - <li><a - href="#scriptinterpretersource">ScriptInterpreterSource</a></li> - - <li><a href="#sendbuffersize">SendBufferSize</a></li> - - <li><a href="#serveradmin">ServerAdmin</a></li> - - <li><a href="#serveralias">ServerAlias</a></li> - - <li><a href="#servername">ServerName</a></li> - - <li><a href="#serverpath">ServerPath</a></li> - - <li><a href="#serverroot">ServerRoot</a></li> - - <li><a href="#serversignature">ServerSignature</a></li> - - <li><a href="#servertokens">ServerTokens</a></li> - - <li><a href="#servertype">ServerType</a></li> - - <li><a href="#shmemuidisuser">ShmemUIDisUser</a></li> - - <li><a href="#startservers">StartServers</a></li> - - <li><a href="#threadsperchild">ThreadsPerChild</a></li> - - <li><a href="#threadstacksize">ThreadStackSize</a></li> - - <li><a href="#timeout">TimeOut</a></li> - - <li><a href="#usecanonicalname">UseCanonicalName</a></li> - - <li><a href="#user">User</a></li> - - <li><a href="#virtualhost"><VirtualHost></a></li> - </ul> - <hr /> - - <h2><a id="acceptfilter" name="acceptfilter">AcceptFilter - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AcceptFilter - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>AcceptFilter - on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> AcceptFilter $B$O(B - Apache 1.3.22 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><code>AcceptFilter</code> $B$O!"(BBSD - $B$KFCM-$N%U%#%k%?$N:GE,2=$r%3%s%H%m!<%k$7$^$9!#(B - $B$3$N5!G=$O%G%U%)%k%H$GAH$_9~$^$l$^$9!#(B - $B$=$7$F!"%7%9%F%`$,$3$N5!G=$r%5%]!<%H(B - (setsocketopt() $B$G(B SO_ACCEPTFILTER $B%*%W%7%g%s$,MxMQ$G$-$k(B) - $B$7$F$$$l$P!"%G%U%)%k%H$GM-8z$H$J$j$^$9!#(B - $B8=:_$N$H$3$m!"(BFreeBSD $B$K$*$$$F$N$_%5%]!<%H$5$l$F$$$^$9!#(B</p> - - <p>$B>\$7$$>pJs$rF@$k$K$O!"(B<a - href="../misc/perf-bsd44.html">$B@-G=$N%R%s%H(B</a>$B$N%U%#%k%?%;%/%7%g%s$r(B - $B8+$F$/$@$5$$!#(B</p> - - <p>$B$J$*!"%3%s%Q%$%k;~$K(B <code>AP_ACCEPTFILTER_OFF</code> - $B%U%i%0$rMxMQ$9$l$P%G%U%)%k%H$rL58z$K$9$k$3$H$,2DG=$G$9!#(B - <code>httpd -V</code> $B$H(B <code>httpd -L</code> - $B$rMxMQ$9$k$3$H$K$h$C$F!"%3%s%Q%$%k;~$N%G%U%)%k%H$H(B SO_ACCEPTFILTER - $B$,M-8z$K$J$C$F$$$k$+$I$&$+$r;2>H$9$k$3$H$,$G$-$^$9!#(B</p> - - <hr /> - - <h2><a id="acceptmutex" name="acceptmutex">AcceptMutex - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AcceptMutex - uslock|pthread|sysvsem|fcntl|flock|os2sem|tpfcore|none|default<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>AcceptMutex - default</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core <br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> AcceptMutex $B$O(B - Apache 1.3.21 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><code>AcceptMutex</code> $B$O!"(Baccept() $B$K$*$$$F$I$NJ}K!$N(B - mutex $B$rMxMQ$9$k$N$+$r;XDj$7$^$9!#$J$*!"MxMQ$G$-$k(B mutex - $B$O%3%s%Q%$%k;~$K7hDj$5$l!"(B - $B%W%i%C%H%U%)!<%`$K$h$C$F$O$9$Y$F$NJ}K!$OMxMQ$G$-$J$$$3$H$,$"$j$^$9!#(B - $BMxMQ$G$-$k(B mutex $B$O!"%3%^%s%I%i%$%s%*%W%7%g%s$G(B - <code>httpd -V</code> $B$r;XDj$9$k$H0lMw$,I=<($5$l$^$9!#(B</p> - - <p>$B%3%s%Q%$%k;~$N%U%i%0$H$7$F(B - <code>-D HAVE_METHOD_SERIALIZED_ACCEPT</code> - $B$r;XDj$9$k$3$H$K$h$C$F!"0[$J$kJ}K!$rDI2C$9$k$3$H$b$G$-!"(B - $BFCDj$N%W%i%C%H%U%)!<%`8~$1$K(B <code>include/ap_config.h</code> - $B$rJT=8$9$k$3$H$b2DG=$G$9!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O(B Microsoft Windows - $B$KBP$7$F;XDj$7$F$b8z2L$O$"$j$^$;$s(B</p> - - <p>$B>\$7$$>pJs$K$D$$$F$O(B<a - href="../misc/perf-tuning.html">$B%Q%U%)!<%^%s%9%A%e!<%s%K%s%0(B</a>$B$r(B - $B;2>H$7$F$/$@$5$$!#(B</p> - - <hr /> - - <h2><a id="accessconfig" name="accessconfig">AccessConfig - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AccessConfig - <em>file-path</em>|<em>directory-path</em>|<em>wildcard-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>AccessConfig - conf/access.conf</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core <br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a>Apache 1.3.13 - $B0J9_$G$N$_!"%U%!%$%kL>$NBe$o$j$K%G%#%l%/%H%j%Q%9$r;XDj$G$-$^$9!#(B - $B$3$N%G%#%l%/%F%#%V$O%P!<%8%g%s(B 2.0 $B0J9_$K$OB8:_$7$^$;$s!#(B - - <p><a href="#resourceconfig">ResourceConfig</a> $B%U%!%$%k$rFI$_9~$s$@8e!"(B - $B$=$l$K2C$($FB?$/$N%G%#%l%/%F%#%V$r$3$3$G5-$7$?%U%!%$%k$+$iFI$_9~$_$^$9!#(B - <em>File-path</em> $B$O!"(B<a href="#serverroot">ServerRoot</a> - $B$G5-$7$?%Q%9$+$i$N!"AjBP%Q%9$G$9!#(B<br /> - $B$J$*!"$3$N5!G=$rL58z$K$9$k$K$O<!$N$h$&$K;XDj$7$^$9!#(B</p> - - <blockquote> - <code>AccessConfig /dev/null</code> - </blockquote> - Win32 $B$N>l9g(B - - <blockquote> - <code>AccessConfig nul</code> - </blockquote> - - $B0JA0$O!"$3$N%U%!%$%k$K$O(B <a href="#directory"><Directory></a> - $B%;%/%7%g%s$N$_$,=q$+$l$F$$$^$7$?!#(B - $B8=:_$G$O%5!<%P@_Dj%U%!%$%k$K5-=R$G$-$k$3$H$9$Y$F$,5-=R2DG=$K$J$C$F$$$^$9!#(B - $B$?$@!"(BApache $B$N%P!<%8%g%s(B 1.3.4 $B0J9_$G$O!"(B - Apache $B$H6&$KG[I[$5$l$F$$$k%G%U%)%k%H$N(B <code>access.conf</code> - $B%U%!%$%k$K$O%3%a%s%H$7$+=q$+$l$F$*$i$:!"(B - $B$9$Y$F$N%G%#%l%/%F%#%V$,<g$H$J$k%5!<%P@_Dj%U%!%$%k$N(B - <code>httpd.conf</code> $B$K5-=R$5$l$F$$$^$9!#(B - - <p> - $B$b$7!"$3$N(B <code>AccessConfig</code> - $B%G%#%l%/%F%#%V$K!"%U%!%$%k$G$O$J$/%G%#%l%/%H%j$,;XDj$5$l$l$P!"(B - Apache $B$O$=$N%G%#%l%/%H%jFb$N$9$Y$F$N%U%!%$%k$rFI$_9~$_!"(B - $B$=$l$i$r@_Dj%U%!%$%k$H$7$F=hM}$7$^$9!#(B</p> - <p>$BBe$o$j$K!"%o%$%k%I%+!<%I$r;H$C$FHO0O$r9J$k$3$H$b$G$-$^$9!#(B - $B$9$J$o$A!"(B*.conf $B%U%!%$%k$N$_!"$H$$$C$?$h$&$K!#(B</p> - <p>$B%G%U%)%k%H$G$O;XDj$5$l$?%G%#%l%/%H%j$N!V(B<em>$B$I$N$h$&$J(B</em>$B!W(B - $B%U%!%$%k$G$b@_Dj%U%!%$%k$H$7$FFI$_9~$^$l$^$9!#(B</p> - <p>$B$G$9$+$i8m$C$F(B ($BNc$($P%(%G%#%?$G%F%s%]%i%j%U%!%$%k$r:n@.$9$kEy(B) - $B%U%!%$%k$rCV$+$J$$$h$&$KCm0U$7$F$/$@$5$$!#(B</p> - - <p><strong>$B;2>H(B:</strong> <a href="#include">Include</a>,<a - href="#resourceconfig">ResourceConfig</a>.</p> - <hr /> - - <h2><a id="accessfilename" name="accessfilename">AccessFileName - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AccessFileName - <em>filename</em> [<em>filename</em>] ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>AccessFileName - .htaccess</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> AccessFileName $B$O(B Apache 1.3 - $B0J9_$K$*$$$F$N$_J#?t$N%U%!%$%kL>$r;XDj$G$-$^$9!#(B - - <p>$B%I%-%e%a%s%H$r%/%i%$%"%s%H$KJV$9$H$-!"%5!<%P$O%G%#%l%/%H%j$K(B - $BBP$7$F%"%/%;%9@_Dj%U%!%$%k$,M-8z$K$J$C$F$$$l$P!"$=$N%I%-%e%a%s%H$X$N(B - $B%Q%9>e$K$"$k$9$Y$F$N%G%#%l%/%H%j$+$i$3$3$G;XDj$5$l$?L>A0$N0lMw$NCf$G(B - $B:G=i$K8+$D$+$C$?%U%!%$%k$r!"$=$l$>$l%"%/%;%9@)8f%U%!%$%k$H$7$FFI$_9~$_$^$9!#(B - $BNc$($P(B:</p> - - <blockquote> - <code>AccessFileName .acl</code> - </blockquote> - $B$N$h$&$K;XDj$5$l$F$$$k$H!"(B /usr/local/web/index.html - $B$rJV$9>l9g!"0J2<$N$h$&$K$7$FL58z$K$5$l$F$$$J$$8B$j!"(B - $B%I%-%e%a%s%H$rJV$9A0$K(B /.acl, /usr/.acl, /usr/local/.acl, - /usr/local/web/.acl $B$+$i%G%#%l%/%F%#%V$rFI$_9~$_$^$9!#(B - - <blockquote> - <code><Directory /><br /> - AllowOverride None<br /> - </Directory></code> - </blockquote> - - <p><strong>$B;2>H(B:</strong> <a - href="#allowoverride">AllowOverride</a> $B5Z$S(B <a - href="../configuring.html">$B@_Dj%U%!%$%k(B</a></p> - <hr /> - - <h2><a id="adddefaultcharset" - name="adddefaultcharset">AddDefaultCharset $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AddDefaultCharset - On|Off|<em>charset</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B$9$Y$F(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> - <code>AddDefaultCharset Off</code><br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> - AddDefaultCharset $B$O(B Apache 1.3.12 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(BHTTP $B%X%C%@$K%3%s%F%s%H%?%$%W%Q%i%a!<%?$r(B - $B;}$?$J$$%l%9%]%s%9$KDI2C$5$l$kJ8;z%;%C%H$NL>A0$r;XDj$7$^$9!#(B - $B$3$l$O!"%I%-%e%a%s%HFb$N(B META - $B%?%0$G;XDj$5$l$?$I$N$h$&$JJ8;z%;%C%H$bL58z$K$7$^$9!#(B - <code>AddDefaultCharset Off</code> - $B$H$$$&@_Dj$K$h$j!"$3$N5!G=$OL58z$K$J$j$^$9!#(B - <code>AddDefaultCharset On</code> $B$K$9$l$P!"%G%#%l%/%F%#%V$NMW5aDL$j(B - Apache $BFbIt$N%G%U%)%k%HJ8;z%;%C%H(B <code>iso-8859-1</code> - $B$K@_Dj$7$^$9!#$^$?!"B>$N(B <em>charset</em> $B$b;XDj$G$-$^$9!#(B</p> - - <p>$BNc(B:</p> - - <blockquote> - <code>AddDefaultCharset utf-8</code> - </blockquote> - - <p><b>$BCm0U(B:</b> $B$3$l$O%G%U%)%k%H$G(B Apache - $B$,@8@.$9$k%9%F!<%?%9%Z!<%8(B ('404 Not Found' $B$d(B - '301 Moved Permanently' $B$J$I(B) $B$K$O1F6A(B<b>$B$7$^$;$s(B</b>$B!#(B - $B$=$l$i$O!"(B($B%Z!<%8$NFbMF$,%O!<%I%3!<%I$5$l$F=q$+$l$F$$$k(B) <i>$B<B:]$N(B</i> - $BJ8;z%;%C%H$,$"$k$?$a!"%G%U%)%k%H$,E,MQ$5$l$kI,MW$O$J$$$+$i$G$9!#(B</p> - - <hr /> - - <h2><a id="addmodule" name="addmodule">AddModule - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AddModule - <em>module</em> [<em>module</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B <br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> AddModule $B$O(B Apache 1.2 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>Apache - $B$G$O!";HMQ$7$J$$%3%s%Q%$%k:Q$_$N%b%8%e!<%k$r;}$D$3$H$,$G$-$^$9!#(B - $B$3$N%G%#%l%/%F%#%V$O!"$=$l$i$N%b%8%e!<%k$r;HMQ$9$k$h$&$K$G$-$^$9!#(B - $B5/F08e!"$"$i$+$8$a;HMQ%b%8%e!<%k$N%j%9%H$r:n@.$7$F$$$^$9$,!"(B - <a href="#clearmodulelist">ClearModuleList</a> - $B%G%#%l%/%F%#%V$K$h$j$=$N%j%9%H$NCf?H$r>C$9$3$H$,$G$-$^$9!#(B</p> - - <p>$BNc(B:</p> - - <blockquote> - <code>AddModule mod_include.c</code> - </blockquote> - - <p><code>AddModule</code> $B$N=gHV$O=EMW$G$9!#%b%8%e!<%k$OM%@hEY$N(B - $B5U=g$K=q$-$^$9!=8e$K=q$+$l$F$$$k$b$N$OA0$NJ}$K=q$+$l$F$$$k$b$N$N(B - $B?6$kIq$$$r>e=q$-$9$k$3$H$,$G$-$^$9!#$3$l$O!"L\$K8+$($k1F6A$,$"$j$^$9!#(B - $BNc$($P!"(BUserDir $B$,(B Alias $B$N8e$K$"$l$P!"%f!<%6$N%[!<%`%G%#%l%/%H%j$N(B - $B%(%$%j%"%9$r:n$k$3$H$O$G$-$^$;$s!#$h$j>\$7$$>pJs$H!"?d>)$5$l$F$$$k(B - $B=gHV$K$D$$$F$O(B Apache $B%=!<%9G[I[Cf$N(B <code>src/Configuration.tmpl</code> - $B$r;2>H$7$F$/$@$5$$!#(B</p> - - <p><strong>$B;2>H(B</strong>: <a - href="#clearmodulelist">ClearModuleList</a> $B$H(B <a - href="mod_so.html#loadmodule">LoadModule</a></p> - <hr /> - - <h2><a id="allowoverride" name="allowoverride">AllowOverride - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AllowOverride - All|None|<em>directive-type</em> [<em>directive-type</em>] - ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>AllowOverride - All</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B%5!<%P$,(B (<a - href="#accessfilename">AccessFileName</a> $B$K$h$C$F;XDj$5$l$?(B) - .htaccess $B%U%!%$%k$r8+$D$1$?;~!"$=$N%U%!%$%k$NCf$G(B - $B@k8@$5$l$?$I$N%G%#%l%/%F%#%V$,$h$jA0$KDj5A$5$l$?%"%/%;%9>pJs$r(B - $B>e=q$-$G$-$k$+$rCN$kI,MW$,$"$j$^$9!#(B</p> - - <p><strong>Note:</strong> <code>AllowOverride</code> is only - valid in <Directory> sections, not in <Location> or - <Files> sections, as implied by the <strong>Context</strong> - section above.</p> - - <p>$B$3$N%G%#%l%/%F%#%V$r(B None $B$K@_Dj$9$k$H!"(B.htaccess - $B%U%!%$%k$O40A4$KL5;k$5$l$^$9!#(B - $B$3$N>l9g!"%5!<%P$O%U%!%$%k%7%9%F%`$N(B .htaccess - $B%U%!%$%k$rFI$`$3$H$r;n$_$5$($7$^$;$s!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$,(B <code>All</code> $B$K@_Dj$5$l$F$$$k$H$-$K$O!"(B - .htaccess $B$H$$$&(B <a - href="directive-dict.html#Context">$B%3%s%F%-%9%H(B</a> - $B$r;}$D$9$Y$F$N%G%#%l%/%F%#%V$,MxMQ$G$-$^$9!#(B</p> - - <p><em>directive-type</em> - $B$K$O!"0J2<$N%G%#%l%/%F%#%V72$N%-!<%o!<%I$N$I$l$+$r;XDj$7$^$9!#(B</p> - - <dl> - <dt>AuthConfig</dt> - - <dd> - - $BG'>Z$K4X$9$k%G%#%l%/%F%#%V$N;HMQ$r5v2D$9$k(B (<a - href="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a>, - <a - href="mod_auth_dbm.html#authdbmuserfile">AuthDBMUserFile</a>, - <a href="mod_auth.html#authgroupfile">AuthGroupFile</a>, <a - href="#authname">AuthName</a>, <a - href="#authtype">AuthType</a>, <a - href="mod_auth.html#authuserfile">AuthUserFile</a>, <a - href="#require">Require</a> <em>$B$J$I(B</em>)$B!#(B</dd> - - <dt>FileInfo</dt> - - <dd> - $B%I%-%e%a%s%H%?%$%W$r@)8f$9$k$?$a$N%G%#%l%/%F%#%V$N;HMQ$r5v2D$9$k(B (<a - href="mod_mime.html#addencoding">AddEncoding</a>, <a - href="mod_mime.html#addlanguage">AddLanguage</a>, <a - href="mod_mime.html#addtype">AddType</a>, <a - href="#defaulttype">DefaultType</a>, <a - href="#errordocument">ErrorDocument</a>, <a - href="mod_negotiation.html#languagepriority">LanguagePriority</a> - <em>$B$J$I(B</em>)$B!#(B</dd> - - <dt>Indexes</dt> - - <dd> - $B%G%#%l%/%H%j%$%s%G%C%/%9$r@)8f$9$k$?$a$N%G%#%l%/%F%#%V$N;HMQ$r5v2D$9$k(B - (<a - href="mod_autoindex.html#adddescription">AddDescription</a>, - <a href="mod_autoindex.html#addicon">AddIcon</a>, <a - href="mod_autoindex.html#addiconbyencoding">AddIconByEncoding</a>, - <a href="mod_autoindex.html#addiconbytype">AddIconByType</a>, - <a href="mod_autoindex.html#defaulticon">DefaultIcon</a>, <a - href="mod_dir.html#directoryindex">DirectoryIndex</a>, <a - href="mod_autoindex.html#fancyindexing">FancyIndexing</a>, <a - href="mod_autoindex.html#headername">HeaderName</a>, <a - href="mod_autoindex.html#indexignore">IndexIgnore</a>, <a - href="mod_autoindex.html#indexoptions">IndexOptions</a>, <a - href="mod_autoindex.html#readmename">ReadmeName</a> - <em>$B$J$I(B</em>)$B!#(B</dd> - - <dt>Limit</dt> - - <dd> - $B%[%9%H$X$N%"%/%;%9@)8f$r9T$&$?$a$N%G%#%l%/%F%#%V$N;HMQ$r5v2D$9$k(B (<a - href="mod_access.html#allow">Allow</a>, - <a href="mod_access.html#deny">Deny</a> - and <a href="mod_access.html#order">Order</a>).</dd> - - <dt>Options</dt> - - <dd> - $BFCDj$N%G%#%l%/%H%j$K$*$1$k5!G=$r;XDj$9$k$?$a$N%G%#%l%/%F%#%V$N;HMQ$r5v2D$9$k(B - (<a href="#options">Options</a> $B$H(B <a - href="mod_include.html#xbithack">XBitHack</a>).</dd> - </dl> - - <p>$BNc(B:</p> - <blockquote><code>AllowOverride AuthConfig Indexes</code></blockquote> - - <p><strong>$B;2>H(B:</strong> <a - href="#accessfilename">AccessFileName</a> $B5Z$S(B <a - href="../configuring.html">$B@_Dj%U%!%$%k$N5-=R(B</a></p> - <hr /> - - <h2><a id="authname" name="authname">AuthName - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AuthName - <em>auth-domain</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B$3$N%G%#%l%/%F%#%V$O%G%#%l%/%H%j$KBP$9$kG'2DNN0h(B ($BLuCm(B: realm) - $B$NL>A0$r;XDj$7$^$9!#(B - $BG'2DNN0h$O!"MxMQ<T$,$I$N%f!<%6L>$H%Q%9%o!<%I$rAw?.$9$l$P$h$$$N$+$r(B - $B%/%i%$%"%s%H$K65$($k$?$a$KMxMQ$7$^$9!#(B - <samp>AuthName</samp> $B$O0l$D$N0z?t$r<h$j!"(B - $B%9%Z!<%9$,4^$^$l$k>l9g$K$O!"0zMQId$G0O$^$J$1$l$P$J$j$^$;$s!#(B - $B$3$N%G%#%l%/%F%#%V$O(B - <a href="#authtype">AuthType</a> $B%G%#%l%/%F%#%V$d(B - <a href="#require">Require</a> $B%G%#%l%/%F%#%V5Z$S!"(B - <a href="mod_auth.html#authuserfile">AuthUserFile</a> $B$d(B <a - href="mod_auth.html#authgroupfile">AuthGroupFile</a> - $B$J$I$N%G%#%l%/%F%#%V$H0l=o$KMxMQ$9$kI,MW$,$"$j$^$9!#(B</p> - - <p>$BNc(B:</p> - - <blockquote><code>AuthName "$BHkL)$N%Q%9%o!<%I(B"</code></blockquote> - - <p>$B$3$3$G(B <code>AuthName</code> $B$K;XDj$7$?J8;zNs$,!"(B - $BBgItJ,$N%V%i%&%6$N%Q%9%o!<%I%@%$%"%m%0$KI=<($5$l$^$9!#(B</p> - - <p><strong>$BLuCm(B:</strong> - $B0z?t$KM?$($kJ8;zNs$O1Q?t;z$d%O%$%U%s$J$I$N5-9f$N$_$rMxMQ$9$k$Y$-$G$9$,!"(B2 - $B%P%$%HJ8;z$r;XDj$7$?>l9g$G$b!"(B - Apache $B$ODL>o$NJ8;zNsF1MM$K%/%i%$%"%s%H$XAw=P$7$^$9!#(B - ($B$?$@%5%]!<%H$,I=L@$5$l$F$$$k$o$1$G$O$"$j$^$;$s(B)</p> - - <p><strong>$B;2>H(B:</strong> <a - href="../howto/auth.html">$BG'>Z!">5G'!"%"%/%;%9@)8f(B</a></p> - <hr /> - - <h2><a id="authtype" name="authtype">AuthType - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AuthType - Basic|Digest<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B$3$N%G%#%l%/%F%#%V$OBP>]%G%#%l%/%H%j$GMxMQ$9$k%f!<%6!<G'>Z$N<oN`$rA*$S$^$9!#(B - $B$?$@!"8=:_$N$H$3$m$O(B <code>Basic</code> $B<c$7$/$O(B - <code>Digest</code> $B$7$+<BAu$5$l$F$$$^$;$s!#(B - - $B$3$N%G%#%l%/%F%#%V$O(B - <a href="#authtype">AuthType</a> $B%G%#%l%/%F%#%V$d(B - <a href="#require">Require</a> $B%G%#%l%/%F%#%V5Z$S!"(B - <a href="mod_auth.html#authuserfile">AuthUserFile</a> $B$d(B <a - href="mod_auth.html#authgroupfile">AuthGroupFile</a> - $B$J$I$N%G%#%l%/%F%#%V$H0l=o$KMxMQ$9$kI,MW$,$"$j$^$9!#(B</p> - - <p><strong>$B;2>H(B:</strong> <a - href="../howto/auth.html">$BG'>Z!">5G'!"%"%/%;%9@)8f(B</a></p> - <hr /> - - <h2><a id="bindaddress" name="bindaddress">BindAddress - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> BindAddress - *|<em>IP-address</em>|<em>domain-name</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>BindAddress - *</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> BindAddress $B$O(B - $BHs?d>)$G(B Apache 2.0 $B$G$O:o=|$5$l$^$9!#(B - - <p>Unix® $B$K$*$$$F(B HTTP $B%5!<%P$O!"%5!<%P$N$9$Y$F$N(B IP - $B%"%I%l%9$r(B listen $B$9$k$3$H$,$G$-!"0l$D$N(B IP $B%"%I%l%9$@$1$r(B - listen $B$9$k$3$H$b$G$-$^$9!#$3$N%G%#%l%/%F%#%V$K(B * - $B$r;XDj$9$k$H!"%5!<%P$O$9$Y$F$N(B IP $B%"%I%l%9>e$G(B listen - $B$r9T$$$^$9!#$=$l0J30$N>l9g$O!"FCDj$N(B <em>IP-address</em> $B$+(B - <em>domain-name</em> $B$N$_$G(B listen $B$7$^$9!#(B</p> - - <p>$BNc(B:</p> - - <code>BindAddress 192.168.15.48</code><br /> - - <p>$B$J$*!"(B<code>BindAddress</code> - $B%G%#%l%/%F%#%V$O0l$D$7$+MxMQ$G$-$^$;$s!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O(B Apache 2.0 $B$K$*$$$F$OHs?d>)$G!"<h$j=|$+$l$F$$$^$9!#(B - $BBe$o$j$K!"F1Ey$N5!G=$r;}$A$+$DJ#?t$N%"%I%l%9$d%]!<%H$K$*$$$F(B - listen $B$G$-$k$h$&$K$J$C$?(B - <code><a href="#listen">Listen</a></code> - $B%G%#%l%/%F%#%V$rMxMQ$G$-$^$9!#(B</p> - <p>BindAddress $B$O!"(B<code><a - href="#virtualhost"><VirtualHost></a></code> - $B%;%/%7%g%s$r;H$&Be$o$j$K!"J#?t$N%5!<%P$r5/F0$7$F(B<a - href="../vhosts/">$B%P!<%A%c%k%[%9%H(B</a>$B$r%5%]!<%H$9$k(B - $B$?$a$KMxMQ$9$k$3$H$,$G$-$^$9!#(B</p> - - <p><strong>$B;2>H(B:</strong> - <a href="../dns-caveats.html">DNS $B$K4X$9$kLdBj(B</a><br /> - <strong>$B;2>H(B:</strong> <a href="../bind.html">Apache - $B$,MxMQ$9$k%"%I%l%9$H%]!<%H$N@_Dj(B</a></p> - <hr /> - - <h2><a id="bs2000account" name="bs2000account">BS2000Account - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> BS2000Account - <em>account</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>none</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> BS2000Account $B$O(B BS2000 - $B%^%7%s$G$+$D(B Apache 1.3.22 $B0J9_$G$N$_MxMQ2DG=$G$9!#(B - - <p><code>BS2000Account</code> $B%G%#%l%/%F%#%V$O!"(BBS2000 - $B%[%9%H$G$N$_M-8z$G$"$j!"(B(<a href="#user">User</a> - $B%G%#%l%/%F%#%V$rMxMQ$7$F(B) Apache - $B$r<B9T$9$k8"8B$r4IM}<T0J30$N%"%+%&%s%HHV9f$K;XDj$9$kI,MW$,$"$j$^$9!#(B - $B$3$l$O!"(BCGI $B%9%/%j%W%H$,!"DL>o(B SYSROOT - $B$G$"$k!"%5!<%P$r5/F0$7$?4IM}<T8"8B$r;}$D%"%+%&%s%H$N(B - $B%j%=!<%9$K%"%/%;%9$G$-$J$$$h$&$K$9$k$?$a$K!"(B - ($B%5%V%m%0%$%s$K$h$C$F!"(BBS2000 $B$N%?%9%/4D6-2<$KCV$+$l$k(B) BS2000 $B$N(B - POSIX $B%5%V%7%9%F%`$K$*$$$FI,MW$G$9!#(B<code>BS2000Account</code> - $B%G%#%l%/%F%#%V$O(B 1 $B2s$@$1MxMQ$G$-$^$9!#(B</p> - - <p><strong>$B;2>H(B:</strong> <a href="../ebcdic.html">Apache $B$N(B - EBCDIC $B$X$N0\?"HG(B</a></p> - <hr /> - - <h2><a id="clearmodulelist" - name="clearmodulelist">ClearModuleList $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ClearModuleList<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> ClearModuleList - $B$O(B Apache 1.2 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B%5!<%P$O$"$i$+$8$aM-8z$J%b%8%e!<%k$N0lMw$r;}$C$F$$$^$9!#(B - $B$3$N%G%#%l%/%F%#%V$O$=$N0lMw$r%/%j%"$7$^$9!#8e$G(B - <a href="#addmodule">AddModule</a> $B%G%#%l%/%F%#%V$r;H$C$F(B - $B%b%8%e!<%k$r0lMw$K:F$S2C$($k$3$H$,4|BT$5$l$F$$$^$9!#(B</p> - <hr /> - - <p><strong>$B;2>H(B</strong>: <a - href="#addmodule">AddModule</a> $B$H(B <a - href="mod_so.html#loadmodule">LoadModule</a></p> - - <h2><a id="contentdigest" name="contentdigest">ContentDigest - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ContentDigest - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ContentDigest - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> Options<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> experimental<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> ContentDigest $B$O(B Apache 1.1 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(BRFC1864 $B5Z$S(B RFC2068 $B$K$*$$$FDj5A$5$l$F$$$k(B - <code>Content-MD5</code> $B%X%C%@$N@8@.$rM-8z$K$7$^$9!#(B</p> - - <p>MD5 $B$O!"G$0UD9$N%G!<%?$N!V%a%C%;!<%8%@%$%8%'%9%H!W(B($B!V;XLf!W(B - $B$HI=8=$5$l$k$3$H$b$"$k(B) $B$r7W;;$9$k%"%k%4%j%:%`$G!"(B - $B%G!<%?$NJQ99$,$"$C$?>l9g$K$OHs>o$K9b$$?.MjEY$G(B - $B%a%C%;!<%8%@%$%8%'%9%H$KJQ99$,H?1G$5$l$^$9!#(B</p> - - <p><code>Content-MD5</code> $B%X%C%@$O!"%(%s%I%D!<%(%s%I$G(B - $B%(%s%F%#%F%#%\%G%#!<$K4^$^$l$k%a%C%;!<%8$N40A4@-%A%'%C%/(B - (Message Integrity Check - MIC)$B$rDs6!$7$^$9!#(B - $B$3$N%X%C%@$rD4$Y$k$3$H$G!"%W%m%-%7$d%/%i%$%"%s%H$O!"(B - $BESCf7PO)$K$*$1$k%(%s%F%#%F%#%\%G%#$NM=4|$;$LJQ99$J$I$r(B - $B8!=P$9$k$3$H$,$G$-$^$9!#%X%C%@$NNc(B:</p> -<pre> - Content-MD5: AuLb7Dp1rqtRtxz2m9kRpA== -</pre> - - <p>$B%j%/%(%9%H$4$H$K%a%C%;!<%8%@%$%8%'%9%H$r7W;;$9$k(B - ($BCM$O%-%c%C%7%e$5$l$^$;$s(B) $B$3$H$+$i!"(B - $B%5!<%P%Q%U%)!<%^%s%9$,Dc2<$9$k$3$H$K$D$$$FCm0U$7$F$/$@$5$$!#(B</p> - - <p><code>Content-MD5</code > - $B$O!"%3%"5!G=$K$h$j=hM}$5$l$?%I%-%e%a%s%H$rAw$k$H$-$N$_M-8z$G$"$j!"(B - SSI $B%I%-%e%a%s%H$d(B CGI $B%9%/%j%W%H$N=PNO!"(B - $B%P%$%H%l%s%8$r;XDj$7$?1~Ez$N>l9g$K$O$3$N%X%C%@$OIUM?$5$l$^$;$s!#(B - </p> - <hr /> - - <h2><a id="coredumpdirectory" - name="coredumpdirectory">CoreDumpDirectory $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> CoreDumpDirectory - <em>$B%G%#%l%/%H%j%Q%9(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> ServerRoot $B$HF1$8>l=j(B<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B$3$l$K$h$j!"(BApache - $B$,%3%"%@%s%W$r$9$kA0$K0\F0$9$k$?$a$N%G%#%l%/%H%j$r;XDj$G$-$^$9!#(B - $B%G%U%)%k%H$N>l9g$O!"(B<a href="#serverroot">ServerRoot</a> - $B$K$*$$$F;XDj$7$?%G%#%l%/%H%j$H$J$k$b$N$N!"(B - $BDL>o$N>l9g$O%5!<%P$r<B9T$7$F$$$k%f!<%6$K$h$C$F=q$-9~$_8"8B$,L5$/!"(B - $B%3%"%@%s%W$,;D$5$l$k$3$H$O$"$j$^$;$s!#(B - $B$b$7!"%G%P%C%0$N$?$a$K%3%"%@%s%W$,I,MW$J$N$G$"$l$P!"(B - $B$3$N%G%#%l%/%F%#%V$K$h$j0c$&>l=j$K@_Dj$r$9$k$3$H$,$G$-$^$9!#(B - </p> - - <p>$B@_DjNc(B:</p> - - <blockquote> - <code>CoreDumpDirectory /tmp</code> - </blockquote> - - <hr /> - - <h2><a id="defaulttype" name="defaulttype">DefaultType - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> DefaultType - <em>MIME-type</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>DefaultType - text/html</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B%5!<%P$O!"(BMIME $B$N%?%$%W%^%C%W$+$i$O7hDj$G$-$J$$(B - $B%I%-%e%a%s%H$NAw?.$rMW5a$5$l$k$3$H$,$"$j$^$9!#(B</p> - - <p>$B%5!<%P$O!"%I%-%e%a%s%H$N%3%s%F%s%H%?%$%W$r%/%i%$%"%s%H$K(B - $BDLCN$9$kI,MW$,$"$j$^$9$N$G!"$3$N$h$&$K%?%$%W$,L$CN$N>l9g$O(B - <code>DefaultType</code> $B$G;XDj$5$l$?%?%$%W$rMxMQ$7$^$9!#(B - $B@_DjNc(B:</p> - - <blockquote> - <code>DefaultType image/gif</code> - </blockquote> - $B$3$l$O(B .gif $B$H$$$&3HD%;R$,%U%!%$%kL>$K4^$^$l$F$$$J$$B?$/$N(B - GIF $B2hA|$,4^$^$l$F$$$k%G%#%l%/%H%j$KE,$7$F$$$k$G$7$g$&!#(B - - <p><strong>$B;2>H(B:</strong> <a - href="mod_mime.html#addtype">AddType</a> $B5Z$S(B <a - href="mod_mime.html#typesconfig">TypesConfig</a></p> - - <hr /> - - <h2><a id="directory" name="directory"><Directory> - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <Directory - <em>directory-path</em>> ... </Directory><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Core. - - <p>$B;XDj$5$l$?%G%#%l%/%H%jG[2<$K$N$_%G%#%l%/%F%#%V$rE,MQ$5$;$k$?$a$K!"(B - <Directory> $B5Z$S(B </Directory> - $B$rBP$H$7$F!"%G%#%l%/%F%#%V72$r0O$&$3$H$,$G$-$^$9!#(B - $B0O$$$NCf$G$O!"%G%#%l%/%H%j%3%s%F%-%9%H$G5v2D$5$l$?$9$Y$F$N(B - $B%G%#%l%/%F%#%V$,MxMQ$G$-$^$9!#(B<em>directive-path</em> - $B$O!"%U%k%Q%9<c$7$/$O%o%$%k%I%+!<%I$K$F;XDj$7$^$9!#(B - `?' $B$OG$0U$N(B 1 $BJ8;z!"(B`*' $B$OG$0U$NJ8;zNs$K%^%C%A$7$^$9!#(BApache 1.3 - $B$N>l9g!"%7%'%k$K$*$1$k;XDjF1MM!"J8;z$NHO0O;XDj$r(B `[ ]' $B$G2DG=$G$9!#(B - $B$^$?!"(BApache 1.3$B$G$O!"(BUNIX $B$N%7%'%k$N5sF0$K;w$;$k$?$a$K!"(B - $B%o%$%k%I%+!<%I$O(B `/' $BJ8;z$K$O%^%C%A$7$^$;$s!#(B - $BNc(B:</p> -<pre> - <Directory /usr/local/httpd/htdocs> - Options Indexes FollowSymLinks - </Directory> -</pre> - - <p><strong>Apache 1.2 $B0J9_$N>l9g(B:</strong> <code>~</code> - $B$H$$$&J8;z$rIU2C$9$k$3$H$G3HD%@55,I=8=$rMxMQ$9$k$3$H$b$G$-$^$9!#(B<br /> - $BNc$($P!"(B</p> -<pre> - <Directory ~ "^/www/.*/[0-9]{3}"> -</pre> - $B$H$$$C$?;XDj$N>l9g!"(B/www/ $B0J2<$K$"$k?t;z(B 3 - $BJ8;z$N%G%#%l%/%H%j$K%^%C%A$7$^$9!#(B - - <p>$B$b$7J#?t$N(B ($B@55,I=8=0J30$N(B) $B%G%#%l%/%H%j%;%/%7%g%s$,(B - $B%I%-%e%a%s%H$r4^$`%G%#%l%/%H%j(B ($B$d$=$N>e0L%G%#%l%/%H%j(B) - $B$H%^%C%A$7$?$J$i$P!"(B<a href="#accessfilename">.htaccess</a> - $B%U%!%$%k$N%G%#%l%/%F%#%V$bFI$_9~$_$D$D!"(B - $BC;$$%Q%9$+$i=g$KE,MQ$5$l$^$9!#(B - $BNc$($P!"(B</p> - - <blockquote> - <code><Directory /><br /> - AllowOverride None<br /> - </Directory><br /> - <br /> - <Directory /home/*><br /> - AllowOverride FileInfo<br /> - </Directory></code> - </blockquote> - $B$H@_Dj$7!"%I%-%e%a%s%H(B <code>/home/web/dir/doc.html</code> - $B$X$N%"%/%;%9$,$"$C$?>l9g$K$O0J2<$N$h$&$KF0:n$7$^$9(B: - - <ul> - <li><code>AllowOverride None</code> $B$,E,MQ$5$l$k!#(B - (<code>.htaccess</code> $B%U%!%$%k$OL58z$K$J$k(B)</li> - - <li><code>AllowOverride FileInfo</code> $B$,E,MQ$5$l$k(B - (<code>/home/web</code> $B%G%#%l%/%H%j$KBP$7$F(B)$B!#(B</li> - - <li><code>/home/web/.htaccess</code> $B$N(B FileInfo - $B%G%#%l%/%F%#%V$,E,MQ$5$l$k!#(B</li> - </ul> - - <p>$B%G%#%l%/%H%j%;%/%7%g%s$K$*$1$k@55,I=8=$K$D$$$F$O!"(BApache 1.2 $B$H(B - 1.3 $B$G<c4307$$$,0c$$$^$9!#(B</p> - - <p>Apache 1.2 $B$N>l9g!"DL>o$N%G%#%l%/%H%j%;%/%7%g%s$,F1$8$/!"(B - $B@_Dj%U%!%$%kFb$K8=$l$k=g$KI>2A$5$l$^$9!#@55,I=8=$N%G%#%l%/%H%j%;%/%7%g%s$O!"(B - $B0lHVC;$/%^%C%A$7$?>l9g$K0lEY$@$1E,MQ$5$l$^$9!#(B - - Apache 1.3 $B$G$O!"(B - $B@55,I=8=$O!"DL>o$N%;%/%7%g%s$,$9$Y$FE,MQ$5$l$k$^$G9MN8$5$l$^$;$s!#(B - $B$=$N8e!"$9$Y$F$N@55,I=8=$,@_Dj%U%!%$%k$K8=$l$?=g$G;n$5$l$^$9!#(B - $BNc$($P!"0J2<$N$h$&$J>l9g$K(B</p> - - <blockquote> - <code><Directory ~ abc$><br /> - ... directives here ...<br /> - </Directory><br /> - </code> - </blockquote> - - $B%"%/%;%9$5$l$F$$$k%U%!%$%kL>$,(B - <code>/home/abc/public_html/abc/index.html</code> - $B$G$"$k$H$7$^$7$g$&!#%5!<%P$O(B <code>/</code>, <code>/home</code>, - <code>/home/abc</code>, <code>/home/abc/public_html</code> $B5Z$S(B - <code>/home/abc/public_html/abc</code> $B$N=g$K9MN8$7$^$9!#(B - Apache 1.2 $B$G$"$l$P!"(B<code>/home/abc</code> - $B$NI>2A$r$9$k:]$K!"@55,I=8=$,%^%C%A$7E,MQ$5$l$^$9!#(B - - Apache 1.3 - $B$N>l9g$O@55,I=8=$O%D%j!<>e$N$=$N;~E@$G$OA4$/9MN8$5$l$^$;$s!#(B - $B$9$Y$F$NDL>o$N(B <Directory> $B$H(B <code>.htaccess</code> - $B%U%!%$%k$,I>2A$5$l$k$^$G!"9MN8$5$l$^$;$s!#$=$N8e!"@55,I=8=$O(B - <code>/home/abc/public_html/abc</code> $B$K%^%C%A$7!"E,MQ$5$l$^$9!#(B - - <p><strong>Apache $B$N%G%U%)%k%H$G$O(B <Directory /> - $B$X$N%"%/%;%9$O(B <samp>Allow from All</samp> - $B$K$J$C$F$$$k$3$H$KCm0U$7$F$/$@$5$$!#$3$l$O!"(BURL - $B$+$i%^%C%W$5$l$?$I$N%U%!%$%k$G$b(B Apache $B$OAw$k$H$$$&$3$H$G$9!#(B - $B$3$l$O0J2<$N$h$&$K$7$FJQ99$9$k$3$H$,?d>)$5$l$F$$$^$9!#(B</strong></p> -<pre> - <Directory /> - Order Deny,Allow - Deny from All - </Directory> -</pre> - - <p><strong>$B$=$7$F%"%/%;%9$r(B<em>$B2DG=$K$7$?$$(B</em> - $B%G%#%l%/%H%j$KBP$7$F8DJL$K@_Dj$9$l$P$h$$$G$7$g$&!#(B - $B$3$N$"$?$j$K$D$$$F$O!"(B<a href="../misc/security_tips.html" - >$B%;%-%e%j%F%#$K4X$9$k%3%D(B</a>$B$r;2>H$7$F$/$@$5$$!#(B</strong></p> - $B%G%#%l%/%H%j%;%/%7%g%s$O(B access.conf - $B%U%!%$%k$KB8:_$9$k$N$,0lHLE*$G$9$,!"(B - $B$I$N$h$&$J@_Dj%U%!%$%kCf$K$G$b;XDj$G$-$^$9!#(B - <Directory> $B%G%#%l%/%F%#%V$OF~$l;R$K$9$k$3$H$,$G$-$:!"(B - <a href="#limit"><Limit></a> $B$d(B <a - href="#limitexcept"><LimitExcept></a> - $B%;%/%7%g%s$NCf$K$b5-=R$G$-$^$;$s!#(B - - <p><strong>$B;2>H(B</strong>: $B%j%/%(%9%H$r<u$1$?:]$K!"(B - $B0[$J$kJ#?t$N%;%/%7%g%s$,$I$N$h$&$K$7$FAH$_9g$o$5$l$k$N$+$K$D$$$F$O(B - <a href="../sections.html">Directory, Location $B5Z$S(B Files - $B%;%/%7%g%s$,$I$N$h$&$KF0:n$9$k$N$+(B</a></p> - <p><strong>$B;2>H(B</strong>: <a - href="#directorymatch">DirectoryMatch</a></p> - <hr /> - - <h2><a id="directorymatch" - name="directorymatch"><DirectoryMatch></a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <DirectoryMatch - <em>regex</em>> ... </DirectoryMatch> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Core.<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 $B0J9_$G;HMQ2DG=(B - - <p>$B;XDj$5$l$?%G%#%l%/%H%jG[2<$K$N$_%G%#%l%/%F%#%V$rE,MQ$5$;$k$?$a$K!"(B - <a href="#directory"><Directory></a> $B$HF1MM$K(B - <DirectoryMatch> $B5Z$S(B </DirectoryMatch> - $B$rBP$H$7$F!"%G%#%l%/%F%#%V72$r0O$&$3$H$,$G$-$^$9!#(B - $B$?$@$7!"0z?t$O@55,I=8=$H$J$j$^$9!#Nc$($P!"(B</p> -<pre> - <DirectoryMatch "^/www/.*/[0-9]{3}"> -</pre> - - <p>$B$H$$$C$?;XDj$N>l9g$O(B /www/ $B0J2<$K$"$k?t;z(B 3 - $BJ8;z$N%G%#%l%/%H%j$K%^%C%A$7$^$9!#(B</p> - - <p><strong>$B;2>H(B:</strong> - $BDL>o$N(B <Directory> - $B%;%/%7%g%s$H0l=o$K@55,I=8=$rMxMQ$9$k$?$a$N2r@b$H$7$F$O(B - <a href="#directory"><Directory></a><br /> - <strong>$B;2>H(B</strong>: $B%j%/%(%9%H$r<u$1$?:]$K!"(B - $B0[$J$kJ#?t$N%;%/%7%g%s$,$I$N$h$&$K$7$FAH$_9g$o$5$l$k$N$+$K$D$$$F$O(B - <a href="../sections.html">Directory, Location $B5Z$S(B Files - $B%;%/%7%g%s$,$I$N$h$&$KF0:n$9$k$N$+(B</a></p> - <hr /> - - <h2><a id="documentroot" name="documentroot">DocumentRoot - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> DocumentRoot - <em>directory-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>DocumentRoot - /usr/local/apache/htdocs</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(Bhttpd - $B$,%U%!%$%k$rDs6!$9$k%G%#%l%/%H%j$r@_Dj$7$^$9!#(BAlias - $B$N$h$&$J%G%#%l%/%F%#%V$K%^%C%A$7$J$$>l9g$K$O!"%I%-%e%a%s%H$N(B - ($BLuCm(B:$B%U%!%$%k%7%9%F%`>e$N(B) $B%Q%9$r@8@.$9$k$?$a$K!"%j%/%(%9%H$5$l$?(B - URL $B$N%Q%9ItJ,$r%I%-%e%a%s%H%k!<%H$KIUM?$7$^$9!#(B - $BNc(B:</p> - - <blockquote> - <code>DocumentRoot /usr/web</code> - </blockquote> - $B$3$N>l9g!"(B - <code>http://www.my.host.com/index.html</code> $B$X$N%"%/%;%9$,$"$l$P(B - <code>/usr/web/index.html</code> $B$,JV$5$l$^$9!#(B - - <p>$B$H$3$m$G!"(BDocumentRoot - $B$N0z?t$N%Q%9$N:G8e$NJ8;z$K%9%i%C%7%e$,;XDj$5$l$F$$$k$H(B - (<em>$BNc$($P(B</em>$B!"(B"DocumentRoot /usr/web/" $B$N$h$&$K(B) - $BLdBj$,5/$3$k$H$$$&(B mod_dir $B$N%P%0$,$"$k$h$&$G$9!#(B - $B$=$N$?$a!"$3$N$h$&$J;XDj$O$7$J$$$h$&$K$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="ebcdicconvert" - name="ebcdicconvert">EBCDICConvert</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> EBCDICConvert - On|Off[=<em>direction</em>] <em>extension</em> - [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> EBCDICConvert $B$O(B - Apache 1.3.19 $B0J9_$G$+$D(B EBCDIC - $B%Y!<%9$N%W%i%C%H%U%)!<%`$K$*$$$F$N$_MxMQ2DG=$G$9!#(B - - <p>EBCDICConvert - $B%G%#%l%/%F%#%V$OM?$($i$l$?%U%!%$%k$N3HD%;R$r;XDj$NJQ49@_Dj(B - (<samp>On</samp> $B$+(B <samp>Off</samp>) $B$K%^%C%W$7$^$9!#(B - $B3HD%;R$N:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> - - <p>$B%*%W%7%g%s$N7A<0(B <samp>On=<i>direction</i></samp> ($B$d(B - <samp>Off=<i>direction</i></samp>) $B$,;XDj$5$l$k$H(B (<i>direction</i> - $B$O(B <samp>In</samp>, <samp>Out</samp>, <samp>InOut</samp> $B$N$I$l$+(B)$B!"(B - $B%G%#%l%/%F%#%V$O;XDj$5$l$?8~$-$K$@$1E,MQ$5$l$^$9(B (<samp>In</samp>: - PUT $B$d(B POST $B%j%/%(%9%H$G%3%s%F%s%D$r%"%C%W%m!<%I!"(B<samp>Out</samp>: - GET $B$d(B POST $B%j%/%(%9%H$GJV$5$l$k%3%s%F%s%D!"(B<samp>InOut</samp>: - $BN>J}$N8~$-$GJQ49(B)$B!#(B<br /> - $B$=$l0J30$N7A<0$G$O!"(B<samp>InOut</samp> ($BN>J}$N8~$-$GJQ49(B) - $B$G$"$k$H$_$J$5$l$^$9!#(B</p> - - <p>$B0lHLE*$J(B MIME $B$K4p$E$$$?%k!<%k$r!"(B - $B$h$j:Y$+$$%U%!%$%k$N3HD%;R$K4p$E$$$?%k!<%k$,>e=q$-$G$-$k$h$&$K!"(B - $B3HD%;R$K4p$E$$$?@_Dj$O(B MIME - $B%?%$%W$K4p$E$$$?@_Dj$h$jA0$K;n$5$l$^$9!#(B</p> - - <p><strong>$BNc(B</strong>:<br /> - $B0J2<$N@_Dj$G$O!"IaDL$N(B <samp>*.html</samp> $B%U%!%$%k$O(B - EBCDIC $B%(%s%3!<%G%#%s%0$N(B HTML $B$G!"(B<samp>*.ahtml</samp> $B%U%!%$%k$O(B - ASCII $B%(%s%3!<%G%#%s%0$N(B HTML $B$G$9(B:</p> - -<pre> - # *.html $B$H(B *.ahtml $B$O(B HTML: - AddType text/html .html .ahtml - - # *.ahtml $B$OJQ49$5$l$J$$(B ($B4{$K(B ASCII $B$K$J$C$F$$$k(B): - EBCDICConvert Off .ahtml - - # $BB>$N$9$Y$F$N(B text/html $B%U%!%$%k$O(B EBCDIC $B$N$O$:(B: - EBCDICConvertByType On text/html -</pre> - <br /> - <br /> - - - <p><strong>$B;2>H(B</strong>: <a - href="#ebcdicconvertbytype">EBCDICConvertByType</a> $B$H(B <a - href="../ebcdic.html#ebcdic">EBCDICConvertByType - $BJQ494X?t$N35MW(B</a></p> - <hr /> - - <h2><a id="ebcdicconvertbytype" - name="ebcdicconvertbytype">EBCDICConvertByType</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> EBCDICConvertByType - On|Off[=<em>direction</em>] <em>mimetype</em> - [<em>mimetype</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> EBCDICConvertByType $B$O(B - Apache 1.3.19 $B0J9_$G$+$D(B EBCDIC $B%Y!<%9$N%W%i%C%H%U%)!<%`$K$*$$$F$N$_(B - $BMxMQ2DG=$G$9!#(B - - <p>EBCDICConvertByType $B%G%#%l%/%F%#%V$OM?$($i$l$?(B MIME $B%?%$%W(B - ($B%o%$%k%I%+!<%I$b2D(B) $B$r;XDj$5$l$?JQ49@_Dj(B (<samp>On</samp> $B$+(B - <samp>Off</samp>) $B$K%^%C%W$7$^$9!#(B</p> - - <p>$B%*%W%7%g%s$N7A<0(B <samp>On=<i>direction</i></samp> ($B$d(B - <samp>Off=<i>direction</i></samp>) $B$,;XDj$5$l$k$H(B (<i>direction</i> - $B$O(B <samp>In</samp>, <samp>Out</samp>, <samp>InOut</samp> $B$N$I$l$+(B)$B!"(B - $B%G%#%l%/%F%#%V$O;XDj$5$l$?8~$-$K$@$1E,MQ$5$l$^$9(B (<samp>In</samp>: - PUT $B$d(B POST $B%j%/%(%9%H$G%3%s%F%s%D$r%"%C%W%m!<%I!"(B<samp>Out</samp>: - GET $B$d(B POST $B%j%/%(%9%H$GJV$5$l$k%3%s%F%s%D!"(B<samp>InOut</samp>: - $BN>J}$N8~$-$GJQ49(B)$B!#(B<br /> - $B$=$l0J30$N7A<0$G$O!"(B<samp>InOut</samp> ($BN>J}$N8~$-$GJQ49(B) - $B$G$"$k$H$_$J$5$l$^$9!#(B</p> - - <p><strong>$BNc(B</strong>:<br /> - $BM-MQ$JI8=`@_Dj$K$O0J2<$N%G%U%)%k%H$,$"$k$Y$-$G$9(B:</p> -<pre> - # $B$9$Y$F$N%F%-%9%H%I%-%e%a%s%H$O(B EBCDIF $B$N%U%!%$%k(B: - EBCDICConvertByType On text/* message/* multipart/* - EBCDICConvertByType On application/x-www-form-urlencoded \ - model/vrml application/postscript - # $B$9$Y$F$NB>$N%U%!%$%k$O%P%$%J%j$H$_$J$9(B - EBCDICConvertByType Off */* -</pre> - $BNc$($P(B NFS $B$G%^%&%s%H$5$l$?(B unix - $B%5!<%P$+$i%I%-%e%a%s%H$rAw$k!"$H$$$&$h$&$K(B - ASCII $B$N%I%-%e%a%s%H$N$_$r07$&>l9g$O!"0J2<$N$h$&$K$7$F$/$@$5$$(B: -<pre> - # $B$9$Y$F$N%I%-%e%a%s%H$O4{$K(B ASCII - EBCDICConvertByType Off */* -</pre> - - <p><strong>$B;2>H(B</strong>: <a - href="#ebcdicconvert">EBCDICConvert</a> $B$H(B <a - href="../ebcdic.html#ebcdic">EBCDIC $BJQ494X?t$N35MW(B</a></p> - <hr /> - - <h2><a id="ebcdickludge" - name="ebcdickludge">EBCDICKludge</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> EBCDICKludge - On|Off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>EBCDICKludge - Off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> EBCDICKludge $B$O(B Apache - 1.3.19 $B0J9_$G(B EBCDIC $B%Y!<%9$N%W%i%C%H%U%)!<%`$G$N$_;HMQ2DG=$G$9!#(B - $BHs?d>)$G!">-Mh$N%P!<%8%g%s$G$O:o=|$5$l$kM=Dj$G$9!#(B<br /> - - <p>EBCDICKludge $B$O(B apache $B$N%P!<%8%g%s(B 1.3.0 $B$+$i(B 1.3.18 - $B$H$N8_49@-$rJ]$D$?$a$KDs6!$5$l$F$$$^$9!#$=$l$i$N%P!<%8%g%s$G$O!"(B - "text/", "message/", "multipart" $B$G;O$^$k(B MIME $B%?%$%W$H!"(B - "application/x-www-form-urlencoded" - $B$N$9$Y$F$N%U%!%$%k$O%G%U%)%k%H$GJQ49$5$l!"(B - $BB>$N$9$Y$F$N%I%-%e%a%s%H$OL5JQ49$GAw$i$l$F$$$^$7$?!#(B - "<samp>text/<b>x-ascii-</b><i>subtype</i></samp>" - $B$,%I%-%e%a%s%H$KBP$7$F@_Dj$5$l$F$$$k>l9g$K$N$_!"%I%-%e%a%s%H$O(B - ASCII $B%U%)!<%^%C%H$G$"$k$H$_$J$5$l!":FJQ49$5$l$^$;$s$G$7$?!#(B - $BJQ49$9$kBe$o$j$K!"(B"<samp><b>x-ascii-</b></samp>" - $B$,%?%$%W$+$i<h$j=|$+$l!"(B"<samp>text/<i>subtype</i></samp>" - $B$,%I%-%e%a%s%H$N(B MIME $B%?%$%W$K$J$C$F$$$^$7$?!#(B</p> - - <p>EBCDICKludge $B%G%#%l%/%H%j$,(B <samp>On</samp> $B$K@_Dj$5$l$F$$$F!"(B - <a href="#ebcdicconvert">EBCDICConvert</a> $B%G%#%l%/%F%#%V$,$=$3$N(B - $B%3%s%F%-%9%H$K%^%C%A$9$l$P!"%5!<%P$O(B - <samp><i>type/</i><b>x-ascii-</b><i>subtype</i></samp> $B$H$$$&7A<0$N(B - MIME $B%?%$%W$rD4$Y$^$9!#%I%-%e%a%s%H$K$=$N$h$&$J%?%$%W$,$"$l$P!"(B - "<samp><b>x-ascii-</b></samp>" $B$,<h$j=|$+$l$F!"JQ49$O(B <samp>Off</samp> - $B$K@_Dj$5$l$^$9!#Nc$($P(B NFS $B$G%^%&%s%H$5$l$?%G%#%l%/%H%j$N(B - ASCII $B$N%I%-%e%a%s%H$rAw$C$F$$$k$h$&$J>l9g$K!"$3$l$K$h$j(B - $B$9$Y$F$N%F%-%9%H%U%!%$%k$O(B EBCDIC - $B$G$"$k$H$$$&A0Ds$rJQ99$9$k$3$H$,$G$-$^$9!#(B<br /> - EBCDICKludge $B$G$O!"B>$N(B MIME $B%?%$%W(B (<em>$BNc$($P(B</em> model/vrml) $B$r(B - EBCDIC $B$N%F%-%9%H%U%!%$%k$H$7$F07$&$3$H$O$G$-$^$;$s!#(B - $B$=$N$h$&$JJQ49$K$O>e5-$N(B <a - href="#ebcdicconvertbytype">EBCDICConvertByType</a> - $B%G%#%l%/%F%#%V$N;HMQ$,$h$jNI$$J}K!$G$9!#(B(Apache $B%P!<%8%g%s(B 1.3.19 - $B$h$jA0$G$O!"%P%$%J%j%I%-%e%a%s%H$r(B EBCDIC - $B%F%-%9%H%U%!%$%k$H$7$F07$&J}K!$OA4$/$"$j$^$;$s$G$7$?(B)$B!#(B</p> - - <p><strong>$B;2>H(B</strong>: <a - href="#ebcdicconvert">EBCDICConvert</a>, <a - href="#ebcdicconvertbytype">EBCDICConvertByType</a> $B$H(B <a - href="../ebcdic.html#ebcdic">EBCDIC $BJQ494X?t$N35MW(B</a></p> - <hr /> - - <h2><a id="errordocument" name="errordocument">ErrorDocument - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ErrorDocument - <em>error-code document</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> $B%G%#%l%/%H%j<c$7$/$O(B .htaccess - $B%3%s%F%-%9%H$K$*$$$F$N;XDj$O(B Apache 1.1 $B0J9_$G$N$_MxMQ2DG=$G$9!#(B - - <p>$BLdBj$d%(%i!<$,H/@8$7$?$H$-$NF0:n$H$7$F!"(B - Apache $B$K$O0J2<$N;M$D$N$&$A0l$D$NF0:n$r@_Dj$9$k$3$H$,$G$-$^$9!#(B</p> - - <ol> - <li>Apache $BI8=`$N4JC1$J%(%i!<%a%C%;!<%8$rI=<((B</li> - - <li>$B<+J,$G;XDj$7$?%a%C%;!<%8$rI=<((B</li> - - <li>$BLdBj$d%(%i!<$N=hM}$r$9$k0Y$K!"<+%5!<%PFb$N(B - <em>URL-path</em> $B$X%j%@%$%l%/%H(B</li> - - <li>$BLdBj$d%(%i!<$N=hM}$r$9$k0Y$K!"30It$N(B <em>URL</em> - $B$X%j%@%$%l%/%H(B</li> - </ol> - - <p>$B:G=i$N$b$N$,%G%U%)%k%H$NF0:n$G!"(B2 $BHVL\$+$i(B 4 $BHVL\$O!"(B - <code>ErrorDocument</code> $B%G%#%l%/%F%#%V$K$h$j!"(BHTTP - $B$N%l%9%]%s%9%3!<%I$H!"%a%C%;!<%8$+(B URL $B$r;XDj$9$k$3$H$G@_Dj$7$^$9!#(B</p> - - <p><em>$B%a%C%;!<%8(B</em>$B$r5-=R$9$k>l9g$K$O!"Fs=E0zMQId(B 1 $BJ8;z(B - (<code>"</code>) $B$r:G=i$KIUM?$7$^$9!#(B - $BFs=E0zMQId$O%a%C%;!<%8$K$O4^$^$l$^$;$s!#(B - Apache $B$O>l9g$K$h$C$F!"LdBj$d%(%i!<$K$D$$$FIU2CE*$J>pJs$rDs6!$7$^$9!#(B</p> - - <p>URL $B$N>l9g$O!"%m!<%+%k$N(B URL $B$N;XDj$H$7$F%9%i%C%7%e$G;O$^$k(B (/) - $B%Q%9$+!"%/%i%$%"%s%H$,2r<a$G$-$k%U%k(B URL $B$r;XDj$7$^$9!#(B<br /> - $BNc(B:</p> - - <blockquote> - <code>ErrorDocument 500 - http://foo.example.com/cgi-bin/tester<br /> - ErrorDocument 404 /cgi-bin/bad_urls.pl<br /> - ErrorDocument 401 /subscription_info.html<br /> - ErrorDocument 403 "Sorry can't allow you access today</code> - </blockquote> - - <p>$B%j%b!<%H(B URL ($BNc$($P!"F,$K(B http $B$HIUM?$7$?J}K!(B) $B$r(B - <code>ErrorDocument</code> $B$K;XDj$9$k$H$-!"(B - $B$?$H$(J8=q$,F1$8%5!<%P$K$"$m$&$H$b!"%I%-%e%a%s%H$,$I$3$K$"$k$+$rDLCN$9$k$?$a$K!"(B - Apache $B$O%j%@%$%l%/%H$r%/%i%$%"%s%H$KAw=P$9$k$H$$$&$3$H$K!"Cm0U$7$F$/$@$5$$!#(B - $B$3$l$K$O$$$m$$$m$H4XO"$7$F5/$3$kLdBj$,$"$j$^$9!#(B - $BCf$G$b:G$b=EMW$J$N$O!"%/%i%$%"%s%H$O85!9$N%(%i!<%9%F!<%?%9%3!<%I$r<u$1<h$i$:!"(B - $BBe$o$j$K%j%@%$%l%/%H$N%9%F!<%?%9%3!<%I$r<u$1<h$k$H$$$&$3$H$G$9!#(B - $B$3$l$K$h$j!"%9%F!<%?%9%3!<%I$r;H$C$F(B URL $B$,M-8z$G$"$k$+$I$&$+$r7hDj$7$h$&$H$9$k(B - $B%&%'%V%m%\%C%H$d$=$NB>%/%i%$%"%s%H$r!":.Mp$5$;$k$+$b$7$l$^$;$s!#(B - $B$5$i$K!"(B<code>ErrorDocument 401</code> $B$K%j%b!<%H$N(B URL $B$r;XDj$9$k$H!"(B - $B%/%i%$%"%s%H$O(B 401 $B$H$$$&%9%F!<%?%9%3!<%I$r<u$1<h$i$J$$$?$a!"(B - $B%Q%9%o!<%I$r%f!<%6$KF~NOMW5a$7$J$1$l$P$J$i$J$$$3$H$,$o$+$j$^$;$s!#(B - $B=>$C$F!"(B<strong>"ErrorDocument 401" $B$H$$$&%G%#%l%/%F%#%V$r;H$&>l9g$O!"(B - $BI,$:%m!<%+%k$JJ8=q$r;2>H$7$J$1$l$P$J$j$^$;$s!#(B</strong></p> - - <p>$B;2>H(B: <a href="../custom-error.html">$B%l%9%]%s%9$r%+%9%?%^%$%:$9$kJ}K!$K$D$$$F$N2r@b!#(B</a> - $B%9%F!<%?%9%3!<%I$H$=$N0UL#$N40A4$J%j%9%H$O(B <a - href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">HTTP - $B;EMM=q(B</a>$B$r;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="errorlog" name="errorlog">ErrorLog - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ErrorLog - <em>file-pathh</em>|syslog[:<em>facility</em>] <br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ErrorLog - logs/error_log</code> (Unix)<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ErrorLog - logs/error.log</code> (Windows and OS/2)<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B%(%i!<%m%0%G%#%l%/%F%#%V$O!"%5!<%P$K@8$8$?$5$^$6$^$J%(%i!<$r(B - $B5-O?$9$k$?$a$N%U%!%$%k$NL>A0$r@_Dj$7$^$9!#(B - <em>file-path</em> $B$,%9%i%C%7%e(B (/) $B$+$i;O$^$i$J$$>l9g$O!"(B<a - href="#serverroot">ServerRoot</a> $B$+$i$NAjBP%Q%9$H$_$J$5$l$^$9!#(B - <em>file-path</em> $B$,%Q%$%W(B (|) $B$+$i;O$^$k>l9g$O!"(B - $B%(%i!<%m%0$r=hM}$9$k$?$a$K<B9T$5$l$k%3%^%s%I$,(B - $B;XDj$5$l$F$$$k$H2r<a$5$l$^$9!#(B</p> - - <p>$BNc(B</p> - - <p><code>ErrorLog logs/vhost1.error</code></p> - - or - - <p><code>ErrorLog |/usr/local/bin/errorlog.pl</code></p> - - <p><strong>Apache 1.3 $B0J9_$N>l9g(B:</strong> $B%U%!%$%kL>$NBe$o$j$K(B - <code>syslog</code> $B$H;XDj$9$k$3$H$K$h$C$F!"(B - $B%7%9%F%`$,%5%]!<%H$7$F$$$l$P(B syslogd(8) - $B$rMxMQ$7$?%m%.%s%0$,M-8z$K$J$j$^$9!#%G%U%)%k%H$G$O!"(B - <code>local7</code> $B%U%!%7%j%F%#$H$J$j$^$9$,!"(B - <code>syslog:</code><em>facility</em> - $B$H$$$C$?7A$G5-=R$9$k$3$H$K$h$j!"DL>o(B syslog(1) - $B$N%I%-%e%a%s%H$G@bL@$5$l$F$$$k%U%!%7%j%F%#$N0l$D$r;H$&$h$&$K(B - $B$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$BNc(B:</p> - - <p><code>ErrorLog syslog</code></p> - - or - - <p><code>ErrorLog syslog:user</code></p> - - <p>$B%;%-%e%j%F%#(B: - $B%m%0%U%!%$%k$r3JG<$9$k%G%#%l%/%H%j$,!"%5!<%P$r5/F0$7$?%f!<%60J30$N(B - $B%f!<%6$K$h$C$F=q$-9~$a$k>l9g$K%;%-%e%j%F%#$,GK$i$l$k2DG=@-$,$"$k$3$H$K(B - $B4X$9$k>\:Y$O(B <a - href="../misc/security_tips.html#serverroot">$B%;%-%e%j%F%#$K4X$9$k%3%D(B</a> - $B$r;2>H$7$F$/$@$5$$!#(B</p> - - - <p><strong>$B;2>H(B:</strong> <a href="#loglevel">LogLevel</a> - $B5Z$S(B <a href="../logs.html">Apache $B$N%m%0%U%!%$%k(B</a></p> - <hr /> - - <h2><a id="fileetag" name="fileetag">FileETag $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> FileETag - <i>component</i> ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.3.23 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>FileETag - $B%G%#%l%/%F%#%V$O%I%-%e%a%s%H$,%U%!%$%k$K4p$E$$$?$b$N$G$"$k$H$-$K!"(B - ETag ($B%(%s%F%#%F%#%?%0(B) $B1~Ez%X%C%@%U%#!<%k%I$r:n@.$9$k$H$-$K;HMQ$9$k(B - $B%U%!%$%k$NB0@-$r@_Dj$7$^$9!#(B (ETag $B$NCM$O%M%C%H%o!<%/$NBS0h$r@aLs$9$k$?$a$N(B - $B%-%c%C%7%e$N4IM}$G;H$o$l$^$9!#(B) Apache 1.3.22 $B0JA0$G$O!"(BETag $B$NCM$O(B - <i>$B>o$K(B</i>$B%U%!%$%k$N(B inode, $B%5%$%:!":G=*=$@5;~9o(B (mtime) $B$+$i:n@.(B - $B$5$l$F$$$^$7$?!#(BFileETag $B%G%#%l%/%F%#%V$K$h$j!"$3$l$i$N$I$l$r;H$&$+$r(B - $BA*$V$3$H$,$G$-$^$9!#G'<1$5$l$k%-!<%o!<%I$O(B: - </p> - <dl compact="compact"> - <dt><b>INode</b></dt> - <dd>$B%U%!%$%k$N(B inode $BHV9f$r7W;;$K;H$$$^$9(B</dd> - <dt><b>MTime</b></dt> - <dd>$B%U%!%$%k$N:G=*=$@5;~9o$r;H$$$^$9(B</dd> - <dt><b>Size</b></dt> - <dd>$B%U%!%$%k$NCf?H$N%P%$%H?t$r;H$$$^$9(B</dd> - <dt><b>All</b></dt> - <dd>$B;HMQ2DG=$J$9$Y$F$N%U%#!<%k%I$r;H$$$^$9(B - ('<code>FileETag INode MTime Size</code>' $B$HEy2A$G$9(B)</dd> - <dt><b>None</b></dt> - <dd>$B%I%-%e%a%s%H$,%U%!%$%k$K4p$E$$$?$b$N$G$b!"(BETag $B%U%#!<%k%I$r(B - $B1~Ez$KIU2C$7$^$;$s(B</dd> - </dl> - <p> - INode, MTime, Size $B%-!<%o!<%I$K$O(B '+' $B$d(B '-' $B$rA0$KIU$1$F(B - $B;XDj$9$k$3$H$b$G$-$^$9!#$3$N>l9g$O!"$h$j9-$$HO0O$+$i7Q>5$5$l$?(B - $B%G%U%)%k%H$N@_Dj$KJQ99$r2C$($k$h$&$K$J$j$^$9!#$=$N$h$&$J@\F,<-$N(B - $BL5$$%-!<%o!<%I$r;XDj$9$k$H!"B(:B$K7Q>5$7$?@_Dj$rL58z$K$7$^$9!#(B</p> - <p> - $B$"$k%G%#%l%/%H%j$N@_Dj$K(B - '<code>FileETag INode MTime Size</code>' $B$,$"$j!"(B - $B%5%V%G%#%l%/%H%j$N@_Dj$K(B '<code>FileETag -INode</code>' $B$,$"$k$H$-$O!"(B - $B$=$N%5%V%G%#%l%/%H%j$N@_Dj$O(B ($B@_Dj$,>e=q$-$5$l$J$1$l$P%5%V%G%#%l%/%H%j$N(B - $B%5%V%G%#%l%/%H%j$K$b7Q>5$5$l$^$9(B) '<code>FileETag MTime Size</code>' - $B$HF1$8$K$J$j$^$9!#(B</p> - <hr /> - - <h2><a id="files" name="files"><Files> $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <Files - <em>filename</em>> ... </Files><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><Files> $B%G%#%l%/%F%#%V$O!"%U%!%$%kL>$K$h$k%"%/%;%9@)8f$r9T$&$b$N$G!"(B<a - href="#directory"><Directory></a> $B%G%#%l%/%F%#%V$d(B <a - href="#location"><Location></a> $B%G%#%l%/%F%#%V$HF1$8$h$&$J5!G=$r;}$A$^$9!#(B - $B$3$l$O!"(B</Files> $B%G%#%l%/%F%#%V$HBP$K$J$C$F$$$J$1$l$P$J$j$^$;$s!#(B - $B$3$N%;%/%7%g%sCf$N%G%#%l%/%F%#%V$O!"%Y!<%9L>(B ($B%U%!%$%kL>$N:G8e$NItJ,(B) - $B$,;XDj$5$l$?%U%!%$%kL>$K%^%C%A$9$k$9$Y$F$N%*%V%8%'%/%H$KE,MQ$5$l$^$9!#(B - - <code><Files></code> $B%;%/%7%g%s$O(B <Directory> - $B%;%/%7%g%s$H(B <code>.htaccess</code> $B$,FI$_9~$^$l$?8e!"(B - <Location> - $B%;%/%7%g%s$h$j$O@h$K@_Dj%U%!%$%k$K8=$l$?=g$KE,MQ$5$l$^$9!#(B - <Files> $B$O!"(B<Directory> - $B%;%/%7%g%sFb$K%M%9%H$5$;$k$3$H$,$G$-!"(B - $B%U%!%$%k%7%9%F%`$N0lIt$K$N$_8BDj$7$FE,MQ$5$;$k$3$H$,$G$-$^$9!#(B</p> - - <p><em>filename</em> - $B0z?t$O!"%U%!%$%kL>$+%o%$%k%I%+!<%IJ8;zNs$G!"%o%$%k%I%+!<%I$G$O(B - `?' $B$O0l$D$NJ8;z!"(B`*' $B$OG$0U$NJ8;zNs$K%^%C%A$7$^$9!#(B<code>~</code> - $B$H$$$&J8;z$rIU2C$9$k$3$H$G3HD%@55,I=8=$r;H$&$3$H$b$G$-$^$9!#(B - $BNc$($P!"(B</p> -<pre> - <Files ~ "\.(gif|jpe?g|png)$"> -</pre> - $B$H$9$k$3$H$K$h$j!"0lHLE*$J%$%s%?!<%M%C%H$N2hA|%U%)!<%^%C%H$K%^%C%A$7$^$9!#(B - $B$?$@$7!"(BApache 1.3 $B0J9_$N>l9g$K$O!"(B - <a href="#filesmatch"><FilesMatch></a> $B$r;H$&J}$,?d>)$5$l$F$$$^$9!#(B - - <p>$B$A$J$_$K!"(B<a - href="#directory"><code><Directory></code></a> $B5Z$S(B <a - href="#location"><code><Location></code></a> $B%;%/%7%g%s$H$O0[$J$j!"(B - <code><Files></code> - $B$O(B .htaccess $B%U%!%$%kFb$GMxMQ$9$k$3$H$,$G$-$^$9!#(B - $B$3$l$K$h$j!"%f!<%6$,%U%!%$%kKh$K%"%/%;%9$N@)8f$r9T$J$&$3$H$,$G$-$k$h$&$K(B - $B$J$C$F$$$^$9!#(B - $BNc$($P!"%G%#%l%/%H%jFb$K$"$k0l$D$N%U%!%$%k$KBP$7$F%Q%9%o!<%I$K$h$kJ]8n$r9T$&$K$O!"(B - <code>.htaccess</code> $B$K0J2<$N$h$&$J@_Dj$rDI2C$9$l$PNI$$$G$7$g$&!#(B</p> - - <pre> - <Files admin.cgi> - Require group admin - </Files></pre> - - <p>$B$J$*!"$3$N%G%#%l%/%F%#%V$O%5%V%G%#%l%/%H%j$K$bE,MQ$5$l!"(B - $B>e$NNc$N>l9g$K$O!"FC$K@_Dj$,>e=q$-$5$l$J$$8B$j!"(B - $B%5%V%G%#%l%/%H%jCf$N(B <code>admin.cgi</code> - $B$H$$$&%U%!%$%k$K$bJ]8n$,$+$+$k$H$$$&$3$H$rK:$l$J$$$G$/$@$5$$!#(B</p> - - <p>(<code>Require</code> $B%G%#%l%/%F%#%V$N;H$$J}$K$D$$$F$O!"(B<a - href="#require">Require</a>$B$r;2>H$7$F$/$@$5$$!#(B)</p> - - <p><strong>$B;2>H(B</strong>: - $B%j%/%(%9%H$r<u$1$?:]$K!"0[$J$kJ#?t$N%;%/%7%g%s$,$I$N$h$&$K$7$F(B - $BAH$_9g$o$5$l$k$N$+$K$D$$$F$O(B <a href="../sections.html"> - Directory, Location, Files $B%;%/%7%g%s$NF0:nJ}K!(B</a></p> - <hr /> - - <h2><a id="filesmatch" - name="filesmatch"><FilesMatch></a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <FilesMatch - <em>regex</em>> ... </FilesMatch><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><FilesMatch> $B%G%#%l%/%F%#%V$O!"(B<a href="#files"><Files></a> - $B%G%#%l%/%F%#%VF1MM$K%U%!%$%kL>$K$h$k%"%/%;%9@)8f$N5!G=$rDs6!$7$^$9!#$?$@$7!"(B - $B$3$N%G%#%l%/%F%#%V$K$O@55,I=8=$r;XDj$7$^$9!#(B - $BNc$($P(B:</p> -<pre> - <FilesMatch "\.(gif|jpe?g|png)$"> -</pre> - - <p>$B$O0lHLE*$J%$%s%?!<%M%C%H$N2hA|7A<0$K%^%C%A$7$^$9!#(B</p> - <p><strong>$B;2>H(B</strong>: - $B%j%/%(%9%H$r<u$1$?:]$K!"0[$J$kJ#?t$N%;%/%7%g%s$,$I$N$h$&$K$7$F(B - $BAH$_9g$o$5$l$k$N$+$K$D$$$F$O(B <a href="../sections.html"> - Directory, Location, Files $B%;%/%7%g%s$NF0:nJ}K!(B</a></p> - <hr /> - - <h2><a id="group" name="group">Group $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> Group - <em>unix-group</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>Group - #-1</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>Group - $B%G%#%l%/%F%#%V$O!"%5!<%P$,%j%/%(%9%H$K1~Ez$9$k:]$N%0%k!<%W$r@_Dj$7$^$9!#(B - $B$3$N%G%#%l%/%F%#%V$r;H$&$?$a$K$O!"%9%?%s%I%"%m!<%s%5!<%P$r(B root - $B$G5/F0$7$J$1$l$P$J$j$^$;$s!#(B - <em>Unix-group</em> $B$O!"0J2<$N$I$A$i$+$r$H$j$^$9!#(B</p> - - <dl> - <dt>$B%0%k!<%WL>(B</dt> - - <dd>$BL>A0$G%0%k!<%W$r;XDj$7$^$9!#(B</dd> - - <dt># $B$r@hF,$K%0%k!<%W(BID</dt> - - <dd>$B?t;z$G%0%k!<%W$r;XDj$7$^$9!#(B</dd> - </dl> - <p>$B%5!<%P$r<B9T$9$k$?$a$K?7$7$$%0%k!<%W$r:n@.$9$k$3$H$,?d>)$5$l$F$$$^$9!#(B - <code>nobody</code> $B$H;XDj$9$k4IM}<T$b$$$^$9$,!"$=$N%f!<%6$OMxMQ2DG=$G$J$$(B - $B>l9g$b$"$j$^$9$7!"K>$^$7$/$b$"$j$^$;$s!#(B</p> - - <p>$BNc(B:</p> - - <code>Group www-group</code> - - <p>$BCm0UE@(B: root $B%f!<%60J30$G%5!<%P$r5/F0$5$l$?>l9g!"(B - $B;XDj$7$?%0%k!<%W$X0\$k$3$H$,$G$-$:!"$=$N$^$^$N%f!<%6$G<B9T$5$l$^$9!#(B</p> - - <p>$BFC$KCm0U$9$Y$-E@(B: <VirtualHost> - $BFb$G$3$N%G%#%l%/%F%#%V$r;HMQ$9$k$?$a$K$O!"(B<a href="../suexec.html">suEXEC - $B%i%C%Q!<(B</a>$B$,@_Dj$5$l$F$$$J$1$l$P$J$j$^$;$s!#(B - $B$3$N>l9g!"(BCGI $B$r<B9T$9$k$H$-$K$N$_!";XDj$7$?%0%k!<%W$,MxMQ$5$l$^$9!#(B - CGI $B0J30$N>l9g$K$O!"%a%$%s@_Dj$K$*$1$k(B Group - $B%G%#%l%/%F%#%V$G;XDj$5$l$?%0%k!<%W$G=hM}$5$l$^$9!#(B</p> - - <p>$B%;%-%e%j%F%#(B: $B%;%-%e%j%F%#$K4X$9$k2r@b$O(B <a href="#user">User</a> - $B$r;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="hostnamelookups" - name="hostnamelookups">HostnameLookups $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> HostnameLookups - on|off|double<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>HostnameLookups - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> - <code>double</code> $B$O(B Apache 1.3 $B0J9_$GMxMQ2DG=$G$9!#(B<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 $B$h$jA0$O%G%U%)%k%H$,(B - <code>on</code> $B$K$J$C$F$$$^$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$O!"%[%9%HL>$r%m%0<}=8$G$-$k$h$&$K(B DNS - $B%k%C%/%"%C%W$rM-8z$K$7$^$9(B ($B$5$i$K!"(BCGI/SSI $B$K(B - <code>REMOTE_HOST</code> $BJQ?t$H$7$FEO$7$^$9(B)$B!#(B<code>double</code> - $B$r;XDj$7$?>l9g!"Fs=E$N5U0z$-$r9T$$$^$9!#$D$^$j!"5U0z$-$N8e$K!"(B - $B$=$N7k2L$KBP$7$F@50z$-$r9T$$$^$9!#@50z$-$N7k2L$N(B IP - $B%"%I%l%9$NCf$K%*%j%8%J%k$N%"%I%l%9$H0lCW$9$k$b$N$,$J$1$l$P$J$j$^$;$s(B - ("tcpwrappers" $B$NMQ8l$G$O(B PARANOID $B$H8F$P$l$F$$$^$9(B)$B!#(B</p> - - <p>$B$A$J$_$K!"(B<a href="mod_access.html">mod_access</a> - $B$G%[%9%HL>$K$h$k%"%/%;%9@)8f$r9T$&>l9g$K$O!"@_Dj$NG!2?$K$h$i$:(B - $BFs=E$N5U0z$-$,<B9T$5$l$^$9!#(B - $B$3$l$O!"%;%-%e%j%F%#$rJ]$D$?$a$KI,MW$G$9!#(B - <code>HostnameLookups double</code> $B$r@_Dj$7$J$$8B$j!"(B - $BB>$NItJ,$O$3$NFs=E5U0z$-$N7k2L$r;H$&$3$H$O$G$-$^$;$s!#Nc$($P!"(B - <code>HostnameLookups on</code> $B$H@_Dj$7$F$"$k>uBV$G!"(B - $B%[%9%HL>$K$h$k%"%/%;%9@)8B$r9T$C$?%*%V%8%'%/%H$X$N(B - $B%j%/%(%9%H$r<u$1$?$H$9$k$H!"Fs=E$N5U0z$-$,@.8y$9$k$+H]$+$K$h$i$:!"(B - <code>REMOTE_HOST</code> $B$K$ODL>o$N5U0z$-7k2L$,EO$5$l$^$9!#(B</p> - - <p>Apache 1.3 $B$h$jA0$N%P!<%8%g%s$G$O!"$3$N%G%#%l%/%F%#%V$N%G%U%)%k%H$O(B - <code>on</code> $B$G$7$?$,!"(B - $BK\Ev$K5U0z$-$rI,MW$H$7$F$$$k$o$1$G$O$J$$%5%$%H$N(B - $B%M%C%H%o!<%/%H%i%U%#%C%/$rDc8:$5$;$k$?$a$K!"(B<code>off</code> - $B$KJQ99$5$l$^$7$?!#%k%C%/%"%C%W$K$h$kM>7W$JCY1d$,$J$/$J$k$?$a!"(B - $B%(%s%I%f!<%6$K$H$C$F$bNI$$$G$7$g$&!#(B - DNS $B$N%k%C%/%"%C%W$K$O!"$+$J$j$N;~4V$,I,MW$H$J$k>l9g$,B?$/!"(B - $BIi2Y$N9b$$%5%$%H$G$O$3$N%G%#%l%/%F%#%V$O(B <code>off</code> - $B$K$9$Y$-$G$9!#$J$*!"(B<em>/support</em> $B%G%#%l%/%H%j$K4^$^$l$k(B - <a href="../programs/logresolve.html">logresolve</a> - $B%f!<%F%#%j%F%#$K$h$j!"(BApache $B$NF0:n$H$OJL$K!"%m%0$K;D$5$l$F$$$k(B - IP $B%"%I%l%9$+$i%[%9%HL>$r%k%C%/%"%C%W$9$k$3$H$,2DG=$G$9!#(B</p> - <hr /> - - <h2><a id="identitycheck" name="identitycheck">IdentityCheck - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> IdentityCheck - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>IdentityCheck - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B$3$N%G%#%l%/%F%#%V$O!"%/%i%$%"%s%H%^%7%s>e$G(B - identd $B$d$=$l$KN`;w$7$?%G!<%b%s$,F0:n$7$F$$$k$H$-$K!"(B - $B$=$l$>$l$N@\B3$KBP$7$F(B RFC 1413 - $B$K=`=h$7$?%j%b!<%H%f!<%6$NL>A0$N%m%.%s%0$r9T$&$h$&$K$7$^$9!#(B - $B$3$N>pJs$O!"%"%/%;%9%m%0$K<}=8$5$l$^$9!#(B</p> - - <p>$B$3$3$GF@$i$l$?>pJs$O4JC1$J%f!<%6DI@W$K;H$&0J30$O!"(B - $BA4$/?.Mj$9$k$Y$-$G$O$"$j$^$;$s!#(B</p> - - <p>$B$9$Y$F$N%j%/%(%9%H$KBP$7$F%k%C%/%"%C%W$,9T$o$l$^$9$N$G!"(B - $B?<9o$JCY1d$NLdBj$r5/$3$9$+$b$7$l$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B - ($BLuCm(B: $BNc$($P%/%i%$%"%s%HB&$K(B) $B%U%!%$%"%&%)!<%k$,$"$k$H!"(B - $B%k%C%/%"%C%W$,<:GT$7!"3F%j%/%(%9%H$K(B 30 - $BIC$NCY1d$,2C$o$k$3$H$K$J$k2DG=@-$,$"$j$^$9!#(B - $B=>$C$F!"0lHLE*$K$O%$%s%?!<%M%C%H$+$i%"%/%;%92DG=$J%Q%V%j%C%/$J%5!<%P$G(B - $BM-1W$J$b$N$G$O$"$j$^$;$s!#(B</p> - <hr /> - - <h2><a id="ifdefine" name="ifdefine"><IfDefine> - $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <IfDefine - [!]<em>parameter-name</em>> <em>...</em> - </IfDefine><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> None<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B$9$Y$F(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> <IfDefine> - $B$O(B Apache 1.3.1 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><IfDefine <em>test</em>>...</IfDefine> - $B%;%/%7%g%s$O!"%G%#%l%/%F%#%V$r>r7oIU$-$G;XDj$9$k$?$a$KMxMQ$7$^$9!#(B - IfDefine $B%;%/%7%g%s$K4^$^$l$k%G%#%l%/%F%#%V$O!"(B<em>test</em> - $B$,Dj5A$5$l$F$$$k$H$-$N$_=hM}$5$l$^$9!#$b$7!"(B<em>test</em> - $B$,Dj5A$5$l$F$$$J$1$l$P!"(B - $B3+;O$H=*N;$N;XDj$N4V$N%G%#%l%/%F%#%V$OL5;k$5$l$^$9!#(B</p> - - <p><IfDefine> $B%;%/%7%g%s%G%#%l%/%F%#%V$K;XDj$9$k(B - <em>test</em> $B$O!"<!$NFs$D$N7A<0$N$&$A$N0l$D$r$H$j$^$9!#(B</p> - - <ul> - <li><em>parameter-name</em></li> - - <li><code>!</code><em>parameter-name</em></li> - </ul> - - <p>$BA0<T$N%1!<%9$G$O!"$b$7(B <em>parameter-name</em> - $B$HL>IU$1$i$l$?%Q%i%a!<%?$,Dj5A$5$l$F$$$l$P!"(B - $B3+;O$H=*N;$N4V$N%G%#%l%/%F%#%V$,=hM}$5$l$^$9!#8e<T$N>l9g$O5U$G!"(B - <em>parameter-name</em> - $B$,;XDj$5$l$F(B<strong>$B$$$J$$(B</strong>$B>l9g$K=hM}$5$l$^$9!#(B</p> - - <p><em>parameter-name</em> $B0z?t$O!"%5!<%P$r5/F0$9$k:]$K(B - <code>httpd</code> $B$N%3%^%s%I%i%$%s$K(B - <code>-D</code><em>parameter-</em> $B$H$$$&7A$G;XDj$9$k$HDj5A$5$l$^$9!#(B </p> - - <p><IfDefine> $B%;%/%7%g%s$OF~$l;R$K$9$k$3$H$,$G$-!"(B - $BJ#?t$N%Q%i%a!<%?$K$h$k%F%9%H$r$9$k$?$a$K;HMQ$G$-$^$9!#(B - $BNc(B:</p> -<pre> - $ httpd -DReverseProxy ... - - # httpd.conf - <IfDefine ReverseProxy> - LoadModule rewrite_module libexec/mod_rewrite.so - LoadModule proxy_module libexec/libproxy.so - </IfDefine> -</pre> - <hr /> - - <h2><a id="ifmodule" name="ifmodule"><IfModule> - $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <IfModule - [!]<em>module-name</em>> <em>...</em> - </IfModule><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> None<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B$9$Y$F(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> IfModule $B$O(B Apache 1.2 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><IfModule <em>test</em>>...</IfModule> - $B%;%/%7%g%s$O!"%G%#%l%/%F%#%V$r>r7oIU$-$G;XDj$9$k$?$a$KMxMQ$7$^$9!#(B - IfModule $B%;%/%7%g%s$K4^$^$l$k%G%#%l%/%F%#%V$O!"(B<em>test</em> - $B$G;XDj$9$k%b%8%e!<%k$,AH$_9~$^$l$F$$$k$H$-$N$_=hM}$5$l$^$9!#$b$7(B - <em>test</em> $B$,AH$_9~$^$l$F$$$J$1$l$P!"3+;O$H=*N;$N4V$N%G%#%l%/%F%#%V(B - $B$OL5;k$5$l$^$9!#(B</p> - - <p><IfModule> $B%;%/%7%g%s%G%#%l%/%F%#%V$K;XDj$9$k(B - <em>test</em> $B$O!"<!$NFs$D$N7A<0$N$&$A$N0l$D$r$H$j$^$9!#(B</p> - - <ul> - <li><em>module name</em></li> - - <li>!<em>module name</em></li> - </ul> - - <p>$BA0<T$N%1!<%9$G$O!"$b$7(B<em>module name</em> - $B$HL>IU$1$i$l$?%b%8%e!<%k$,(B Apache $B$KAH$_9~$^$l$F$$$l$P(B - ($B%3%s%Q%$%k:Q$_$N$b$N$H!"(B<a - href="mod_so.html#loadmodule">LoadModule</a> - $B$rMxMQ$7$FF0E*$KFI$_9~$s$@$b$N$NN>J}(B)$B!"(B - $B3+;O$H=*N;$N4V$N%G%#%l%/%F%#%V$,=hM}$5$l$^$9!#8e<T$N>l9g$O5U$G!"(B - <em>module name</em> - $B$,AH$_9~$^$l$F(B<strong>$B$$$J$$(B</strong>$B>l9g$K=hM}$5$l$^$9!#(B</p> - - <p><em>module name</em> - $B0z?t$O!"%3%s%Q%$%k$r$7$?;~$N%b%8%e!<%k$N%U%!%$%kL>$G!"Nc$($P(B - <code>mod_rewrite.c</code> $B$H$$$C$?7A$K$J$j$^$9!#(B</p> - - <p><IfModule> $B%;%/%7%g%s$OF~$l;R$K$9$k$3$H$,2DG=$G$"$j!"(B - $BJ#?t$N%b%8%e!<%k$N%F%9%H$r9T$&$?$a$K;HMQ$G$-$^$9!#(B</p> - <hr /> - - <h2><a id="include" name="include">Include $B%G%#%l%/%F%#%V(B</a></h2> - <strong>$B9=J8(B:</strong> Include - <em>file-path</em>|<em>directory-path</em>|<em>wildcard-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Include $B$O(B Apache 1.3 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$K$h$j!"%5!<%P$N@_Dj%U%!%$%k$+$i(B - $BB>$N@_Dj%U%!%$%k$r%$%s%/%k!<%I$9$k$3$H$,$G$-$^$9!#(B</p> - - <p><em>file-path</em> $B$O!"(B($B%9%i%C%7%e$+$i;O$^$k(B) $B%U%k%Q%9$+!"(B - <code>ServerRoot</code> $B$+$i$NAjBP%Q%9$G;XDj$7$^$9!#(B</p> - - <p>Apache 1.3.13 $B$+$i!"(B<code>Include</code> $B$K%U%!%$%k$NBe$o$j$K(B - $B%G%#%l%/%H%j$r;XDj$9$k$3$H$K$h$C$F!"(B - $B%G%#%l%/%H%j$H$=$N%5%V%G%#%l%/%H%jFb$N$9$Y$F$N%U%!%$%k$r(B - $BFI$_9~$s$G=hM}$G$-$k$h$&$K$J$j$^$7$?!#(B</p> - <p>$B%o%$%k%I%+!<%I$r;H$&$3$H$G!"$3$l$rNc$($P(B '*.conf' - $B%U%!%$%k$N$_$K@)8B$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$BNc(B:</p> - - <blockquote> - <code>Include /usr/local/apache/conf/ssl.conf<br /> - Include /usr/local/apache/conf/vhosts/ - </code> - </blockquote> - - <p><code>ServerRoot</code> $B$+$i$NAjBP%Q%9$N>l9g$O(B:</p> - - <blockquote> - <code>Include conf/ssl.conf<br /> - Include conf/vhosts/ - </code> - </blockquote> - - <p>$B$J$*!"%G%#%l%/%H%j$r;XDj$9$k:]$O!"%(%G%#%?$N%F%s%]%i%j%U%!%$%k$J$I!"(B - $BL\E*30$N%U%!%$%k$rCV$+$J$$$h$&$K$7$J$1$l$P$J$j$^$;$s!#(B - $B$=$N$h$&$J%U%!%$%k$,$"$k$H!"(BApache $B$O$=$l$i$+$i%G%#%l%/%F%#%V$r(B - $BFI$_9~$b$&$H$7$F!"5/F0$K<:GT$9$k$+$b$7$l$^$;$s!#(B - <code>apachectl configtest</code> $B$r<B9T$9$k$H!"@_Dj$r%A%'%C%/$7$F$$$k;~$K(B - $BFI$_9~$^$l$?%U%!%$%k$N%j%9%H$,I=<($5$l$^$9(B:</p> - -<pre> -root@host# apachectl configtest - Processing config directory: /usr/local/apache/conf/vhosts - Processing config file: /usr/local/apache/conf/vhosts/vhost1 - Processing config file: /usr/local/apache/conf/vhosts/vhost2 -Syntax OK -</pre> - - <p>$B$3$l$K$h$j!"@_Dj$N0lIt$H$7$F0U?^$7$?%U%!%$%k$@$1$,(B - $B;H$o$l$F$$$k$+$I$&$+$r3NG'$G$-$^$9!#(B</p> - <p><strong>$B;2>H(B</strong>: <a - href="../programs/apachectl.html">apachectl</a></p> - - <hr /> - - <h2><a id="keepalive" name="keepalive">KeepAlive - $B%G%#%l%/%F%#%V(B</a></h2> - <strong>Syntax: (Apache 1.1)</strong> KeepAlive - <em>max-requests</em><br /> - <strong>Default: (Apache 1.1)</strong> <code>KeepAlive - 5</code><br /> - <strong>Syntax: (Apache 1.2)</strong> KeepAlive on|off<br /> - <strong>Default: (Apache 1.2)</strong> <code>KeepAlive - On</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> KeepAlive $B$O(B Apache 1.1 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>HTTP/1.0 $B$N(B Keep-Alive $B3HD%$H(B HTTP/1.1 - $B$N;}B3E*@\B3$N5!G=$O!"J#?t$N%j%/%(%9%H$,F1$8(B TCP - $B$N@\B3$GAw$i$l$k!"D9;~4V;}B3$9$k(B HTTP - $B%;%C%7%g%s$rDs6!$7$^$9!#$?$/$5$s$N2hA|$,4^$^$l$k(B HTML - $B%I%-%e%a%s%H$G$O>l9g$K$h$C$F$OCY1d;~4V$,(B 50% - $BC;=L$5$l$k7k2L$b$G$F$$$^$9!#(BApache 1.2 $B0J9_$G(B Keep-Alive - $B@\B3$rM-8z$K$9$k$K$O(B <code>KeepAlive On</code> $B$H@_Dj$7$^$9!#(B</p> - - <p>HTTP/1.0 $B$KBP1~$7$?%/%i%$%"%s%H$N:]$K$O!"(B - $B%/%i%$%"%s%H$h$jFC$KMW5a$,$"$C$?>l9g$N$_(B Keep-Alive $B@\B3$H$J$j$^$9!#(B - $B$5$i$K!"(BHTTP/1.0 $B%/%i%$%"%s%H$G$O!"%3%s%F%s%D$NMFNL$,@h$K(B - ($BLuCm(B: $BMW5a$KBP$7$F1~Ez$rJV$9A0$K(B) $B$o$+$k>l9g$N$_(B Keep-Alive - $B@\B3$rMxMQ$G$-$^$9!#$3$l$O!"(BCGI $B$N=PNO$d(B SSI $B$N%Z!<%8!"(B - $B%5!<%P$,@8@.$7$?%G%#%l%/%H%j$N%j%9%H$N$h$&$JF0E*%3%s%F%s%D$r(B - HTTP/1.0 $B%/%i%$%"%s%H$KAw$k>l9g$K$O(B Keep-Alive - $B@\B3$r;H$($J$$$3$H$r0UL#$7$^$9!#(BHTTP/1.1 - $B$KBP1~$7$?%/%i%$%"%s%H$N:]$K$O!"(B - $BFC$K;XDj$5$l$J$$8B$j$O%G%U%)%k%H$H$7$F;}B3E*$J@\B3$,9T$J$o$l$^$9!#(B - $B%/%i%$%"%s%H$,MW5a$9$l$P!"%3%s%F%s%D$NMFNL$rH=JL$G$-$J$$$b$N$r(B - $B;}B3E*$J@\B3$rDL$7$FAw$k$?$a$K!"%A%c%s%/%(%s%3!<%G%#%s%0$,MQ$$$i$l$^$9!#(B</p> - - <p><strong>Apache 1.1 $B$N$_(B</strong>: - Apache $B$,@\B3$4$H$K<uIU$G$-$kMW5a$N:GBg?t$r(B <em>max-requests</em> - $B$K$F;XDj$G$-$^$9!#(B - $B@)8B$O!"%5!<%P$N%j%=!<%9$rB?Bg$KMxMQ$9$k$h$&$J%/%i%$%"%s%H$rKI$0$?$a$K(B - $B9T$J$$$^$9!#(B - <code>0</code> $B$K@_Dj$9$k$H@)8BCM$O$J$/$J$j$^$9!#(B - Apache 1.2 $B5Z$S(B 1.3 $B$N>l9g$K$O!"(BMaxKeepAliveRequests - $B%G%#%l%/%F%#%V$K$h$j@)8f$7$^$9!#(B</p> - - <p>$B;2>H(B <a - href="#maxkeepaliverequests">MaxKeepAliveRequests</a></p> - <hr /> - - <h2><a id="keepalivetimeout" - name="keepalivetimeout">KeepAliveTimeout $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> KeepAliveTimeout - <em>seconds</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>KeepAliveTimeout - 15</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> KeepAliveTimeout - $B$O(B Apache 1.1 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B@\B3$rJD$8$kA0$K!"(BApache $B$,<!$N%j%/%(%9%H$r2?ICBT$D$+$r;XDj$7$^$9!#(B - $B%j%/%(%9%H$r<u$1IU$1$?8e$O!"(B<a - href="#timeout"><code>Timeout</code></a> $B%G%#%l%/%F%#%V$K$h$C$F(B - $B;XDj$5$l$?%?%$%`%"%&%HCM$,;H$o$l$^$9!#(B</p> - - <p><code>KeepAliveTimeout</code> $B$rBg$-$JCM$K@_Dj$9$k$H!"(B - $BIi2Y$N9b$$%5!<%P$K$*$$$F$O%Q%U%)!<%^%s%9$NLdBj$r0z$-5/$3$9>l9g$,$"$j$^$9!#(B - $B%?%$%`%"%&%H$,D9$1$l$PD9$$$[$I!"$h$jB?$/$N%5!<%P%W%m%;%9$,(B - $B3hH/$G$J$$%/%i%$%"%s%H$+$i$N@\B3$N=*N;$rBT$AB3$1$k$3$H$K$J$j$^$9!#(B</p> - <hr /> - - <h2><a id="limit" name="limit"><Limit> $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <Limit - <em>method</em> [<em>method</em>] ... > ... - </Limit><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> any<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B%"%/%;%9@)8f$O!"DL>o(B<strong>$B$9$Y$F$N(B</strong>$B%"%/%;%9%a%=%C%I$KBP$7$F(B - $B1F6A$7!"IaDL$O$3$l$,K>$^$7$$5sF0$G$9!#(B - <strong>$B$=$&$7$?$3$H$+$i!"BgItJ,$N>l9g$K$O%"%/%;%9@)8f$K4X$o$k%G%#%l%/%F%#%V$r(B - <code><limit></code> $B%;%/%7%g%sFb$K=q$/$Y$-$G$O$"$j$^$;$s!#(B </strong></p> - - <p><Limit> - $B%G%#%l%/%F%#%V$NL\E*$O!"%"%/%;%9@)8f$NHO0O$r;XDj$5$l$?(B HTTP - $B%a%=%C%I$K8BDj$9$k$?$a$G$9!#$=$l0J30$N%a%=%C%I$O!"(B<Limit> - $B$G0O$o$l$?%"%/%;%9@)8f$N(B<strong>$B1F6A$r<u$1$^$;$s(B</strong>$B!#(B - $B0J2<$NNc$O!"(BPOST, PUT, DELETE - $B$N%a%=%C%I$KBP$7$F$N$_%"%/%;%9$N@)8f$r9T$$!"(B - $B$=$l0J30$N%a%=%C%I$K$D$$$F$O@)8B$7$^$;$s(B:</p> - - <blockquote> - <code><Limit POST PUT DELETE><br /> - Require valid-user<br /> - </Limit></code> - </blockquote> - $B%a%=%C%I$NL>A0$K$O!"(BGET, POST, PUT, DELETE, CONNECT, OPTIONS, - PATCH, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK - $B$NCf$+$i!"0l$D0J>e$rNs5s$9$k$3$H$,$G$-$^$9!#(B - <strong>$B%a%=%C%I$NL>A0$O!"BgJ8;z>.J8;z$r6hJL$7$^$9!#(B</strong> - $B$^$?!"(BGET $B$r;XDj$9$k$H(B HEAD $B$K4X$7$F$b@)8B$,$+$+$j$^$9!#(B - TRACE $B%a%=%C%I$r@)8B$9$k$3$H$O$G$-$^$;$s!#(B - <hr /> - - <h2><a id="limitexcept" name="limitexcept"><LimitExcept> - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <LimitExcept - <em>method</em> [<em>method</em>] ... > ... - </LimitExcept><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> any<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.3.5 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><LimitExcept> $B$H(B </LimitExcept> - $B$O!"0z?t$K(B<strong>$B4^$^$l$F$$$J$$(B</strong> HTTP - $B$N%"%/%;%9%a%=%C%I$KE,MQ$9$k$?$a$N%"%/%;%9@)8f(B - $B%G%#%l%/%F%#%V$r0O$`$?$a$KMxMQ$7$^$9!#(B<em>$B$D$^$j(B</em>$B!"(B<a - href="#limit"><Limit></a> $B%;%/%7%g%s$NH?BP$NF0:n$r$7!"(B - $BI8=`$N%a%=%C%I$HI8=`30$dL$G'<1$N%a%=%C%I$N>l9g$NN>J}$r@_Dj$G$-$^$9!#(B - <a href="#limit"><Limit></a> - $B$N%I%-%e%a%s%H$bJ;$;$F;2>H$7$F$/$@$5$$!#(B</p> - - <p>$BNc(B:</p> - - <pre> - <LimitExcept POST GET> - Require valid-user - </LimitExcept> - </pre> - - <hr /> - - <h2><a id="limitrequestbody" - name="limitrequestbody">LimitRequestBody $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> LimitRequestBody - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>LimitRequestBody - 0</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> LimitRequestBody - $B$O(B Apache 1.3.2 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$O!"%j%/%(%9%H%\%G%#$K$*$$$F5v$5$l$k(B 0 - ($BL5@)8B$r0UL#$7$^$9(B) $B$+$i(B 2147483647 (2GB) - $B$^$G$N%P%$%H?t!"(B<em>bytes</em> $B$r;XDj$7$^$9!#%G%U%)%k%HCM$O!"Dj?t(B - <code>DEFAULT_LIMIT_REQUEST_BODY</code> - $B$K$h$j%3%s%Q%$%k;~$KDj5A$5$l$^$9(B ($BG[I[;~$K$O(B 0 $B$H;XDj$5$l$F$$$^$9(B)$B!#(B</p> - - <p>LimitRequestBody $B%G%#%l%/%F%#%V$O!";XDj$5$l$?%3%s%F%-%9%H(B - ($B%5!<%PA4BN!"%G%#%l%/%H%j!"%U%!%$%k!"%m%1!<%7%g%s(B) $BFb$K$*$$$F(B - HTTP $B%j%/%(%9%H%a%C%;!<%8%\%G%#$N5vMF$5$l$k%5%$%:$K@)8B$r$+$1$k$3$H$,$G$-$^$9!#(B - $B%/%i%$%"%s%H$N%j%/%(%9%H$,$=$N@)8BCM$rD6$($F$$$l$P!"(B - $B%5!<%P$O%j%/%(%9%H$r=hM}$;$:$K%(%i!<$rJV$7$^$9!#(B - $BDL>o$N%j%/%(%9%H%a%C%;!<%8%\%G%#$N%5%$%:$O!"%j%=!<%9$N<oN`$d(B - $B5v2D$5$l$F$$$k%a%=%C%I$K$h$C$FBg$-$/JQ$o$j$^$9!#(B - CGI $B%9%/%j%W%H$O!"$h$/%5!<%P$X%U%)!<%`>pJs$rAw?.$9$k$?$a$K(B - $B%a%C%;!<%8%\%G%#$r;H$$$^$9!#(B - PUT $B%a%=%C%I$N<BAu$O!"$3$N%G%#%l%/%F%#%V$NCM$H$7$F(B - $B>/$J$/$H$b$"$k%j%=!<%9$KBP$7$F%5!<%P$,<u$1IU$1$h$&$H$9$k(B - $BI=8=$NBg$-$5$[$I$NCM$rI,MW$H$7$^$9!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(B - $B4IM}<T$,%/%i%$%"%s%H$+$i$N0[>o$J%j%/%(%9%H$r@)8f$G$-$k$h$&$K$7!"(B - $B2?$i$+$N7A$N%5!<%S%95qH]967b(B ($BLuCm(B:DoS) $B$rHr$1$k$N$KM-8z$G$9!#(B</p> - - <p>$B$"$k>l=j$X$N%U%!%$%k%"%C%W%m!<%I$r5v2D$9$k$H$7$?>l9g$K!"(B - $B%"%C%W%m!<%I$G$-$k%U%!%$%k$N%5%$%:$r(B 100K $B$K@)8B$7$?$1$l$P!"(B - $B0J2<$N$h$&$K;XDj$9$l$P$h$$$G$7$g$&!#(B</p> - - <pre>LimitRequestBody 102400</pre> - - <hr /> - - <h2><a id="limitrequestfields" - name="limitrequestfields">LimitRequestFields $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> LimitRequestFields - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> - <code>LimitRequestFields 100</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> - LimitRequestFields $B$O(BApache 1.3.2 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><em>number</em>$B$K$O!"(B0 ($BL5@)8B$r0UL#$7$^$9(B) $B$+$i(B 32767 - $B$^$G$N?tCM$r;XDj$7$^$9!#(B - $B%G%U%)%k%HCM$O!"Dj?t(B <code>DEFAULT_LIMIT_REQUEST_FIELDS</code> - $B$K$h$j%3%s%Q%$%k;~$KDj5A$5$l$^$9(B ($BG[I[;~$K$O(B 100 $B$H;XDj$5$l$F$$$^$9(B)$B!#(B</p> - - <p>LimitRequestBody $B%G%#%l%/%F%#%V$O!"%5!<%P4IM}<T$,(B HTTP - $B%j%/%(%9%HCf$K$*$$$F5v2D$9$k%j%/%(%9%H%X%C%@%U%#!<%k%I?t$r;XDj$7$^$9!#(B - $B%5!<%P$O$3$NCM$K$ODL>o$N%/%i%$%"%s%H$+$i$N%j%/%(%9%H$K4^$^$l$k$G$"$m$&(B - $B%U%#!<%k%I$N?t$h$jBg$-$JCM$rI,MW$H$7$^$9!#(B - $B%/%i%$%"%s%H$K$h$j;H$o$l$?MW5a%X%C%@!<%U%#!<%k%I$N?t$,(B - 20 $B$rD6$($k$3$H$O$[$H$s$I$"$j$^$;$s$,!"(B - $B$3$l$O<o!9$N%/%i%$%"%s%H$N<BAu$K$h$C$FJQ$o$j!"(B - $B>\:Y$J%3%s%F%s%H%M%4%7%(!<%7%g%s$r$9$k$?$a$N%V%i%&%6$N@_Dj$K$^$G$b(B - $B1F6A$5$l$k$3$H$,$"$j$^$9!#%*%W%7%g%s$N(B HTTP - $B3HD%$O%j%/%(%9%H%X%C%@%U%#!<%k%I$r;H$C$F8=$5$l$k>l9g$,(B - $BB?$/$"$j$^$9!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(B - $B4IM}<T$,%/%i%$%"%s%H$+$i$N0[>o$J%j%/%(%9%H$r@)8f$G$-$k$h$&$K$7!"(B - $B2?$i$+$N7A$N%5!<%S%95qH]967b(B ($BLuCm(B:DoS) $B$rHr$1$k$N$KM-8z$G$9!#(B</p> - - <p>$BNc(B:</p> - - <pre>LimitRequestFields 50</pre> - - <hr /> - - <h2><a id="limitrequestfieldsize" - name="limitrequestfieldsize">LimitRequestFieldsize - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> LimitRequestFieldsize - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> - <code>LimitRequestFieldsize 8190</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> - LimitRequestFieldsize $B$O(B Apache 1.3.2 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(BHTTP - $B%j%/%(%9%H%X%C%@Fb$K4^$a$k$3$H$N$G$-$k%P%$%H!"(B<em>bytes</em> $B$r(B - 0 $B$+$i%3%s%Q%$%k;~$KDj5A$5$l$kDj?t(B - <code>DEFAULT_LIMIT_REQUEST_FIELDSIZE</code> ($BG[I[;~$K$O(B 8192 $B$H;XDj(B) - $B$G;XDj$5$l$?CM$^$G$N?t;z$G;XDj$7$^$9!#(B</p> - - <p>LimitRequestFieldsize $B%G%#%l%/%F%#%V$O!"(B - $B%5!<%P$N%3%s%Q%$%k;~$K;XDj$7$?%$%s%W%C%H%P%C%U%!MFNL0J2<$K(B - HTTP $B%j%/%(%9%H%X%C%@$N5vMF$5$l$k%5%$%:$r@)8B$9$k$3$H$,$G$-$^$9!#(B - $B%5!<%P$O!"$3$N%G%#%l%/%F%#%V$NCM$H$7$F!"(B - $BDL>o$N%/%i%$%"%s%H%j%/%(%9%H$+$iAw$i$l$?8D!9$N%X%C%@%U%#!<%k%I$K(B - $B==J,B-$kBg$-$5$rI,MW$H$7$^$9!#(B - $BIaDL$N%j%/%(%9%H%X%C%@$N%5%$%:$O!"8D!9$N%/%i%$%"%s%H$K$h$jBg$-$/JQ$o$j!"(B - $B>\:Y$J%3%s%F%s%H%M%4%7%(!<%7%g%s$r$9$k$?$a$N%V%i%&%6$N@_Dj$K$^$G$b(B - $B1F6A$5$l$k$3$H$,$"$j$^$9!#(B - </p> - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(B - $B4IM}<T$,%/%i%$%"%s%H$+$i$N0[>o$J%j%/%(%9%H$r@)8f$G$-$k$h$&$K$7!"(B - $B2?$i$+$N7A$N%5!<%S%95qH]967b(B ($BLuCm(B:DoS) $B$rHr$1$k$N$KM-8z$G$9!#(B</p> - - <p>$BNc(B:</p> - - <pre>LimitRequestFieldSize 16380</pre> - - <p>$BDL>o$O%G%U%)%k%H$+$iJQ99$9$kI,MW$O$J$$$G$7$g$&!#(B</p> - <hr /> - - <h2><a id="limitrequestline" - name="limitrequestline">LimitRequestLine $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> LimitRequestLine - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>LimitRequestLine - 8190</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> LimitRequestLine - $B$O(B Apache 1.3.2 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(BHTTP $B%j%/%(%9%H9TFb$G5vMF$5$l$k%P%$%H?t(B - <em>bytes</em> $B$r(B 0 $B$+$i%3%s%Q%$%k;~$NDj?t(B - <code>DEFAULT_LIMIT_REQUEST_LINE</code> ($BG[I[;~$K$O(B 8192 $B$H;XDj(B) - $B$G;XDj$5$l$?CM$^$G$N?t;z$G;XDj$7$^$9!#(B</p> - - <p>LimitRequestLine $B%G%#%l%/%F%#%V$K$h$j!"%5!<%P4IM}<T$O(B - $B%5!<%P$N%3%s%Q%$%k;~$K;XDj$7$?%$%s%W%C%H%P%C%U%!MFNL0J2<$K(B - $B%/%i%$%"%s%H$+$i$N(B HTTP - $B%j%/%(%9%H9T$N%5%$%:$N@)8B$r9T$&$3$H$,$G$-$^$9!#%j%/%(%9%H9T$O!"(B - HTTP $B%a%=%C%I!"(BURI, $B%W%m%H%3%k%P!<%8%g%s$+$i@.$C$F$*$j!"(B - LimitRequestLine $B$O%5!<%P$X$N%j%/%(%9%H$KBP$7$F5vMF$9$k%j%/%(%9%H(B - URI $B$ND9$5$r@)8B$9$k$3$H$K$J$j$^$9!#%5!<%P$O!"(BGET - $B%j%/%(%9%H$N%/%(%jItJ,$b4^$a$F!"%j%=!<%9$NL>A0$,F~$k$KB-$k(B - $BBg$-$5$rI,MW$H$7$^$9!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(B - $B4IM}<T$,%/%i%$%"%s%H$+$i$N0[>o$J%j%/%(%9%H$r@)8f$G$-$k$h$&$K$7!"(B - $B2?$i$+$N7A$N%5!<%S%95qH]967b(B ($BLuCm(B:DoS) $B$rHr$1$k$N$KM-8z$G$9!#(B</p> - - <p>$BNc(B:</p> - - <pre>LimitRequestLine 16380</pre> - - <p>$BDL>o$N>l9g$K$O!"%G%U%)%k%H$+$iJQ99$9$kI,MW$J$$$G$7$g$&!#(B</p> - <hr /> - - <h2><a id="listen" name="listen">Listen $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> Listen - [<em>IP-address</em>:]<em>port</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Listen $B$O(B Apache 1.1 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>Listen $B%G%#%l%/%F%#%V$O!"(BApache $B$,J#?t$N(B IP $B%"%I%l%9$d%]!<%H$r(B - listen $B$9$k$h$&$K;X<($7$^$9!#%G%U%)%k%H$G$O!"$9$Y$F$N(B - IP $B%$%s%?!<%U%'!<%9$X$N%j%/%(%9%H$K1~Ez$7!"(B<code><a - href="#port">Port</a></code> $B%G%#%l%/%F%#%V$,;XDj$7$?%]!<%H$N$_$r(B - listen $B$9$k$3$H$K$J$j$^$9!#(B</p> - <tt><a - href="#bindaddress">BindAddress</a></tt> $B$d(B <tt>Port</tt> - $B$NBe$o$j$K(B <tt>Listen</tt> $B$r;HMQ$9$k$3$H$,$G$-$^$9!#(B - <tt>Listen</tt> $B$OFCDj$N%]!<%H<c$7$/$O%"%I%l%9$H%]!<%H$NAH9g$o$;$K$h$j(B - $B%j%/%(%9%H$N<u$1IU$1$r;XDj$9$k$3$H$,2DG=$G$9!#(B - $B:G=i$N%]!<%HHV9f$N$_$N;XDjJ}K!$rMxMQ$7$?>l9g$K$O!"(B - $B%5!<%P$O(B <tt>Port</tt> $B%G%#%l%/%F%#%V$GM?$($i$l$?%]!<%H$KBe$o$j!"(B - $B$9$Y$F$N%$%s%?!<%U%'!<%9>e$G;XDj$5$l$?%]!<%H$r(B listen - $B$7$^$9!#$b$7!"%]!<%H$H0l=o$K(B IP $B%"%I%l%9$,;XDj$5$l$F$$$l$P!"(B - $B;XDj$5$l$?%$%s%?!<%U%'!<%9$N%]!<%H$r(B listen $B$7$^$9!#(B - - <p>$B$J$*!"(BApache $B$,<+J,$N%5!<%P$r;X$9(B URL $B$r@5$7$/@8@.$G$-$k$h$&$K(B - <tt>Port</tt> $B%G%#%l%/%F%#%V$b;H$&I,MW$,$"$k$+$b$7$l$J$$$3$H$K(B - $BCm0U$7$F$/$@$5$$!#(B</p> - - <p>Listen $B$9$kJ#?t$N%"%I%l%9$H%]!<%H$r;XDj$9$k$?$a$K!"(B - $BJ#?t$N(B Listen $B%G%#%l%/%F%#%V$r;HMQ$9$k$3$H$,$G$-$^$9!#(B - $B$=$N>l9g!"%5!<%P$O;XDj$5$l$?$9$Y$F$N%"%I%l%9$H%]!<%H$G!"(B - $B%j%/%(%9%H$KBP$9$k1~Ez$r9T$J$$$^$9!#(B</p> - - <p>$B%5!<%P$,(B 80 $BHV%]!<%H$H(B 8000 $BHV%]!<%H$NN>J}$G@\B3$r<u$1IU$1$k@_Dj$NNc(B:</p> -<pre> - Listen 80 - Listen 8000 -</pre> - $BFs$D$N%$%s%?!<%U%'!<%9$H%]!<%HHV9f$K$*$$$F@\B3$r<u$1IU$1$k@_Dj$NNc(B: -<pre> - Listen 192.170.2.1:80 - Listen 192.170.2.5:8000 -</pre> - - <p><strong>$B;2>H(B:</strong> <a href="../dns-caveats.html">DNS $B$K4X$9$kLdBj(B</a><br /> - <strong>$B;2>H(B:</strong> <a href="../bind.html">Apache $B$,MxMQ$9$k%"%I%l%9$H%]!<%H$N@_Dj(B</a><br /> - <strong>$B;2>H(B:</strong> <a - href="http://httpd.apache.org/info/known_bugs.html#listenbug">$B4{CN$N%P%0(B</a></p> - <hr /> - - <h2><a id="listenbacklog" name="listenbacklog">ListenBacklog - $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ListenBacklog - <em>backlog</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ListenBacklog - 511</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> ListenBacklog $B$O(B Apache 1.2.0 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B<u$1IU$1$G$-$F$$$J$$@\B3$rBT5!$5$;$k:]$N:GBg?t$r;XDj$7$^$9!#(B - $BDL>o$OJQ99$NI,MW$O$"$j$^$;$s$7!"JQ99$9$k$3$H$OK>$^$7$/$"$j$^$;$s!#(B - $B$7$+$7!"%7%9%F%`$K$h$C$F$O(B TCP SYN $B%U%i%C%I967b$r<u$1$F$$$k$H$-$K(B - $B$3$N?tCM$rA}$d$7$?J}$,NI$$>l9g$,$"$j$^$9!#(B<code>listen(2)</code> - $B%7%9%F%`%3!<%k$N(B backlog $B%Q%i%a!<%?$r;2>H$7$F$/$@$5$$!#(B</p> - - <p>$B$3$N?tCM$O!"(BOS $B$K$h$C$F>.$5$JCM$K@)8B$5$l$F$$$k$3$H$,$h$/$"$j!"(B - OS $B$K$h$C$F$5$^$6$^$G$9!#$5$i$K!"B?$/$N(B OS $B$O(B backlog - $B$G;XDj$5$l$?CM$=$N$b$N$r;H$&$N$G$O$J$/!"$=$l$K4p$E$/CM(B - ($BDL>o$O$h$jBg$-$JCM(B) $B$r;H$&$H$$$&$3$H$K$bCm0U$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="location" name="location"><Location> - $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <Location - <em>URL-path</em>|<em>URL</em>> ... </Location><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Location $B$O(B Apache 1.1 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><Location> $B%G%#%l%/%F%#%V$O!"(BURL - $B$K$h$k%"%/%;%9@)8f$rDs6!$7$^$9!#(B<a - href="#directory"><Directory></a> $B%G%#%l%/%F%#%V$H;w$F$$$F!"(B - </Location> $B%G%#%l%/%F%#%V$G=*N;$9$k%5%V%;%/%7%g%s$r3+;O$7$^$9!#(B - <code><Location></code> $B%;%/%7%g%s$O!"(B<Directory> - $B%;%/%7%g%s$H(B <code>.htaccess</code> $B$NFI$_9~$_$N8e!"(B<Files> - $B%;%/%7%g%s$rE,MQ$7$?8e$K!"@_Dj%U%!%$%k$K8=$l$?=g$K=hM}$5$l$^$9!#(B</p> - - <p>URL $B$O%U%!%$%k%7%9%F%`$KBP1~$9$kI,MW$O$J$/!"(B<Location> - $B$O40A4$K%U%!%$%k%7%9%F%`$K4X78$;$:F0:n$9$k$3$H$r6/D4$7$F$*$-$^$9!#(B</p> - - <p>$B$9$Y$F$N%j%/%(%9%H(B ($B%W%m%-%7$r=|$/(B) $B$KBP$7!"(BURL $B$O(B - <code>/path/</code> $B$H$$$&!"(B<code>http://servername</code> - $B$H$$$&@\F,<-$r4^$^$J$$7A$G%^%C%A$7$^$9!#(B - $B%W%m%-%7%j%/%(%9%H$N>l9g$K$O!"(B<code>scheme://servername/path</code> - $B$H$$$&@\F,<-$r4^$`7A$G%^%C%A$7!"@\F,<-$r4^$a$F;XDj$9$kI,MW$,$"$j$^$9!#(B</p> - - <p>URL $B$K$O%o%$%k%I%+!<%I$rMxMQ$9$k$3$H$,$G$-$^$9!#(B - `?' $B$OG$0U$N0lJ8;z!"(B`*' $B$OG$0U$NJ8;zNs$K%^%C%A$7$^$9!#(B </p> - - <p><strong>Apache 1.2 $B0J9_$N>l9g(B:</strong> - <code>~</code> $B$H$$$&J8;z$rDI2C$9$k$3$H$G!"3HD%@55,I=8=$r(B - $BMxMQ$9$k$3$H$b$G$-$^$9!#(B - $BNc$($P!"(B</p> -<pre> - <Location ~ "/(extra|special)/data"> -</pre> - - <p>$B$O(B URL $B$K(B "/extra/data" $B$+(B "/special/data" - $B$H$$$&J8;zNs$,4^$^$l$F$$$k>l9g$K%^%C%A$7$^$9!#$=$7$F!"(B - Apache 1.3 $B0J9_$N>l9g$K$O!"(B<code><Location></code> - $B$N@55,I=8=HG$HA4$/F1$8F0:n$r$9$k(B <a - href="#locationmatch"><LocationMatch></a> - $B$H$$$&?7$7$$%G%#%l%/%F%#%V$,$"$j$^$9!#(B</p> - - <p><code>Location</code> $B5!G=$O!"(B<code><a - href="mod_mime.html#sethandler">SetHandler</a></code> - $B%G%#%l%/%F%#%V$HAH9g$o$;$FMxMQ$9$k$HFC$KJXMx$G$9!#(B - $BNc$($P!"(Bfoo.com $B$N%V%i%&%6$+$i$N$_%9%F!<%?%9$N;2>H$rM-8z$K$7$?$1$l$P!"(B - $B<!$N$h$&$K$9$l$PNI$$$G$7$g$&!#(B</p> -<pre> - <Location /status> - SetHandler server-status - Order Deny,Allow - Deny from all - Allow from .foo.com - </Location> -</pre> - - <p><strong>Apache 1.3 $B0J9_$K$*$1$k(B / ($B%9%i%C%7%e(B) - $B$N<h$j07$$$K$D$$$F$NCm0U(B:</strong> - $B%9%i%C%7%eJ8;z$O!"(BURL - $BFb$K8=$l$k>l=j$K1~$8$FJQ$o$kFCJL$J0UL#$r;}$C$F$$$^$9!#(B - $B%U%!%$%k%7%9%F%`$K$*$$$FMxMQ$9$k>l9g$K$OJ#?t$N%9%i%C%7%e$G$b0l$D$N(B - $B%9%i%C%7%e$H$7$F07$o$l$^$9$,!"(B($BNc$($P!"(B<code>/home///foo</code> - $B$O(B <code>/home/foo</code> $B$H$$$C$?$h$&$K(B) URL - $B$K$*$$$F$OI,$:$7$b$=$&$J$k$o$1$G$O$"$j$^$;$s!#(B - <code><LocationMatch></code> - $B%G%#%l%/%F%#%V$d@55,I=8=$rMxMQ$7$?(B <code><Location></code> - $B%G%#%l%/%F%#%V$G$=$N$h$&$JF0:n$r$5$;$?$1$l$P!"(B - $BL@<(E*$KJ#?t$N%9%i%C%7%e$r5-=R$9$kI,MW$,$"$j$^$9!#(B - $BNc$($P!"(B<code><LocationMatch ^/abc></code> $B$O!"(B - <code>/abc</code> $B$H$$$&%j%/%(%9%H(B URL $B$K%^%C%A$7$^$9$,!"(B - <code>//abc</code> $B$H$$$&%j%/%(%9%H(B URL $B$K$O%^%C%A$7$^$;$s!#(B - ($B@55,I=8=$G$J$$(B) <code><Location></code> $B%G%#%l%/%F%#%V$O!"(B - Proxy $B%j%/%(%9%H$KBP$7$FMxMQ$9$k:]$K$OF1MM$N$U$k$^$$$r$7$^$9$,!"(B - ($B@55,I=8=$G$J$$(B) <code><Location></code> $B$r(B Proxy - $B$G$J$$%j%/%(%9%H$KBP$7$FMxMQ$9$k:]$K$O!"(B - $B0l$D$N%9%i%C%7%e$GJ#?t$N%9%i%C%7%e$K%^%C%A$7$^$9!#(B - $BNc$($P!"(B<code><Location /abc/def></code> $B$H;XDj$7!"(B - <code>/abc//def</code> - $B$H$$$&%j%/%(%9%H$,$"$l$P!"%^%C%A$9$k$3$H$K$J$j$^$9!#(B</p> - - <p><strong>$B;2>H(B</strong>: $B%j%/%(%9%H$r<u$1$?:]$K!"(B - $B0[$J$kJ#?t$N%;%/%7%g%s$,$I$N$h$&$K$7$F(B - $BAH$_9g$o$5$l$k$N$+$K$D$$$F$O(B <a href="../sections.html"> - Directory, Location, Files $B%;%/%7%g%s$NF0:nK!(B</a></p> - <hr /> - - <h2><a id="locationmatch" - name="locationmatch"><LocationMatch></a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <LocationMatch - <em>regex</em>> ... </LocationMatch><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> LocationMatch $B$O(B Apache 1.3 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p> - <LocationMatch> $B%G%#%l%/%F%#%V$O!"(B<a - href="#location"><Location></a> $B$HF1$8MM$K(B - URL $B$K$h$k%"%/%;%9@)8f$rDs6!$7$^$9!#(B - $B$?$@$7!"0z?t$OIaDL$NJ8;zNs$G$O$J$/!"@55,I=8=$H$J$j$^$9!#Nc$($P!"(B</p> -<pre> - <LocationMatch "/(extra|special)/data"> -</pre> - - <p>$B$O(B URL $B$K(B "/extra/data" $B$+(B "/special/data" $B$H$$$&J8;zNs$,(B - $B4^$^$l$F$$$k>l9g$K%^%C%A$7$^$9!#(B</p> - <p><strong>$B;2>H(B</strong>: $B%j%/%(%9%H$r<u$1$?:]$K!"(B - $B0[$J$kJ#?t$N%;%/%7%g%s$,$I$N$h$&$K$7$F(B - $BAH$_9g$o$5$l$k$N$+$K$D$$$F$O(B <a href="../sections.html"> - Directory, Location, Files $B%;%/%7%g%s$NF0:nK!(B</a></p> - <hr /> - - <h2><a id="lockfile" name="lockfile">LockFile - $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> LockFile - <em>$B%U%!%$%k%Q%9(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>LockFile - logs/accept.lock</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>LockFile $B%G%#%l%/%F%#%V$O(B Apache $B$,(B USE_FCNTL_SERIALIZED_ACCEPT - $B$+(B USE_FLOCK_SERIALIZED_ACCEPT - $B$G%3%s%Q%$%k$5$l$?$H$-$K;H$&%m%C%/%U%!%$%k$X$N%Q%9$r;XDj$7$^$9!#(B - $B$3$N%G%#%l%/%F%#%V$ODL>o$O%G%U%)%k%HCM$N$^$^$K$7$F$*$/$Y$-$G$9!#(B - $B$3$l$rJQ$($k<g$JM}M3$O!"(B<code>logs</code> $B%G%#%l%/%H%j$,(B NFS - $B%^%&%s%H$5$l$F$$$k!"$H$$$&$b$N$G$9!#$3$l$O!"(B<strong>$B%m%C%/%U%!%$%k$O(B - $B%m!<%+%k%G%#%9%/>e$K:n$i$l$J$1$l$P$J$i$J$$(B</strong>$B$+$i$G$9!#(B - $B<g%5!<%P%W%m%;%9$N(B PID $B$,%U%!%$%kL>$N8e$KDI2C$5$l$^$9!#(B</p> - - <p><strong>$B%;%-%e%j%F%#(B</strong> <code>/var/tmp</code> - $B$N$h$&$J3'$,=q$-9~$a$k%G%#%l%/%H%j$OHr$1$k$N$,8-L@$G$9!#(B - $B$3$l$O!"%5!<%P$,:n@.$7$h$&$H$9$k%m%C%/%U%!%$%k$HF1$8L>A0$N%U%!%$%k$r(B - $B:n@.$9$k$3$H$G!"%5!<%P$N5/F0$rAK;_$9$k!"$H$$$&%5!<%S%95qH]967b$r(B - $B9T$&$3$H$,2DG=$K$J$k$+$i$G$9!#(B</p> - <hr /> - - <h2><a id="loglevel" name="loglevel">LogLevel - $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> LogLevel - <em>level</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>LogLevel - warn</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> LogLevel $B$O(B Apache 1.3 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>LogLevel $B$O!"%(%i!<%m%0$X5-O?$9$k%a%C%;!<%8$N>iD9@-$r;XDj$7$^$9(B - (<a href="#errorlog">ErrorLog</a> $B%G%#%l%/%F%#%V$r8+$F$/$@$5$$(B)$B!#(B - $B0J2<$N(B <em>level</em> $B$r;XDj$G$-!"=g$K=EMWEY$,2<$,$C$F$$$-$^$9!#(B</p> - - <table> - <tr> - <th align="left"><strong>$B%l%Y%k(B</strong> </th> - - <th align="left"><strong>$B@bL@(B</strong> </th> - <th align="left"><strong>$BNc(B</strong> </th> - </tr> - - <tr> - <td><code>emerg</code> </td> - - <td>$B6[5^(B - $B%7%9%F%`$,MxMQ$G$-$J$$(B</td> - <td>Child cannot open lock file. Exiting - ($B;R%W%m%;%9$,%m%C%/%U%!%$%k$r3+$1$J$$$?$a=*N;$7$?(B)</td> - </tr> - - <tr> - <td><code>alert</code> </td> - - <td>$BD>$A$KBP=h$,I,MW(B</td> - <td>getpwuid: couldn't determine user name from uid - (getpwuid: UID $B$+$i%f!<%6L>$rFCDj$G$-$J$+$C$?(B)</td> - </tr> - - <tr> - <td><code>crit</code> </td> - - <td>$BCWL?E*$J>uBV(B</td> - <td>socket: Failed to get a socket, exiting child - (socket: $B%=%1%C%H$,F@$i$l$J$$$?$a!";R%W%m%;%9$r=*N;$5$;$?(B)</td> - </tr> - - <tr> - <td><code>error</code> </td> - - <td>$B%(%i!<(B</td> - <td>Premature end of script headers - ($B%9%/%j%W%H$N%X%C%@$,B-$j$J$$$^$^$G=*$o$C$?(B)</td> - </tr> - - <tr> - <td><code>warn</code> </td> - - <td>$B7Y9p(B</td> - <td>child process 1234 did not exit, sending another SIGHUP - ($B;R%W%m%;%9(B 1234 $B$,=*N;$7$J$+$C$?!#$b$&0lEY(B SIGHUP $B$rAw$k(B)</td> - </tr> - - <tr> - <td><code>notice</code> </td> - - <td>$BIaDL$@$,!"=EMW$J>pJs(B</td> - <td>httpd: caught SIGBUS, attempting to dump core in ... - (httpd: SIGBUS $B%7%0%J%k$r<u$1!"(B... $B$X%3%"%@%s%W$r$7$?(B)</td> - </tr> - - <tr> - <td><code>info</code> </td> - - <td>$BDI2C>pJs(B</td> - <td>"Server seems busy, (you may need to increase - StartServers, or Min/MaxSpareServers)..." ($B!V%5!<%P$OIi2Y$,9b$$!"(B - (StartServers $B$d(B Min/MaxSpareServers $B$NCM$rA}$d$9I,MW$,$"$k$+$b(B)$B!W(B)</td> - </tr> - - <tr> - <td><code>debug</code> </td> - - <td>$B%G%P%C%0%a%C%;!<%8(B</td> - <td>"Opening config file ..." ($B@_Dj%U%!%$%k$r3+$$$F$$$k(B...)</td> - </tr> - </table> - - <p>$BFCDj$N%l%Y%k$,;XDj$5$l$?>l9g!"$=$l$h$j9b$$%l%Y%k$N$9$Y$F$N(B - $B%a%C%;!<%8$,Js9p$5$l$^$9!#(B - <em>$BNc$($P(B</em>$B!"(B<code>LogLevel info</code> $B$K;XDj$9$k$H!"(B - <code>notice</code> $B$H(B <code>warn</code> $B$bJs9p$5$l$^$9!#(B</p> - - <p>$B$J$*(B <code>crit</code> $B0J>e$r;XDj$9$k$3$H$,?d>)$5$l$^$9!#(B</p> - - <p>$BNc(B:</p> - - <pre>LogLevel notice</pre> - - <hr /> - - <h2><a id="maxclients" name="maxclients">MaxClients - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> MaxClients - <em>$B?tCM(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>MaxClients - 256</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>MaxClients - $B%G%#%l%/%F%#%V$O!"F1;~$K%5%]!<%H$G$-$k:GBg%j%/%(%9%H?t$r@_Dj$7$^$9!#(B - $B;R%5!<%P%W%m%;%9$O!"$3$l$h$jB?$/$O:n@.$5$l$^$;$s!#(B - $B$J$*!"(B256 $B%/%i%$%"%s%H$h$jBg$-$J?tCM$r;XDj$9$k$?$a$K$O!"(Bhttpd.h $B$N(B - HARD_SERVER_LIMIT $B$rJT=8$7$F:F%3%s%Q%$%k$7$J$1$l$P$J$j$^$;$s!#(B</p> - - <p>MaxClients $B$N@)8B$rD6$($?@\B3$O!"DL>o$O(B <a - href="#listenbacklog">ListenBacklog</a> - $B%G%#%l%/%F%#%V$G;XDj$7$??t$^$G%-%e!<$KF~$l$i$l$^$9!#(B - $B$=$7$F!"JL$N%j%/%(%9%H$r=*N;$7;R%W%m%;%9$,2rJ|$5$l$?;~E@$G!"(B - $B@\B3$,<u$1IU$1$i$l$^$9!#(B</p> - <hr /> - - <h2><a id="maxkeepaliverequests" - name="maxkeepaliverequests">MaxKeepAliveRequests - $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> MaxKeepAliveRequests - <em>$B?tCM(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> - <code>MaxKeepAliveRequests 100</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>MaxKeepAliveRequests $B%G%#%l%/%F%#%V$O!"(B<a - href="#keepalive">KeepAlive</a> $B$,M-8z$J>l9g$K!"(B - $B0l2s$N@\B3$G<u$1IU$12DG=$J%j%/%(%9%H$N?t$r@)8B$7$^$9!#(B - "<code>0</code>" $B$K@_Dj$7$F$$$l$P!"<u$1IU$1$k%j%/%(%9%H$OL5@)8B$K$J$j$^$9!#(B - $B$3$N@_Dj$O!"%5!<%P@-G=$r8~>e$5$;$k$?$a$K!"Bg$-$J?tCM$r;XDj$9$k$3$H$r4+$a$^$9!#(B - $B$J$*!"(BApache 1.1 $B$G$O$3$NCM$O!"(BKeepAlive - $B%G%#%l%/%F%#%V$N%*%W%7%g%s$H$7$F;XDj$5$l$F$$$^$7$?!#(B</p> - - <p>$BNc(B</p> - - <pre>MaxKeepAliveRequests 500</pre> - - <hr /> - - <h2><a id="maxrequestsperchild" - name="maxrequestsperchild">MaxRequestsPerChild - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> MaxRequestsPerChild - <em>$B?tCM(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> - <code>MaxRequestsPerChild 0</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>MaxRequestsPerChild $B%G%#%l%/%F%#%V$O!"(B - $B8D!9$N;R%5!<%P!<%W%m%;%9$,=hM}$G$-$k%j%/%(%9%H$N:GBg?t$r@_Dj$7$^$9!#(B - MaxRequestsPerChild - $B$G;XDj$5$l$??t$N%j%/%(%9%H$r=hM}$9$k$H!";R%W%m%;%9$O=*N;$7$^$9!#(B - $B$J$*!"(B0 $B$r;XDj$9$k$H!"%W%m%;%9$O8B$j$J$/F0$-$D$E$1$^$9!#(B</p> - - <p>MaxRequestsPerChild $B$K$h$j!":GBg?t$r(B 0 - $B0J30$NCM$K@_Dj$9$k$3$H$O!"Fs$D$NM-1W$J8z2L$,$"$j$^$9!'(B</p> - - <ul> - <li>($BM=4|$;$L(B) $B%a%b%j%j!<%/$K$h$C$F%W%m%;%9$,>CHq$9$k(B - $B%a%b%j$NAmNL$r@)8B$9$k$3$H$,$G$-$^$9!#(B</li> - - <li>$B%W%m%;%9$N<B9T;~4V@)8B$,@_$1$i$l$k$3$H$K$h$j!"(B - $B%5!<%P$NIi2YDc8:;~$K%W%m%;%9$N?t$r8:>/$5$;$k$3$H$r=u$1$^$9!#(B</li> - </ul> - - <p>$B$?$@$7!"(BWin32 $B$K$*$$$F$O$3$l$r(B 0 $B$K@_Dj$7$?J}$,NI$$$G$7$g$&!#(B - 0 $B0J30$r;XDj$9$k$H!"%j%/%(%9%H$N@)8B$KE~C#$7$?$H$-$K;R%W%m%;%9$,=*N;$7!"(B - $B;R%W%m%;%9$,$b$&0lEY:n$i$l!"$=$N:]$K@_Dj%U%!%$%k$rFI$_D>$7$^$9!#(B - $B$3$l$K$h$j!"@_Dj%U%!%$%k$r=$@58e$K!"(B - $B$^$@=$@5FbMF$,E,MQ$5$l$k$N$r4|BT$7$F$$$J$$$H$-$K(B - $BM=4|$;$L?6$kIq$$$r$9$k$3$H$,$"$j$^$9!#(B - <a href="#threadsperchild">ThreadsPerChild</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - - <p><strong>$BCm0U(B:</strong> <em>KeepAlive</em> $B%j%/%(%9%H$N>l9g!"(B - $B:G=i$N%j%/%(%9%H$N$_%+%&%s%H$5$l$^$9!#(B - $B<B<AE*$K$O;R%W%m%;%9$"$?$j$N(B<em>$B@\B3?t(B</em>$B$r;XDj$9$k$b$N$H$$$($^$9!#(B</p> - <hr /> - - <h2><a id="maxspareservers" - name="maxspareservers">MaxSpareServers $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> MaxSpareServers - <em>$B?tCM(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>MaxSpareServers - 10</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>MaxSpareServers $B%G%#%l%/%F%#%V$O!"(B<em>$B%"%$%I%k>uBV(B</em>$B$G$"$k(B - $B;R%5!<%P%W%m%;%9$NK>$^$7$$:GBg?t$r;XDj$7$^$9!#(B - $B%"%$%I%k>uBV$N%W%m%;%9$H$O!"%j%/%(%9%H$r=hM}$7$F$$$J$$%W%m%;%9$N$3$H$G$9!#(B - MaxSpareServers $B$G;XDj$7$??t0J>e$,%"%$%I%k>uBV$G$"$l$P!"(B - $B?F%W%m%;%9$OA}$($9$.$?%W%m%;%9$r(B kill $B$7$^$9!#(B</p> - - <p>$B$3$N?tCM$NJQ99$O!"$H$F$b%"%/%;%9$NB?$$%5%$%H$K$*$$$F$N$_I,MW$H$J$k$G$7$g$&!#(B - $BBg$-$J?tCM$r;XDj$9$k$3$H$O!"$[$H$s$I$N>l9g$K$ONI$/$J$$@_Dj$G$9!#(B</p> - - <p>$B$J$*!"$3$l$O(B<em>$BM=Hw(B</em>$B%5!<%P$N:GBg?t$G$"$j!"(B - $B%/%i%$%"%s%H$+$i$N%j%/%(%9%H$r0lEY$K$I$l$@$1=hM}$G$-$k$N$+$N:GBg?t$r(B - $B;XDj$9$k$b$N$G$O$"$j$^$;$s!#(B - $B$b$7!"$=$&$$$C$?:GBg?t$r;XDj$7$?$$$N$G$"$l$P!"(B<a - href="#maxclients">MaxClients</a> $B%G%#%l%/%F%#%V$r;2>H$7$F$/$@$5$$!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(BMicrosoft Windows $B%W%i%C%H%U%)!<%`$K$*$1$k(B - Apache $B%5!<%P$G$O0UL#$r;}$A$^$;$s!#(B</p> - - <p><a href="#minspareservers">MinSpareServers</a>$B!"(B<a - href="#startservers">StartServers</a>$B!"(B<a - href="#maxclients">MaxClients</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="minspareservers" - name="minspareservers">MinSpareServers $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> MinSpareServers - <em>$B?tCM(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>MinSpareServers - 5</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>MinSpareServers $B%G%#%l%/%F%#%V$O!"(B<em>$B%"%$%I%k>uBV(B</em>$B$G$"$k(B - $B;R%5!<%P%W%m%;%9$NK>$^$7$$:G>.?t$r;XDj$7$^$9!#(B - $B%"%$%I%k>uBV$N%W%m%;%9$H$O!"%j%/%(%9%H$r=hM}$7$F$$$J$$%W%m%;%9$N$3$H$G$9!#(B - $B$b$7(B MinSpareServers $B$G;XDj$7$??t$h$j%"%$%I%k>uBV$N%5!<%P$,>/$J$1$l$P!"(B - $B?F%W%m%;%9$O(B 1 $BIC4V$K(B 1 $B8D$r8BEY$H$7$F?7$7$$;R%W%m%;%9$r@8@.$7$^$9!#(B</p> - - <p>$B$3$N?tCM$NJQ99$O!"$H$F$b%"%/%;%9$NB?$$%5%$%H$K$*$$$F$N$_I,MW$H$J$k$G$7$g$&!#(B - $BBg$-$J?tCM$r;XDj$9$k$3$H$O!"$[$H$s$I$N>l9g$K$ONI$/$J$$@_Dj$G$9!#(B</p> - - <p>$B$J$*!"$3$N%G%#%l%/%F%#%V$K$*$$$F$"$k?tCM(B <i>m</i> $B$r;XDj$7$?$H$9$k$H!"(B - <i>n</i> $B$H$$$&?t$N2TF0Cf$N%/%i%$%"%s%H%j%/%(%9%H$,$"$k;~$K!"(B - <i>n + m</i> $B0J>e$N(B <code>httpd</code> - $B%W%m%;%9$,3N<B$KJ];}$5$l$k$h$&$K$7$^$9!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(BMicrosoft Windows - $B%W%i%C%H%U%)!<%`$G$O0UL#$r;}$A$^$;$s!#(B</p> - - <p><a href="#minspareservers">MinSpareServers</a>$B!"(B<a - href="#startservers">StartServers</a>$B!"(B<a - href="#maxclients">MaxClients</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="namevirtualhost" - name="namevirtualhost">NameVirtualHost $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> NameVirtualHost - <em>addr</em>[:<em>port</em>]<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> NameVirtualHost - $B$O(B Apache 1.3 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>NameVirtualHost $B%G%#%l%/%F%#%V$O!"(B - <a href="../vhosts/">$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H(B</a>$B$N@_Dj$r9T$$$?$$>l9g$K(B - $BI,MW$H$J$k$b$N$G$9!#(B</p> - - <p><em>addr</em> $B$K$O%[%9%HL>$r;XDj$G$-$^$9$,!">o$K(B IP - $B%"%I%l%9$+%o%$%k%I%+!<%I$r;XDj$9$k$N$,?d>)$5$l$^$9!#(B - <em>$BNc$($P!"(B</em></p> - - <blockquote> - <code>NameVirtualHost 111.22.33.44</code> - </blockquote> - NameVirtualHost $B%G%#%l%/%F%#%V$O!"L>A0%Y!<%9$N%P!<%A%c%k%[%9%H$r(B - $BMxMQ$7$F%j%/%(%9%H$r<u$1IU$1$k(B IP $B%"%I%l%9$r;XDj$7$^$9!#(B - $B$3$l$O!"IaDL$OL>A0%Y!<%9$N%P!<%A%c%k%[%9%H%"%I%l%9$G$9!#(B - $B$?$@$7!"%U%!%$%"!<%&%)!<%k$dB>$N%W%m%-%7$,%j%/%(%9%H$r<u$1IU$1!"(B - $B0c$&(B IP $B%"%I%l%9$N%5!<%P$K%U%)%o!<%I$9$k$H$$$&>l9g$O!"(B - $B%j%/%(%9%H$rDs6!$7$?$$%^%7%s>e$NJ*M}%$%s%?!<%U%'!<%9$N(B - IP $B%"%I%l%9$r;XDj$9$kI,MW$,$"$j$^$9!#(B - $BJ#?t$N%"%I%l%9$GJ#?t$NL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$r;XDj$9$k>l9g$O(B - $B3F%"%I%l%9$KBP$7$F%G%#%l%/%F%#%V$r=q$$$F$/$@$5$$!#(B - - <p>$B!V<g%5!<%P!W$d!"$I$N(B _default_ $B%5!<%P$b!"(B - NameVirtualHost $B$G;XDj$7$?(B IP $B%"%I%l%9$X$N%j%/%(%9%H(B - $B$r=hM}$9$k$3$H$O(B<strong>$B$"$j$^$;$s(B</strong> ($B$J$<$+(B NameVirtualHost - $B$r;XDj$7$?$1$I$=$N%"%I%l%9$K(B VirtualHost $B$rDj5A$7$J$+$C$?>l9g$r=|$/(B)$B!#(B</p> - - <p>$B$J$*!"L>A0%Y!<%9$N%P!<%A%c%k%[%9%H$K%]!<%HHV9f$r;XDj$9$k$3$H$b2DG=$G$9!#(B<br /> - $BNc$($P!"(B</p> - - <blockquote> - <code>NameVirtualHost 111.22.33.44:8080</code> - </blockquote> - Apache 1.3.13 $B0J>e$N>l9g$K$O!"(B<em>addr</em> $B$K(B <code>*</code> - $B$r;XDj$9$k$3$H$,$G$-$^$9!#(B - $B$3$l$K$h$j!"(BNameVirtualHost$B%G%#%l%/%F%#%V$d(B <a - href="#virtualhost"><VirtualHost></a> $B%;%/%7%g%s$G;XDj$5$l$J$+$C$?!"(B - $B$h$j:Y$+$/@_Dj$5$l$F$$$k%"%I%l%90J30$N$9$Y$F$N%"%I%l%9$X$N@\B3$K%^%C%A$7$^$9!#(B - $BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H$@$1$rMxMQ$7$?$$>l9g$d!"(B - $B@_Dj%U%!%$%kCf$K%5!<%P$N(B IP - $B%"%I%l%9$r5-=R$9$k$3$H$rK>$^$J$$>l9g$KM-MQ$G$7$g$&!#(B - - <p><strong>$B;2>H(B:</strong> <a href="../vhosts/">Apache $B%P!<%A%c%k%[%9%H2r@b=q(B</a></p> - <hr /> - - <h2><a id="options" name="options">Options $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> Options - [+|-]<em>option</em> [[+|-]<em>option</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> Options<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>Options $B%G%#%l%/%F%#%V$O!"FCDj$N%G%#%l%/%H%j$KBP$7$F(B - $B$I$N5!G=$rM-8z$K$9$k$N$+$r@)8f$7$^$9!#(B</p> - - <p><em>option</em> $B$r(B <code>None</code> - $B$K;XDj$9$k$H!"FCJL$J5!G=$O$9$Y$FL58z$K$J$j$^$9!#$^$?!"0J2<$N<($9(B - 1 $B8D0J>e$N$b$N$r;XDj$G$-$^$9!#(B</p> - - <dl> - <dt>All</dt> - - <dd>MultiViews $B$r=|$$$?$9$Y$F$N5!G=$,M-8z$H$J$j$^$9!#(B - $B$3$l$,%G%U%)%k%H$G$9!#(B</dd> - - <dt>ExecCGI</dt> - - <dd> - CGI $B%9%/%j%W%H$N<B9T$r5v2D$7$^$9!#(B</dd> - - <dt>FollowSymLinks</dt> - - <dd> - $B%5!<%P$,!"$3$N%G%#%l%/%H%jFb$G%7%s%\%j%C%/%j%s%/$r$?$I$l$k$h$&$K$7$^$9!#(B<br /> - <strong>$BCm0UE@(B</strong>: - $B%5!<%P$,%7%s%\%j%C%/%j%s%/$r$?$I$k>l9g$G$b!"(B - <code><Directory></code> - $B%;%/%7%g%s$K%^%C%A$5$;$k$?$a$N%Q%9L>$O(B<em>$BJQ99$5$l$^$;$s(B</em>$B!#(B<br /> - <strong>$BCm0UE@(B</strong>: <Location> - $BFb$K$3$N%*%W%7%g%s$r;XDj$7$F$bL5;k$5$l$^$9!#(B</dd> - - <dt>Includes</dt> - - <dd> - SSI $B$rM-8z$K$7$^$9!#(B</dd> - - <dt>IncludesNOEXEC</dt> - - <dd> - SSI $B$OM-8z$K$J$j$^$9$,!"(B#exec $B%3%^%s%I(B $B$H(B #exec CGI - $B$OL58z$K$J$j$^$9!#$?$@$7!"(B#include virtual $B$K$h$j!"(BScriptAlias - $B$5$l$?%G%#%l%/%H%j$G(B CGI $B$r<B9T$9$k$3$H$O2DG=$G$9!#(B</dd> - - <dt>Indexes</dt> - - <dd> - $B$b$7!"(BURL $B$,%G%#%l%/%H%j$K%^%C%W$9$k%j%/%(%9%H$G$"$C$F!"$+$D(B - DirectoryIndex $B$G;XDj$7$?%U%!%$%k(B ($BNc$($P!"(Bindex.html) $B$,(B - $B%G%#%l%/%H%jFb$KL5$1$l$P!"(B - $B%G%#%l%/%H%jFb$N0lMw$r@07A$7$FJV$;$k$h$&$K$7$^$9!#(B</dd> - - <dt>MultiViews</dt> - - <dd> - <a href="../content-negotiation.html">$B%3%s%F%s%H%M%4%7%(!<%7%g%s(B</a> - $B$5$l$?(B MultiViews $B$r5v2D$7$^$9!#(B</dd> - - <dt>SymLinksIfOwnerMatch</dt> - - <dd> - $B%7%s%\%j%C%/@h$N%U%!%$%k$^$?$O%G%#%l%/%H%j$,!"(B - $B%7%s%\%j%C%/%j%s%/$N=jM-%f!<%6(B ID - $B$HF1$8>l9g$K$N$_%7%s%\%j%C%/%j%s%/$r$?$I$l$k$h$&$K$7$^$9!#(B<br /> - <strong>$BCm0UE@(B</strong>: <Location> - $BFb$K$3$N%*%W%7%g%s$r;XDj$7$F$bL5;k$5$l$^$9!#(B</dd> - </dl> - $BDL>o!"%G%#%l%/%H%j$KBP$7$FJ#?t$N(B <code>Options</code> - $B$,E,MQ2DG=$J>l9g!":G$b6a$$$b$N0l$D$N$_$,E,MQ$5$l$^$9!#(B - $BJ#?t$N;XDj$,%^!<%8$5$l$k$o$1$G$O$"$j$^$;$s!#$7$+$7!"$9$Y$F$N(B - <code>Options</code> $B%G%#%l%/%F%#%V$,(B + $B$d(B - - $BIU$-$G;XDj$5$l$?>l9g$O%*%W%7%g%s$NCM$O%^!<%8$5$l$^$9!#(B - + $B$rF,$K$D$1$l$P8=:_$N@_Dj$K2C$($i$l!"(B- - $B$rIU$1$l$P8=:_$N@_Dj$+$i:o=|$5$l$^$9!#(B - - <p>$BNc$($P!"(B+ $B$d(B - $B$rMxMQ$7$J$$>l9g$O(B:</p> - - <blockquote> - <code><Directory /web/docs><br /> - Options Indexes FollowSymLinks<br /> - </Directory><br /> - <Directory /web/docs/spec><br /> - Options Includes<br /> - </Directory></code> - </blockquote> - - /web/docs/spec $B$H$$$&%G%#%l%/%H%j$K$O!"(B<code>Includes</code> - $B$@$1$,E,MQ$5$l$^$9!#$7$+$7!"(B2 $BHVL\$N(B <code>Options</code> $B$G(B - + $B$d(B - $B$rMxMQ$7$F$_$k$H(B: - - <blockquote> - <code><Directory /web/docs><br /> - Options Indexes FollowSymLinks<br /> - </Directory><br /> - <Directory /web/docs/spec><br /> - Options +Includes -Indexes<br /> - </Directory></code> - </blockquote> - - /web/docs/spec $B$H$$$&%G%#%l%/%H%j$K$O!"(B <code>FollowSymLinks</code> - $B$H(B <code>Includes</code> $B$,E,MQ$5$l$^$9!#(B - - - <p><strong>$BCm0U(B:</strong> <code>-IncludesNOEXEC</code> $B<c$7$/$O(B - <code>-Includes</code> - $B$r;XDj$9$k$H!"A0$N@_Dj$,$I$N$h$&$K$J$C$F$$$h$&$H$b(B SSI - $B$OL58z$H$J$j$^$9!#(B</p> - - <p>$B$I$N$h$&$J@_Dj$b$5$l$F$$$J$1$l$P!"%G%U%)%k%H$G$O(B - <code>All</code> $B$K$J$j$^$9!#(B</p> - <hr /> - - <h2><a id="pidfile" name="pidfile">PidFile $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> PidFile - <em>$B%U%!%$%k%Q%9(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>PidFile - logs/httpd.pid</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>PidFile $B%G%#%l%/%F%#%V$O%5!<%P$,%G!<%b%s$N%W%m%;%9(B ID - $B$r5-O?$9$k%U%!%$%k$r@_Dj$7$^$9!#%U%!%$%kL>$,%9%i%C%7%e(B - (/) $B$+$i;O$a$i$l$F$$$J$1$l$P!"(BServerRoot $B$+$i$NAjBP%Q%9$H$J$j$^$9!#(B - PidFile $B$O(B <a href="#servertype">standalone</a> - $B%b!<%I$G$N$_;HMQ$G$-$^$9!#(B</p> - - <p><a - href="#errorlog">ErrorLog</a> $B$H(B TransferLog $B$rJD$8$F3+$-D>$7$F!"(B - $B@_Dj%U%!%$%k$r:FFI$_9~$_$5$;$k$3$H$,$G$-$k$h$&$K%5!<%P$K(B - $B%7%0%J%k$rAw$k$3$H$,$G$-$l$PJXMx$J$3$H$,$"$j$^$9!#(B - $B$3$l$O!"(BSIGHUP (kill -1) $B%7%0%J%k$r(B PidFile - $B$K5-:\$5$l$F$$$k%W%m%;%9(B ID $B$KAw$k$3$H$K$h$C$F2DG=$G$9!#(B</p> - - <p>PidFile $B$O%m%0%U%!%$%k$N>l=j$H(B <a - href="../misc/security_tips.html#serverroot">$B0BA4@-(B</a>$B$HF1$8$h$&$J(B - $BCm0U$,I,MW$G$9!#(B</p> - <hr /> - - <h2><a id="port" name="port">Port $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> Port - <em>number</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>Port - 80</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p><em>number</em>$B$K$O!"(B0 $B$+$i(B 65535 - $B$^$G$NHV9f$r;XDj$7$^$9!#$$$/$D$+$N%]!<%HHV9f(B ($BFC$K(B1024$BHV0JA0(B) - $B$O!"FCDj$N%W%m%H%3%k$N$?$a$KM=Ls$5$l$F$$$^$9!#(B - <code>/etc/services</code> - $B$r8+$k$H!"Dj5A$5$l$F$$$k%]!<%H$N0lMw$,$"$j$^$9!#DL>o!"(BHTTP - $B%W%m%H%3%k$NI8=`$N%]!<%H$O(B 80 $B$G$9!#(B</p> - - <p>Port $B%G%#%l%/%F%#%V$O!"Fs$D$N0UL#$r;}$C$F$*$j!"0l$D$O(B - NCSA $B$N>e0L8_49$H$7$F$NI,MW@-$G$9(B (Apache - $B$N@_Dj$G$O:.F1$7$d$9$$E@$G$9(B)</p> - <ul> - <li>$B%]!<%HHV9f$r;XDj$7$F$$$k(B <a href="#listen">Listen</a> $B$d(B <a - href="#bindaddress">BindAddress</a> $B$,$J$1$l$P!"<g%5!<%PFb(B - (<a href="#virtualhost"><VirtualHost></a> $B%;%/%7%g%s30(B) - $B$K5-=R$9$k$3$H$K$h$C$F!"%5!<%P$,(B listen - $B$9$k%]!<%H$NHV9f$r;XDj$G$-$^$9!#(BListen $B<c$7$/$O(B BindAddress - $B$K$*$$$F(B <code>:number</code> $B$H$$$C$?;XDj$,$5$l$F$$$l$P!"(BPort - $B$O%5!<%P$,(B listen $B$9$k%]!<%H$K$O1F6A$7$^$;$s!#(B</li> - - <li>Port $B%G%#%l%/%F%#%V$NCM$O!"(B<code>SERVER_PORT</code> $B4D6-JQ?t(B - (<a href="mod_cgi.html">CGI</a> $B$d(B - <a href="mod_include.html">SSI</a> $B$K$*$$$F@_Dj$5$l$k(B) - $B$r@_Dj$7!"%5!<%P$,<+J,<+?H$r;2>H$9$k(B URL $B$r@8@.$9$k(B - ($BNc$($P!"<+J,<+?H$X30It%j%@%$%l%/%H$r:n@.$9$k>l9g$J$I(B) - $B>l9g$KMxMQ$5$l$^$9!#$3$NF0:n$O(B <a - href="#usecanonicalname">UseCanonicalName</a> - $B$K$h$jJQ99$G$-$^$9!#(B</li> - </ul> - - Port $B%G%#%l%/%F%#%V$N<g$JF0:n$O!"(B<a href="#servername">ServerName</a> - $B%G%#%l%/%F%#%V$HF1MM$N$b$N$H$_$J$9$3$H$,$G$-$^$9!#(B - ServerName $B$H(B Port - $B$O!"%5!<%P$N(B<em>$B@5<0$J(B</em>$B%"%I%l%9$,!"2?$G$"$k$+$r;XDj$7$^$9!#(B - - <p>80 $BHV%]!<%H$O!"(BUNIX $B$NFCJL$J%]!<%H$N0l$D$G$9!#(B1024 - $BHVL$K~$N$9$Y$F$N%]!<%H$O%7%9%F%`$,;HMQ$9$k$?$a$KM=Ls$5$l$F$$$^$9!#(B - <em>$B$9$J$o$A(B</em>$B!"0lHL%f!<%6(B (root $B0J30(B) $B$O;HMQ$9$k$3$H$,$G$-$^$;$s!#(B - $B0lHL%f!<%6$O$=$l0J>e$N%]!<%H$7$+;HMQ$G$-$^$;$s!#$=$N$?$a!"(B - 80 $BHV%]!<%H$r;HMQ$9$k$K$O!"(Broot - $B%"%+%&%s%H$G%5!<%P$r5/F0$7$J$1$l$P$J$j$^$;$s!#(B - $B5/F08e$K!"%]!<%H$r%P%$%s%I$7$?8e!"%j%/%(%9%H$r<u$1IU$1$kA0$K(B - Apache $B$O(B <a href="#user">User - $B%G%#%l%/%F%#%V(B</a>$B$G;XDj$5$l$?!"$h$jFC8"$NDc$$%f!<%6$K0\9T$7$^$9!#(B</p> - - <p>$B$b$7!"(B80 $BHV%]!<%H$r;HMQ$G$-$J$$>l9g$K$O!"(B - $B;HMQ$7$F$$$J$$B>$NG$0U$N%]!<%H$rA*$s$G$/$@$5$$!#(Broot $B0J30$N%f!<%6$J$i!"(B - 8000 $B$J$I$N$h$&$K(B 1023 $B$h$j>e$N%]!<%H$rA*$s$G2<$5$$!#(B</p> - - <p>$B%;%-%e%j%F%#(B: $B$b$7!"(Broot $B$K$h$C$F%5!<%P$r5/F0$7$?$J$i!"(B - <a href="#user">User</a> $B$r(B root $B0J30$K@_Dj$7$F$/$@$5$$!#@\B3$r(B - root $B$G07$&$H!"%5%$%H$O=EBg$J%;%-%e%j%F%#967b$K$5$i$5$l$k(B - $B2DG=@-$,$"$j$^$9!#(B </p> - <hr /> - - <h2><a id="protocolreqcheck" name="protocolreqcheck">ProtocolReqCheck - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ProtocolReqCheck - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ProtocolReqCheck - on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B - <br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> - ProtocolReqCheck $B$O(B Apache 1.3.27 $B0J9_$G$N$_;HMQ2DG=$G$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$O(B Request $B9T$N(B Protocol - $B%U%#!<%k%I$N87L)$J%A%'%C%/$r9T$&$h$&$K$7$^$9!#(BApache $B$N(B 1.3.26 - $B0JA0$N%P!<%8%g%s$O(B (<code>HTTP-1.1</code> $B$N$h$&$J(B) $B4V0c$C$?(B - Protocol $B$rL[$C$F<u$1IU$1$F!"(B<code>HTTP/1.0</code> - $B$H$_$J$7$F$$$^$7$?!#$3$N%P!<%8%g%s$G$O$=$&$G$O$J$/!"(BProtocol - $B%U%#!<%k%I$O@5$7$$$b$N$G$J$1$l$P$J$i$J$/$J$j$^$7$?!#(B - 1.3.26 $B0JA0$NF0:n$,K>$^$7$+$C$?$j!"I,MW$@$C$?$j$9$k>l9g$O(B - <code>ProtocolReqCheck off</code> - $B$H@_Dj$9$k$3$H$K$h$j87L)$J%A%'%C%/$r$7$J$$$h$&$K$G$-$^$9!#(B</p> - - <hr /> - - <h2><a id="require" name="require">Require $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> Require - <em>entity-name</em> [<em>entity-name</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B$3$N%G%#%l%/%F%#%V$O!"$I$NG'>Z:Q$_$N%f!<%6$,%j%=!<%9$K(B - $B%"%/%;%9$9$k$3$H$,$G$-$k$+$r;XDj$7$^$9!#(B - $B0J2<$N$h$&$J9=J8$K$J$j$^$9!#(B</p> - - <ul> - <li> - Require user <em>userid</em> [<em>userid</em>] ... - - <p>$B;XDj$5$l$?%f!<%6$N$_!"%j%=!<%9$X$N%"%/%;%9$r5v2D$7$^$9!#(B</p> - </li> - - <li> - Require group <em>group-name</em> [<em>group-name</em>] ... - - - <p>$B;XDj$5$l$?%0%k!<%W$KB0$9$k%f!<%6$N$_!"%j%=!<%9$X$N%"%/%;%9$r5v2D$7$^$9!#(B</p> - </li> - - <li> - Require valid-user - - <p>$B$9$Y$F$NG'>Z$5$l$?%f!<%6$K!"%j%=!<%9$X$N%"%/%;%9$r5v2D$7$^$9!#(B</p> - </li> - <li>file-owner - <p>$BL>A0$,%U%!%$%k$N=jM-<T$N%7%9%F%`$G$NL>A0$K9g$&%f!<%6$@$1$,(B - $B%j%=!<%9$r%"%/%;%9$G$-$^$9!#(B<br> - [Apache 1.3.20 $B0J9_$G;HMQ2DG=(B]</br> - </li> - <li>file-group - <p>$B%U%!%$%k$N=jM-<T$N%0%k!<%W$N%7%9%F%`$G$NL>A0$K9g$&%0%k!<%W$N%a%s%P$@$1$,(B - $B%j%=!<%9$K%"%/%;%9$G$-$^$9!#(B<br>[Apache 1.3.20 $B0J9_$G;HMQ2DG=(B]</p> - </ul> - - <p>Require $B$O!"@5$7$/F0:n$9$k$?$a$K$O(B <a - href="#authname">AuthName</a> $B5Z$S(B <a - href="#authtype">AuthType</a> $B%G%#%l%/%F%#%V$d!"(B - <a - href="mod_auth.html#authuserfile">AuthUserFile</a> $B5Z$S(B <a - href="mod_auth.html#authgroupfile">AuthGroupFile</a> - ($B%f!<%6$H%0%k!<%W$r;XDj$9$k$?$a$K(B) $B$H$$$C$?%G%#%l%/%F%#%V$H6&$K(B - $B;XDj$9$kI,MW$,$"$j$^$9!#(B - $BNc$($P(B:</p> - - <blockquote> - <code>AuthType Basic<br /> - AuthName "Restricted Directory"<br /> - AuthUserFile /web/users<br /> - AuthGroupFile /web/groups<br /> - Require group admin<br /> - </code> - </blockquote> - $B%"%/%;%9@)8f$O!"(B<strong>$B$9$Y$F$N(B</strong>$B%a%=%C%I$KBP$7$F9T$o$l$^$9!#(B - <strong>$BDL>o$O!"$3$l$,K>$^$7$$F0:n$G$9!#(B</strong> - $B$b$7!"FCDj$N%a%=%C%I$KBP$7$F$N$_%"%/%;%9$N@)8f$rE,MQ$7!"(B - $BB>$N%a%=%C%I$O@)8B$7$J$$>l9g$K$O!"(B<a - href="#limit"><Limit></a> $B%;%/%7%g%sFb$K(B <code>Require</code> - $B$r;XDj$7$F$/$@$5$$!#(B - - <p><a href="#satisfy">Satisfy</a> $B5Z$S(B <a - href="mod_access.html">mod_access</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="resourceconfig" name="resourceconfig">ResourceConfig - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ResourceConfig - <em>file-path</em>|<em>directory-path</em>|<em>wildcard-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ResourceConfig - conf/srm.conf</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core <br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> $B%U%!%$%kL>$G$O$J$/!"(B - $B%G%#%l%/%H%j$r;XDj$9$k5!G=$O(B Apache 1.3.13 $B0J9_$G$N$_;HMQ2DG=$G$9!#(B - - <p>$B%5!<%P$O(B httpd.conf $B%U%!%$%k$rFI$_9~$s$@8e!"(B - $BDI2C$N%G%#%l%/%F%#%V$r$3$3$G5-$7$?%U%!%$%k$+$iFI$_9~$_$^$9!#(B - <em>File-path</em>$B$O!"(B<a href="#serverroot">ServerRoot</a> - $B$+$i$NAjBP%Q%9$G$9!#(B<br /> - $B$3$N5!G=$rL58z$K$9$k$K$O<!$N$h$&$K;XDj$7$^$9!#(B</p> - - <blockquote> - <code>ResourceConfig /dev/null</code> - </blockquote> - Win32 $B$N>l9g(B - - <blockquote> - <code>ResourceConfig nul</code> - </blockquote> - - $B0JA0$O!"%5!<%P@_Dj$K4X$9$k%G%#%l%/%F%#%V$H(B <a - href="#directory"><$B%G%#%l%/%H%j(B></a> - $B%;%/%7%g%s0J30$N$[$H$s$I$N%G%#%l%/%F%#%V$,=q$+$l$F$$$^$7$?!#(B - $B<B:]!"8=:_$G$O!V%5!<%P@_Dj%U%!%$%k!W%3%s%F%-%9%H$K5-=R$G$-$k$3$H$9$Y$F$,(B - $B5-=R2DG=$K$J$C$F$$$^$9!#(B - $B$?$@!"(BApache $B$N%P!<%8%g%s(B 1.3.4 $B0J9_$GG[I[$5$l$F$$$k%G%U%)%k%H$N(B - <code>srm.conf</code> $B$G$O$3$N%U%!%$%kFb$K$O%3%a%s%H$7$+=q$+$l$F$*$i$:!"(B - $B$9$Y$F$N%G%#%l%/%F%#%V$,%5!<%P@_Dj%U%!%$%k$N(B <code>httpd.conf</code> - $B$K5-=R$5$l$F$$$^$9!#(B - - <p> - <code>ResourceConfig</code> - $B$,%U%!%$%k$G$O$J$/%G%#%l%/%H%j$r;XDj$7$F$$$l$P!"(BApache - $B$O$=$N%G%#%l%/%H%jFb$H$9$Y$F$N%5%V%G%#%l%/%H%jFb$N$9$Y$F$N%U%!%$%k$r(B - $BFI$_9~$_!"$=$l$i$r@_Dj%U%!%$%k$H$7$F=hM}$7$^$9!#(B</p> - <p>$BBe$o$j$K!"%o%$%k%I%+!<%I$r;H$C$FHO0O$r9J$k$3$H$b$G$-$^$9!#(B - $B$9$J$o$A!"(B*.conf $B%U%!%$%k$N$_!"$H$$$C$?$h$&$K!#(B</p> - <p>$B%G%U%)%k%H$G$O;XDj$5$l$?%G%#%l%/%H%j$N!V(B<em>$B$I$N$h$&$J(B</em>$B!W(B - $B%U%!%$%k$G$b@_Dj%U%!%$%k$H$7$FFI$_9~$^$l$^$9!#(B</p> - <p>$B$G$9$+$i8m$C$F(B ($BNc$($P%(%G%#%?$G%F%s%]%i%j%U%!%$%k$r:n@.$9$kEy(B) - $B%U%!%$%k$rCV$+$J$$$h$&$KCm0U$7$F$/$@$5$$!#(B</p> - - <p><strong>$B;2>H(B:</strong> <a href="#accessconfig">AccessConfig</a></p> - <hr /> - - <h2><a id="rlimit" name="rlimit">RLimitCPU</a> <a - id="rlimitcpu" name="rlimitcpu">$B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> RLimitCPU - <em>number</em>|max [<em>number</em>|max] <br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>Unset; uses - operating system defaults</em> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> RLimitCPU $B$O(B Apache 1.2 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B0l$D$+Fs$D$N%Q%i%a!<%?$r;XDj$G$-$^$9!#(B - $B:G=i$N%Q%i%a!<%?$OA4%W%m%;%9$KBP$9$k%j%=!<%9$N%=%U%H%j%_%C%H$r@_Dj$7!"(B - 2 $BHVL\$N%Q%i%a!<%?$O:GBg$N%j%=!<%9%j%_%C%H$r@_Dj$7$^$9!#(B - $B%Q%i%a!<%?$K$O?t;z$+!"%*%Z%l!<%F%#%s%0%7%9%F%`$N:GBg$H$J$k(B - <code>max</code> $B$N$I$A$i$+$r;XDj$9$k$3$H$,$G$-$^$9!#(B - $B:GBg$N%j%=!<%9%j%_%C%H$r>e$2$k$?$a$K$O!"%5!<%P$r(B root - $B$G<B9T$9$k$+!"(Broot $B$K$h$C$F5/F0$5$l$J$1$l$P$$$1$^$;$s!#(B </p> - - <p>$B$A$J$_$K!"$3$N@_Dj$O(B Apache - $B$N;R%W%m%;%9<+BN$G$O$J$/!"%j%/%(%9%H$r<u$1IU$1$?(B Apache - $B$N;R%W%m%;%9$+$i(B fork $B$5$l$?%W%m%;%9$KE,MQ$5$l$^$9!#$3$l$K$O(B - CGI $B$d(B SSI $B$+$i<B9T$5$l$?%3%^%s%I$,4^$^$l$^$9$,!"(BApache - $B$N?F%W%m%;%9$+$i(B fork $B$5$l$?%m%0$N%Q%$%W%W%m%;%9$J$I$K$OE,MQ$5$l$^$;$s!#(B</p> - - <p>CPU $B%j%=!<%9$N%j%_%C%H$O%W%m%;%9$"$?$j$NIC?t$GI=$o$5$l$^$9!#(B</p> - - <p><a href="#rlimitmem">RLimitMEM</a> $B$d(B <a - href="#rlimitnproc">RLimitNPROC</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="rlimitmem" name="rlimitmem">RLimitMEM - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> RLimitMEM - <em>number</em>|max [<em>number</em>|max]<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>Unset; uses - operating system defaults</em> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> RLimitMEM $B$O(B Apache 1.2 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B0l$D$+Fs$D$N%Q%i%a!<%?$r;XDj$G$-$^$9!#(B - $B:G=i$N%Q%i%a!<%?$OA4%W%m%;%9$KBP$9$k%j%=!<%9$N%=%U%H%j%_%C%H$r@_Dj$7!"(B - 2 $BHVL\$N%Q%i%a!<%?$O:GBg$N%j%=!<%9%j%_%C%H$r@_Dj$7$^$9!#(B - $B%Q%i%a!<%?$K$O?t;z$+!"%*%Z%l!<%F%#%s%0%7%9%F%`$N:GBg$H$J$k(B - <code>max</code> $B$N$I$A$i$+$r;XDj$9$k$3$H$,$G$-$^$9!#(B - $B:GBg$N%j%=!<%9%j%_%C%H$r>e$2$k$?$a$K$O!"%5!<%P$r(B root - $B$G<B9T$9$k$+!"(Broot $B$K$h$C$F5/F0$5$l$J$1$l$P$$$1$^$;$s!#(B </p> - - <p>$B$A$J$_$K!"$3$N@_Dj$O(B Apache - $B$N;R%W%m%;%9<+BN$G$O$J$/!"%j%/%(%9%H$r<u$1IU$1$?(B Apache - $B$N;R%W%m%;%9$+$i(B fork $B$5$l$?%W%m%;%9$KE,MQ$5$l$^$9!#$3$l$K$O(B - CGI $B$d(B SSI $B$+$i<B9T$5$l$?%3%^%s%I$,4^$^$l$^$9$,!"(BApache - $B$N?F%W%m%;%9$+$i(B fork $B$5$l$?%m%0$N%Q%$%W%W%m%;%9$J$I$K$OE,MQ$5$l$^$;$s!#(B</p> - - <p>$B%a%b%j%j%=!<%9$N%j%_%C%H$O%W%m%;%9$"$?$j$N%P%$%H?t$GI=$5$l$^$9!#(B</p> - - <p><a href="#rlimitcpu">RLimitCPU</a> $B$d(B <a - href="#rlimitnproc">RLimitNPROC</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="rlimitnproc" name="rlimitnproc">RLimitNPROC - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> RLimitNPROC - <em>number</em>|max [<em>number</em>|max]<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>Unset; uses - operating system defaults</em> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> RLimitNPROC $B$O(B Apache 1.2 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B0l$D$+Fs$D$N%Q%i%a!<%?$r;XDj$G$-$^$9!#(B - $B:G=i$N%Q%i%a!<%?$OA4%W%m%;%9$KBP$9$k%j%=!<%9$N%=%U%H%j%_%C%H$r@_Dj$7!"(B - 2 $BHVL\$N%Q%i%a!<%?$O:GBg$N%j%=!<%9%j%_%C%H$r@_Dj$7$^$9!#(B - $B%Q%i%a!<%?$K$O?t;z$+!"%*%Z%l!<%F%#%s%0%7%9%F%`$N:GBg$H$J$k(B - <code>max</code> $B$N$I$A$i$+$r;XDj$9$k$3$H$,$G$-$^$9!#(B - $B:GBg$N%j%=!<%9%j%_%C%H$r>e$2$k$?$a$K$O!"%5!<%P$r(B root - $B$G<B9T$9$k$+!"(Broot $B$K$h$C$F5/F0$5$l$J$1$l$P$$$1$^$;$s!#(B </p> - - <p>$B$A$J$_$K!"$3$N@_Dj$O(B Apache - $B$N;R%W%m%;%9<+BN$G$O$J$/!"%j%/%(%9%H$r<u$1IU$1$?(B Apache - $B$N;R%W%m%;%9$+$i(B fork $B$5$l$?%W%m%;%9$KE,MQ$5$l$^$9!#$3$l$K$O(B - CGI $B$d(B SSI $B$+$i<B9T$5$l$?%3%^%s%I$,4^$^$l$^$9$,!"(BApache - $B$N?F%W%m%;%9$+$i(B fork $B$5$l$?%m%0$N%Q%$%W%W%m%;%9$J$I$K$OE,MQ$5$l$^$;$s!#(B</p> - - <p>$B%W%m%;%9$N@)8B$O!"%f!<%6$"$?$j$N%W%m%;%9?t$G@)8f$5$l$^$9!#(B</p> - - <p>$BCm0UE@(B: CGI $B%W%m%;%9$,%&%'%V%5!<%P$N%f!<%6(B ID - $B0J30$G<B9T$5$l$k$N$G(B<strong>$BL5$1$l$P(B</strong>$B!"$3$N%G%#%l%/%F%#%V$O!"(B - $B%5!<%P<+?H$,@8@.$G$-$k%W%m%;%9$N?t$r@)8B$9$k$3$H$K$J$j$^$9!#(B - $B$=$N$h$&$J>u67$K$J$C$F$$$k$+$I$&$+$O!"%(%i!<%m%0$NCf$N(B - <strong><em>cannot fork</em></strong> - $B$H$$$&%a%C%;!<%8$K$h$j3NG'$9$k$3$H$,$G$-$^$9!#(B</p> - - <p><a href="#rlimitcpu">RLimitCPU</a> $B$d(B <a - href="#rlimitcpu">RLimitCPU</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="satisfy" name="satisfy">Satisfy $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> Satisfy any|all<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> Satisfy all<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Satisfy $B$O(B Apache 1.2 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p><code>Allow</code> $B$H(B <code>Require</code> - $B$NN>J}$,;H$o$l$F$$$k$H$-$N%"%/%;%9%]%j%7!<$r@_Dj$7$^$9!#%Q%i%a!<%?$O(B - <em>'all'</em> $B$+(B <em>'any'</em> - $B$G$9!#$3$N%G%#%l%/%F%#%V$O$"$k>l=j$X$N%"%/%;%9$,%f!<%6L>(B/$B%Q%9%o!<%I(B - <em>$B$H(B</em>$B%/%i%$%"%s%H$N%[%9%H$N%"%I%l%9$G@)8B$5$l$F$$$k$H$-$K$N$_(B - $BLrN)$A$^$9!#%G%U%)%k%H$NF0:n(B ("all") - $B$O%/%i%$%"%s%H$,%"%I%l%9$K$h$k%"%/%;%9@)8B$rK~$?$7!"(B - <em>$B$+$D(B</em>$B@5$7$$%f!<%6L>$H%Q%9%o!<%I$rF~NO$9$k$3$H$rMW5a$7$^$9!#(B - "any" $B$G$O!"%/%i%$%"%s%H$O%[%9%H$N@)8B$rK~$?$9$+!"(B - $B@5$7$$%f!<%6L>$H%Q%9%o!<%I$NF~NO$r$9$k$+$r$9$l$P%"%/%;%9$r5v2D$5$l$^$9!#(B - $B$3$l$O!"$"$k>l=j$r%Q%9%o!<%I$GJ]8n$9$k$1$l$I!"FCDj$N%"%I%l%9$+$i$N(B - $B%/%i%$%"%s%H$K$O%Q%9%o!<%I$NF~NO$rMW5a$;$:$K%"%/%;%9$r5v2D$9$k!"(B - $B$H$$$&$h$&$J$H$-$K;HMQ$G$-$^$9!#(B</p> - - <p><a href="#require">Require</a> $B$H(B <a - href="mod_access.html#allow">Allow</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="scoreboardfile" name="scoreboardfile">ScoreBoardFile - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ScoreBoardFile - <em>$B%U%!%$%k%Q%9(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ScoreBoardFile - logs/apache_status</code> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B%"!<%-%F%/%A%c$K$h$C$F$O!"%5!<%P$N?F%W%m%;%9$H;R%W%m%;%9$,(B - $BDL?.$9$k$?$a$N%U%!%$%k$rCV$/>l=j$r;XDj$9$k$?$a$K(B ScoreBoardFile - $B%G%#%l%/%F%#%V$r;H$&I,MW$,$"$k$3$H$,$"$j$^$9!#(B - $B;HMQ$7$F$$$k%"!<%-%F%/%A%c$,(B scoreboard - $B%U%!%$%k$rI,MW$H$7$F$$$k$+$I$&$+$rD4$Y$k0lHV4JC1$JJ}K!$O(B Apache - $B$r<B9T$7$F$3$N%G%#%l%/%F%#%V$G;XDj$5$l$F$$$k(B - $B%U%!%$%k$r:n@.$9$k$+$I$&$+$r8+$k$3$H$G$9!#(B - $B;HMQ$7$F$$$k%"!<%-%F%/%A%c$G$3$l$,I,MW$J>l9g$O!"$3$N%U%!%$%k$r;H$&(B - Apache $B$O0l$D$@$1$G$"$k$3$H$r3N<B$K$9$kI,MW$,$"$j$^$9!#(B</p> - - <p>ScoreBoardFile $B$r;H$&I,MW$,$"$k>l9g$O!"$=$l$r(B RAM - $B%G%#%9%/>e$KCV$/$3$H$GB.EY$,8~>e$9$k$G$7$g$&!#(B - $B$?$@$7!"%m%0%U%!%$%k$N0LCV$H(B - <a href="../misc/security_tips.html">$B%;%-%e%j%F%#(B</a>$B$K4X$9$k(B - $B7Y9p$r==J,Cm0U$9$kI,MW$,$"$j$^$9!#(B</p> - - <p>Apache 1.2 $B0J9_(B:</p> - - <p>Linux 1.x $B%f!<%6$O(B <code>Configuration</code> $B$N(B - <code>EXTRA_CFLAGS</code> $B$K(B <code>-DHAVE_SHMGET</code> $B$r(B - $B@_Dj$9$k$3$H$,$G$-$k$+$b$7$l$^$;$s!#$3$l$O!"(B1.x - $B$N$$$/$D$+$G$OF0:n$7$^$9$,!"(B - $B$9$Y$F$GF0:n$9$k$H$$$&$o$1$G$O$"$j$^$;$s!#(B(1.3b4 $B$h$jA0$G$O(B - <code>HAVE_SHMGET</code> $B$G==J,$G$7$?!#(B)</p> - - <p>SVR4 $B%f!<%6$O(B <code>Configuration</code> $B$N(B - <code>EXTRA_CFLAGS</code> $B$K(B <code>-DUSE_SHMGET_SCOREBOARD</code> - $B$rDI2C$9$k$3$H$r9MN8$7$?J}$,NI$$$G$7$g$&!#(B - $B$3$l$OF0:n$9$k$H9M$($i$l$F$$$^$9$,!"(B1.2 - $B$N%j%j!<%9$^$G$K%F%9%H$r$9$k$3$H$O$G$-$^$;$s$G$7$?!#(B(1.3b4 - $B$h$jA0$G$O(B <code>HAVE_SHMGET</code> $B$G==J,$G$7$?!#(B)</p> - - <p><strong>$B;2>H(B</strong>: <a - href="../stopping.html">Apache $B$NDd;_$H:F5/F0(B</a></p> - <hr /> - - <h2><a id="scriptinterpretersource" - name="scriptinterpretersource">ScriptInterpreterSource - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ScriptInterpreterSource - registry|script<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> - <code>ScriptInterpreterSource script</code> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core (Windows $B$N$_(B) - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(BApache 1.3.5 $B0J9_$G(B CGI - $B%9%/%j%W%H$r<B9T$9$k>l9g$KMxMQ$9$k%$%s%?!<%W%j%?$r!"(B - $B$I$N$h$&$KC5$7=P$9$+$K$D$$$F@)8f$9$k$?$a$K;HMQ$7$^$9!#(B - $B%G%U%)%k%H$N>l9g$O%9%/%j%W%H$N(B #! - $B9T$K;X$5$l$F$$$k%$%s%?!<%W%j%?$r;HMQ$7$^$9$,(B - ScriptInterpreterSource registry - $B$r;XDj$9$k$H!"%9%/%j%W%H%U%!%$%k$N3HD%;R(B ($BNc$($P!"(B .pl) - $B$r%-!<$H$7$F!"(BWindows $B$N%l%8%9%H%j$r8!:w$9$k$h$&$K$J$j$^$9!#(B</p> - <hr /> - - <h2><a id="sendbuffersize" name="sendbuffersize">SendBufferSize - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> SendBufferSize - <em>bytes</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>$B%5!<%P$O!"(BTCP - $B%P%C%U%!$N%5%$%:$r;XDj$5$l$?%P%$%H?t$K@_Dj$7$^$9!#9bB.$GBg$-$JCY1d(B - (<em>$BNc$($P(B</em>$B!"(B100ms $BDxEY$"$k$h$&$J9bB.$JBgN&2#CG2s@~$J$I(B) - $B$N$"$k>l9g$K!"%5%$%:$rI8=`$N(B OS - $B$N%G%U%)%k%H0J>e$KBg$-$/$9$k$?$a$KHs>o$KM-MQ$G$9!#(B</p> - <hr /> - - <h2><a id="serveradmin" name="serveradmin">ServerAdmin - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ServerAdmin - <em>email-address</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>ServerAdmin - $B$O!"%/%i%$%"%s%H$KJV$9$5$^$6$^$J%(%i!<%a%C%;!<%8Cf$K5-=R$9$k!"(B - $BEE;R%a!<%k$N%"%I%l%9$r@_Dj$7$^$9!#(B</p> - - <p>$B$=$N:]!"$3$l$N$?$a$K@lMQ$N%"%I%l%9$r@_Dj$9$k$N$,NI$$$G$7$g$&!#(B - <em>$BNc$($P!"(B</em></p> - - <blockquote> - <code>ServerAdmin www-admin@foo.bar.com</code> - </blockquote> - $B$H$$$C$?$h$&$K$7$^$9!#%f!<%6$O$$$D$b%5!<%P$K4X$9$kOC$G$"$k$H$$$&$3$H$r(B - $BL@5-$7$F$/$k$o$1$G$O$"$j$^$;$s$N$G!#(B - - <hr /> - - <h2><a id="serveralias" name="serveralias">ServerAlias - $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ServerAlias - <em>hostname</em> [<em>hostname</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> ServerAlias $B$O(B Apache 1.1 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>ServerAlias$B%G%#%l%/%F%#%V$O!"(B<a - href="../vhosts/name-based.html">$B%M!<%`%Y!<%9$N%P!<%A%c%k%[%9%H(B</a>$B$K$*$$$F(B - $B;HMQ$9$k%[%9%H$NJLL>$r;XDj$7$^$9!#(B</p> - - <p>$BNc(B:</p> - - <pre> - <VirtualHost *> - ServerName server.domain.com - ServerAlias server server2.domain.com server2 - ... - </VirtualHost> - </pre> - - <p><strong>$B;2>H(B:</strong> <a href="../vhosts/">Apache $B%P!<%A%c%k%[%9%H@bL@=q(B</a></p> - <hr /> - - <h2><a id="servername" name="servername">ServerName - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ServerName - <em>fully-qualified-domain-name</em> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>ServerName $B%G%#%l%/%F%#%V$O!"%5!<%P$N%[%9%HL>$r@_Dj$7$^$9!#(B - $B$3$l$O!"%j%@%$%l%/%H$9$k(B URL $B$r@8@.$9$k:]$KMxMQ$5$l$^$9!#(B - $BFC$K;XDj$,$J$5$l$F$$$J$+$C$?>l9g$K$O!"<+%5!<%P$KIUM?$5$l$F$$$k(B - IP $B%"%I%l%9$+$i?dB,$7$^$9$,!"$3$l$O3N<B$JJ}K!$G$O$J$/!"(B - $B@5$7$$%[%9%HL>$rJV$9$H$b8B$j$^$;$s!#(B<br /> - $BNc$($P(B:</p> - - <blockquote> - <code>ServerName www.example.com</code> - </blockquote> - $B$r!"%^%7%s$KBP$9$k@5$7$$(B ($B%a%$%s$N(B) $BL>A0$,!"(B - <code>simple.example.com</code> $B$G$"$k$H$-$K;H$&$3$H$,$G$-$^$9!#(B - - <p><a href="../vhosts/name-based.html">$BL>A0%Y!<%9$N%P!<%A%c%k%[%9%H(B</a> - $B$rMxMQ$7$F$$$k>l9g!"(B<a - href="#virtualhost"><code><VirtualHost></code></a> - $B%;%/%7%g%sFb$N(B <code>ServerName</code> - $B$O$3$N%P!<%A%c%k%[%9%H$K%^%C%A$9$k$?$a$K2?$,%j%/%(%9%H$N(B - Host: $B%X%C%@$K8=$l$kI,MW$,$"$k$N$+$r;XDj$7$^$9!#(B</p> - - <p><strong>$B;2>H(B</strong>:<br /> - <a href="../dns-caveats.html">DNS $B$K4X$9$kLdBj(B</a><br /> - <a href="../vhosts/">Apache$B%P!<%A%c%k%[%9%H@bL@=q(B</a><br /> - <a href="#usecanonicalname">UseCanonicalName</a><br /> - <a href="#namevirtualhost">NameVirtualHost</a><br /> - <a href="#serveralias">ServerAlias</a><br /> - </p> - <hr /> - - <h2><a id="serverpath" name="serverpath">ServerPath - $B%G%#%l%/%F%#%V(B</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ServerPath - <em>$B%G%#%l%/%H%j%Q%9(B</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> ServerPath $B$O(B Apache 1.1 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>ServerPath $B%G%#%l%/%F%#%V$O!"(B<a - href="../vhosts/">$B%M!<%`%Y!<%9$N%P!<%A%c%k%[%9%H(B</a>$B$K$*$$$FMxMQ$9$k(B - $B%l%,%7!<$J(B URL $B%Q%9L>$r@_Dj$7$^$9!#(B</p> - - <p><strong>$B;2>H(B:</strong> <a href="../vhosts/">Apache - $B%P!<%A%c%k%[%9%H@bL@=q(B</a></p> - <hr /> - - <h2><a id="serverroot" name="serverroot">ServerRoot - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ServerRoot - <em>$B%G%#%l%/%H%j%Q%9(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ServerRoot - /usr/local/apache</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>ServerRoot - $B%G%#%l%/%F%#%V$O!"%5!<%P$,<g$KMxMQ$9$k%G%#%l%/%H%j$r@_Dj$7$^$9!#(B - $BDL>o!"(B<code>conf/</code> $B$d(B <code>logs/</code> - $B$H$$$C$?%5%V%G%#%l%/%H%j$,4^$^$l$^$9!#(B - $B$^$?!"B>$N@_Dj%U%!%$%k$K$*$1$kAjBP%Q%9$O!"(B - $B$3$N%G%#%l%/%H%j$+$i$H$J$j$^$9!#(B</p> - - <p><a href="../invoking.html">httpd $B$N(B <code>-d</code> $B$K$D$$$F(B</a> - $B$r;2>H$7$F$/$@$5$$!#(B</p> - - <p>ServerRoot $B$N8"8B$r$I$N$h$&$K@_Dj$9$k$+$K$D$$$F$O(B <a - href="../misc/security_tips.html#serverroot">$B%;%-%e%j%F%#$K4X$9$k3P=q(B</a> - $B$K>pJs$,$"$j$^$9!#(B</p> - <hr /> - - <h2><a id="serversignature" - name="serversignature">ServerSignature $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ServerSignature - On|Off|EMail<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ServerSignature - Off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> ServerSignature - $B$O(B Apache 1.3 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>ServerSignature $B%G%#%l%/%F%#%V$O!"%5!<%P$,@8@.$9$k%I%-%e%a%s%H(B - ($B%(%i!<%a%C%;!<%8!"(Bmod_proxy $B$K$*$1$k(B FTP $B$N%G%#%l%/%H%j%j%9%H!"(B - mod_info $B$N=PNO!"Ey!9(B) - $B$N:G2<9T$KIUM?$9$k%U%C%?$N@_Dj$r9T$J$$$^$9!#(B - $B$=$N$h$&$J!"%U%C%?9T$rM-8z$K$7$?$$M}M3$H$7$F$O!"(B - $B%W%m%-%7$,J#?tO"$J$C$F$$$k>l9g$K!"%f!<%6$O$I$N%5!<%P$,JV$7$?(B - $B%(%i!<%a%C%;!<%8$+$rCN$k<jCJ$,$[$H$s$IL5$$$+$i$G$9!#(B<br /> - $B%G%U%)%k%H$G$"$k(B <samp>Off</samp> - $B$K@_Dj$r$9$k$H!"%(%i!<$N:]$N9T$,M^@)$5$l$^$9!#(B - ($B$=$7$F!"(BApache-1.2 $B0JA0$H8_49$NF0:n$r$7$^$9(B) - <samp>On</samp> $B$K@_Dj$7$?>l9g$O!"C1$K%I%-%e%a%s%H$NCf$K!"(B - $B%5!<%P$N%P!<%8%g%s!"2TF0Cf$N%P!<%A%c%k%[%9%H$N(B <a - href="#servername">ServerName</a> $B$N=q$+$l$?9T$rDI2C$7!"(B - <samp>EMail</samp> $B$K$7$?>l9g$O$5$i$K;2>H$5$l$?%I%-%e%a%s%H$KBP$9$k(B <a - href="#serveradmin">ServerAdmin</a> $B$r;X$9(B "mailto:" $B$,DI2C$5$l$^$9!#(B</p> - <hr /> - - <h2><a id="servertokens" name="servertokens">ServerTokens - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ServerTokens - Minimal|ProductOnly|OS|Full<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ServerTokens - Full</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B <br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> ServerTokens $B$O(B Apache 1.3 - $B0J9_$GMxMQ2DG=$G$9!#(B - $B$^$?!"(B<code>ProductOnly</code> $B%-!<%o!<%I$O(B Apache 1.3.12 - $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$O!"%/%i%$%"%s%H$KAw$jJV$9(B <samp>Server</samp> - $B%l%9%]%s%9%X%C%@Fb$K!"%5!<%P$N0lHLE*$J(B OS - $B<oJL$d!"%3%s%Q%$%k$5$l$FAH$_9~$^$l$F$$$k%b%8%e!<%k$N>pJs$r(B - $B4^$a$k$+$I$&$+$r;XDj$7$^$9!#(B</p> - - <dl> - <dt><code>ServerTokens Prod[uctOnly]</code></dt> - - <dd>$B%5!<%P$O(B ($BNc$($P(B): <samp>Server: - Apache</samp> $B$H$$$C$?$h$&$KAw$j$^$9!#(B</dd> - - <dt><code>ServerTokens Min[imal]</code></dt> - - <dd>$B%5!<%P$O(B ($BNc$($P(B): <samp>Server: - Apache/1.3.0</samp> $B$H$$$C$?$h$&$KAw$j$^$9!#(B</dd> - - <dt><code>ServerTokens OS</code></dt> - - <dd>$B%5!<%P$O(B ($BNc$($P(B): <samp>Server: Apache/1.3.0 - (Unix)</samp> $B$H$$$C$?$h$&$KAw$j$^$9!#(B</dd> - - <dt><code>ServerTokens Full</code> ($B$b$7$/$OL$;XDj(B)</dt> - - <dd>$B%5!<%P$O(B ($BNc$($P(B): <samp>Server: Apache/1.3.0 - (Unix) PHP/3.0 MyMod/1.2</samp> $B$H$$$C$?$h$&$KAw$j$^$9!#(B</dd> - </dl> - - <p>$B$3$N@_Dj$O%5!<%PA4BN$KE,MQ$5$l!"(B - $B%P!<%A%c%k%[%9%H>e$GM-8z$K$7$?$jL58z$K$7$?$j$O$G$-$^$;$s!#(B</p> - <hr /> - - <h2><a id="servertype" name="servertype">ServerType - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ServerType - <em>type</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ServerType - standalone</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>ServerType $B%G%#%l%/%F%#%V$O!"%5!<%P$,%7%9%F%`$K$I$N$h$&$K(B - $B<B9T$5$l$k$+$r;XDj$7$^$9!#(B - <em>Type</em> $B$K$O!"<!$N$I$A$i$+$r;XDj$7$^$9!#(B</p> - - <dl> - <dt>inetd</dt> - - <dd>$B%5!<%P$O!"(Binetd $B%W%m%;%9$+$i<B9T$5$l!"(B - <code>/etc/inetd.conf</code> $B$K5/F0$9$k%3%^%s%I$r5-=R$7$^$9!#(B</dd> - - <dt>standalone</dt> - - <dd>$B%5!<%P$O!"%G!<%b%s%W%m%;%9$H$7$F<B9T$7!"(B - $B%7%9%F%`$N%9%?!<%H%"%C%W%9%/%j%W%H(B - (<code>/etc/rc.local</code> $B$+(B <code>/etc/rc3.d/...</code>) - $B$K5/F0$9$k%3%^%s%I$r5-=R$7$^$9!#(B</dd> - </dl> - - Inetd $B$O!"$"$^$jMxMQ$5$l$^$;$s!#(B - $B$=$N@_Dj$G$O!"(BHTTP $B@\B3$r<u$1$kEY$K!"%5!<%P$,(B 1 - $B$+$iN)$A>e$2$i$l!"@\B3$,=*N;$7$?8e$K%W%m%0%i%`$b=*N;$7$^$9!#(B - $B$3$l$O!"@\B3$NEY$K$H$F$bIi2Y$,$+$+$j$^$9$,!"(B - $B%;%-%e%j%F%#$rM}M3$K$3$N%*%W%7%g%s$r9%$`4IM}<T$b$$$^$9!#(B - <font color="red">$B$?$@!"(BInetd $B%b!<%I$O?d>)$5$l$F$*$i$:!"(B - $B:#8e$b$:$C$HMxMQ2DG=$H$$$&$o$1$G$O$"$j$^$;$s!#(B - $B2DG=$J8B$j;H$o$J$$$G$/$@$5$$!#(B</font> - - <p>Standalone $B$O!"$:$C$H8zN(E*$G$"$k$?$a!"(BServerType - $B$NI8=`E*$J@_Dj$H$J$C$F$$$^$9!#(B - $B%5!<%P$O0lEY5/F0$5$l$k$H!"$9$Y$F$N@\B3$r=hM}$7$^$9!#(B - $B$b$7!"Ii2Y$N9b$$%5%$%H$G(B Apache $B$rMxMQ$9$k$D$b$j$G$"$l$P!"(B - standalone $B$OM#0l$N%*%W%7%g%s$H$$$($k$G$7$g$&!#(B</p> - <hr /> - - <h2><a id="shmemuidisuser" name="shmemuidisuser">ShmemUIDisUser - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ShmemUIDisUser - <em>on|off</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ShmemUIDisUser - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> - - <p>ShmemUIDisUser $B%G%#%l%/%F%#%V$O(B System V - $B6&M-%a%b%j$K4p$E$$$?%9%3%"%\!<%I$N!"=jM-<T$N(B <code>uid</code> $B$H(B - <code>gid</code> $B$r%5!<%P$N@_Dj$N(B <a href="#user">User</a> $B$H(B - <a href="#group">Group</a> $B$KJQ99$9$k$+$I$&$+$r@)8f$7$^$9!#(B - Apache 1.3.26 $B$^$G$N%j%j!<%9$O%G%U%)%k%H$G$3$l$r9T$C$F$$$^$7$?!#(B - $B;R%W%m%;%9$O4{$K6&M-%a%b%j%;%0%a%s%H$K%"%?%C%A$5$l$F$$$^$9$N$G!"(B - $B$=$NF0:n$O(B Apache $B$NDL>o$NF0:n$K$OI,MW$G$O$J$/!"967b$rKI$0$?$a$K$b!"(B - Apache $B$O$=$N$h$&$JF0:n$r$7$J$/$J$j$^$7$?!#$7$+$7!"FCJL$J>l9g$K$O(B - $B0JA0$NF0:n$,I,MW$K$J$k$3$H$b$"$j!"$=$l$O$3$N%G%#%l%/%F%#%V$r(B - <code>on</code> $B$K$9$k$3$H$G<B8=$G$-$^$9!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O(BSystem V $B$K4p$E$$$?%9%3%"%\!<%I$G$O$J$$!"(B - <code>mmap</code> $B$N$h$&$J%7%9%F%`$G$O8zNO$O$"$j$^$;$s!#(B - - </p> - - <hr /> - - <h2><a id="startservers" name="startservers">StartServers - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> StartServers - <em>$B?tCM(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>StartServers - 5</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>StartServers $B%G%#%l%/%F%#%V$O!"5/F0;~$K$I$l$@$1$N%5!<%P;R%W%m%;%9$r(B - $B<B9T$9$k$N$+$r;XDj$7$^$9!#(B - $B%W%m%;%9$N?t$O!"Ii2Y$K$h$C$FF0E*$K@)8f$5$l$k$?$a!"(B - $BIaDL$O$3$N%Q%i%a!<%?$rJQ99$9$kM}M3$O$[$H$s$I$"$j$^$;$s!#(B</p> - - <p>Microsoft Windows - $B$G<B9T$9$k>l9g$K$O!"$3$N%G%#%l%/%F%#%V$O0UL#$r;}$A$^$;$s!#(B - Windows $B$G$O>o$K0l$D$N;R%W%m%;%9$,$9$Y$F$N%j%/%(%9%H$r07$$$^$9!#(B - $B;R%W%m%;%9$NFbIt$G$O!"%j%/%(%9%H$O%9%l%C%I$G=hM}$5$l$^$9!#(B - <a href="#threadsperchild">ThreadsPerChild</a> $B%G%#%l%/%F%#%V$O(B - $B%j%/%(%9%H$r07$&:GBg$N;R%9%l%C%I$N?t$r@)8f$7$^$9$N$G!"(BUNIX $B$G(B - <samp>StartServers</samp> $B$r;XDj$7$?$N$HF1$8$h$&$J8z2L$K$J$j$^$9!#(B</p> - - <p><a href="#minspareservers">MinSpareServers</a> $B$d(B - <a href="#maxspareservers">MaxSpareServers</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="threadsperchild" - name="threadsperchild">ThreadsPerChild</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ThreadsPerChild - <em>$B?tCM(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ThreadsPerChild - 50</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core (Windows, - NetWare)<br /> - <strong>$B8_49@-(B:</strong> Windows $B>e$GF0:n$9$k(B Apache 1.3 - $B0J9_$K$*$$$F$N$_M-8z(B - - <p>$B$3$N%G%#%l%/%F%#%V$O!"%5!<%P$,$I$l$@$1$N%9%l%C%I$r;HMQ$9$k$N$+$r(B - $B;X<($7$^$9!#(B - $B$3$l$,!"%5!<%P$,=hM}$G$-$k:GBg@\B3?t$K$J$j$^$9!#(B - $B$?$/$5$s$N%R%C%H$,$"$k%5%$%H$N>l9g$K$O?tCM$rA}$d$9I,MW$,$"$j$^$9!#(B</p> - - <p>$B$J$*!"$3$N%G%#%l%/%F%#%V$O(B UNIX $B%7%9%F%`>e$G$O0UL#$r;}$A$^$;$s!#(B - UNIX $B$N>l9g$K$O!"(B <a href="#startservers">StartServers</a> $B$d(B <a - href="#maxrequestsperchild">MaxRequestsPerChild</a> - $B$r;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="threadstacksize" - name="threadstacksize">ThreadStackSize</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ThreadStackSize - <em>$B?tCM(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>ThreadStackSize - 65536</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core (NetWare)<br /> - <strong>$B8_49@-(B:</strong> NetWare $B>e$GF0:n$9$k(B Apache 1.3 - $B0J9_$K$*$$$F$N$_M-8z(B - - <p>$B$3$N%G%#%l%/%F%#%V$O!"3F%9%l%C%I$N%9%?%C%/$N%5%$%:$r%5!<%P$K;X<($7$^$9!#(B - $B%9%?%C%/$,%*!<%P%U%m!<$9$k$h$&$G$"$l$P!"$h$jBg$-$J?tCM$K@_Dj$9$k(B - $BI,MW$,$"$j$^$9!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O!"B>$N%7%9%F%`$N>l9g$K$O0UL#$r;}$A$^$;$s!#(B</p> - <hr /> - - <h2><a id="timeout" name="timeout">TimeOut $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> TimeOut - <em>$B?tCM(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>TimeOut - 300</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>TimeOut $B%G%#%l%/%F%#%V$O!"8=:_$N$H$3$m(B - $B0J2<$N;0$D$NBT$A;~4V$K$D$$$F$NDj5A$r9T$$$^$9(B:</p> - - <ol> - <li>GET $B%j%/%(%9%H$r<u$1<h$k$N$K$+$+$kAm;~4V(B</li> - - <li>POST $B$d(B PUT$B%j%/%(%9%H$K$*$$$F!"<!$N(B TCP - $B%Q%1%C%H$,FO$/$^$G$NBT$A;~4V(B</li> - - <li>$B%l%9%]%s%9$rJV$9:]!"(BTCP $B$N(B ACK $B$,5"$C$F$/$k$^$G$N;~4V(B</li> - </ol> - $B>-Mh$K$OJL!9$N@_Dj$r$9$k$3$H$,2DG=$K$G$-$k$h$&9M0FCf$G$9!#(B - Apache 1.2 $B0JA0$K$*$$$F$O%?%$%^!<$O(B 1200 $B$,%G%U%)%k%H$G$7$?$,!"(B - 300 $B$K2<$2$i$l$^$7$?!#(B300 $B$G$b$[$H$s$I$N>l9g$O==J,$9$.$kCM$G$9!#(B - $B%3!<%ICf$NJQ$J>l=j$K$^$@%Q%1%C%H$rAw$k:]$K%?%$%^$r%j%;%C%H$7$J$$(B - $B>l=j$,$"$k$+$b$7$l$J$$$N$G!"%G%U%)%k%H$r$h$j>.$5$$CM$K$O$7$F$$$^$;$s!#(B - <hr /> - - <h2><a id="usecanonicalname" - name="usecanonicalname">UseCanonicalName $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> UseCanonicalName - on|off|dns<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>UseCanonicalName - on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j(B<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> Options<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> UseCanonicalName - $B$O(B Apache 1.3 $B0J9_$GMxMQ2DG=$G$9!#(B - - <p>$BB?$/$N>u67$G(B Apache $B$O(B<em>$B<+8J;2>H(B</em> - URL$B!"$9$J$o$AF1$8%5!<%P$r;X$9(B URL$B!"$r:n@.$9$kI,MW$,$"$j$^$9!#(B - <code>UseCanonicalName on</code> $B$r;H$&$H(B (1.3 - $B$h$jA0$N$9$Y$F$N%P!<%8%g%s$G$b(B) Apache $B$O(B <a - href="#servername">ServerName</a> $B%G%#%l%/%F%#%V$H(B <a - href="#port">Port</a> - $B%G%#%l%/%F%#%V$r;H$C$F%5!<%P$N@5<0$JL>A0$r:n@.$7$^$9!#(B - $B$3$NL>A0$,$9$Y$F$N<+8J;2>H(B URL $B$G;H$o$l!"(BCGI $B$N(B - <code>SERVER_NAME</code> $B$H(B <code>SERVER_PORT</code> - $B$K$b;H$o$l$^$9!#(B</p> - - <p>$BNc$($P!"(B<a href="#servername">ServerName</a> $B$,(B - <code>www.example.com</code> $B$K@_Dj$5$l$F$$$F!"(B<a - href="#port">Port</a> $B$,(B <code>9090</code> - $B$K@_Dj$5$l$F$$$k>l9g$O!"%5!<%P$N(B<em>$B@5<0$JL>A0(B</em>$B$O(B - <code>www.example.com:9090</code> $B$K$J$j$^$9!#(B<code>Port</code> - $B$NCM$,%G%U%)%k%H$N(B <code>80</code> $B$G$"$k$H$-$O!"(B - <code>:80</code> $B$O(B<em>$B@5<0$JL>A0(B</em>$B$+$i$O>J$+$l$^$9!#(B</p> - - <p><code>UseCanonicalName off</code> $B$G$O(B Apache - $B$O%/%i%$%"%s%H$,%[%9%HL>$H%]!<%H$rDs6!$7$?>l9g$K$O$=$l$i$r85$K<+8J;2>H(B - URL $B$r:n@.$7$^$9(B ($BDs6!$5$l$F$$$J$$>l9g$O>e$GDj5A$5$l$F$$$k$h$&$K(B - $B@5<0$JL>A0$r;H$$$^$9(B)$B!#(B - $B$3$l$i$NCM$O(B<a href="../vhosts/name-based.html">$BL>A0%Y!<%9$N(B - $B%P!<%A%c%k%[%9%H(B</a>$B$r<BAu$9$k$N$K;H$o$l$F$$$k$N$HF1$8CM$G!"(B - $BF1$8%/%i%$%"%s%H$+$i<hF@$G$-$kCM$G$9!#(BCGI $BJQ?t(B - <code>SERVER_NAME</code> $B$H(B <code>SERVER_PORT</code> - $B$b%/%i%$%"%s%H$+$iM?$($i$l$?CM$+$i:n@.$5$l$^$9!#(B</p> - - <p>$B$3$l$,M-MQ$J>l9g$NNc$O!"%$%s%H%i%M%C%H$N%5!<%P$G!"(B<code>www</code> - $B$N$h$&$JC;$$L>A0$G%f!<%6$,%^%7%s$K@\B3$7$F$$$k$H$-$G$9!#(B - $B%f!<%6$,C;$$L>A0$rF~NO$7$F!"(BURL - $B$,(B<em>$B:G8e$N%9%i%C%7%eL5$7$N(B</em>$B%G%#%l%/%H%j$X$N$b$N$G$"$k$H$-$K!"(B - Apache $B$O%j%/%(%9%H$r(B <code>http://www.domain.com/splat/</code> - $B$X%j%@%$%l%/%H$9$k$3$H$K5$IU$/$G$7$g$&!#(B - $BG'>Z$r$9$k$h$&$K@_Dj$7$F$$$k$H!"$3$N>l9g%f!<%6$O(B - 2 $B2sG'>Z$r$7$J$1$l$P$J$i$J$/$J$j$^$9(B (<code>www</code> $B$KBP$7$F(B - 1 $B2s!"(B<code>www.domain.com</code> $B$KBP$7$F$b$&0l2s(B -- - $B$h$j>\$7$$>pJs$O(B <a href="../misc/FAQ.html#prompted-twice">$B$3$NOCBj$N(B - FAQ</a> $B$r;2>H$7$F$/$@$5$$(B)$B!#$7$+$7!"(B<code>UseCanonicalName</code> - $B$,(B off $B$K$J$C$F$$$k$H!"(BApache $B$O(B <code>htttp://www/splat/</code> - $B$K%j%@%$%l%/%H$7$^$9!#(B</p> - - <p>$B;0$DL\$N%*%W%7%g%s(B <code>UseCanonicalName DNS</code> $B$O!"(B - <code>Host:</code> - $B%X%C%@$rDs6!$7$J$$8E$$%/%i%$%"%s%H$r%5%]!<%H$7$?Bg5,LO$J(B IP - $B%Y!<%9$N%P!<%A%c%k%[%9%F%#%s%0$G;HMQ$5$l$k$3$H$r0U?^$7$F$$$^$9!#(B - $B$3$N%*%W%7%g%s$G$O!"(BApache $B$O%/%i%$%"%s%H$,@\B3$7$?(B IP $B%"%I%l%9$K(B - DNS $B$N5U0z$-$r9T$J$C$F<+8J;2>H(B URL $B$r:n@.$7$^$9!#(B</p> - - <p><strong>$B7Y9p(B:</strong> CGI $B$,(B <code>SERVER_NAME</code> - $B$K4X$9$k2>Dj$r9T$J$C$F$$$k$H$-$O!"(B - $B$3$N%*%W%7%g%s$N@_Dj$GF0:n$7$J$/$J$k$+$b$7$l$^$;$s!#(B - $B%/%i%$%"%s%H$O<B<AE*$K$O%[%9%HL>$K$H$7$F(B - $B2?$G$bK>$_$NCM$r;XDj$9$k$3$H$,$G$-$^$9!#$7$+$7!"(BCGI $B$,(B - <code>SERVER_NAME</code> $B$N$_$r;H$C$F<+8J;2>H(B URL - $B$r:n@.$7$F$$$k>l9g$O$I$N@_Dj$r9T$J$C$F$bBg>fIW$J$O$:$G$9!#(B</p> - - <p><strong>$B;2>H(B:</strong> <a - href="#servername">ServerName</a>, <a href="#port">Port</a></p> - <hr /> - - <h2><a id="user" name="user">User $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> User - <em>unix-userid</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>User - #-1</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> core - - <p>User $B%G%#%l%/%F%#%V$O%5!<%P$,%j%/%(%9%H$K1~Ez$9$k$H$-$N%f!<%6(B - ID $B$r@_Dj$7$^$9!#$3$N%G%#%l%/%F%#%V$r;H$&$?$a$K$O!"(Bstandalone - $B%5!<%P$,(B root $B$H$7$F5/F0$5$l$F$$$J$1$l$P$J$j$^$;$s!#(B - <em>Unix-userid</em> $B$O0J2<$N$I$l$+$G$9(B:</p> - - <dl> - <dt>$B%f!<%6L>(B</dt> - - <dd>$BL>A0$G%f!<%6$r;XDj!#(B</dd> - - <dt># $B$N8e$K%f!<%6HV9f!#(B</dt> - - <dd>$BHV9f$G%f!<%6$r;XDj!#(B</dd> - </dl> - $B%f!<%6$O30$N@$3&$+$i8+$i$l$k$3$H$r0U?^$7$F$$$J$$%U%!%$%k$r%"%/%;%9(B - $B$G$-$F$7$^$&$h$&$J8"8B$,L5$$$b$N$K$9$Y$-$G!"F1MM$K(B httpd $B$N%j%/%(%9%H(B - $B$KBP$7$F0U?^$5$l$F$$$J$$%3!<%I$r<B9T$G$-$J$$$h$&$J$b$N$K$9$Y$-$G$9!#(B - $B%5!<%P$r<B9T$9$k$?$a$@$1$K?7$7$$@lMQ$N%f!<%6$H%0%k!<%W$r@_Dj$9$k$3$H$r(B - $B$*4+$a$7$^$9!#4IM}<T$NCf$K$O(B <code>nobody</code> $B$r;H$&?M$b$$$^$9$,!"(B - $B$3$N%f!<%6$O>o$K;HMQ2DG=$H$$$&$o$1$G$O$J$/!"K>$^$7$$$o$1$G$b$"$j$^$;$s!#(B - $BNc$($P!"(Bmod_proxy $B$N%-%c%C%7%e$r;HMQ$7$F$$$k$H$-$O!"(B - $B$=$l$r$3$N%f!<%6$,%"%/%;%9$G$-$kI,MW$,$"$j$^$9(B - (<a href="mod_proxy.html#cacheroot"><code>CacheRoot</code> - $B%G%#%l%/%F%#%V(B</a> $B$r;2>H(B)$B!#(B - - <p>$BCm0U(B: root $B$G$J$$%f!<%6$G%5!<%P$r<B9T$7$?>l9g$O!"$h$j>/$J$$8"8B$N(B - $B%f!<%6$X$NJQ99$K<:GT$7!"85!9$N%f!<%6$H$7$F<B9T$7B3$1$^$9!#(B - root $B$G%5!<%P$r<B9T$7$?$H$-$O!"?F%W%m%;%9$,(B root - $B$N$^$^<B9T$7B3$1$k$N$O@5>o$JF0:n$G$9!#(B</p> - - <p>$BFCJL$JCm0U(B: $B$3$N%G%#%l%/%F%#%V$r(B <VirtualHost> - $BFb$G;H$&$K$OE,@Z$K@_Dj$5$l$?(B <a href="../suexec.html">suEXEC - $B%i%C%Q!<(B</a>$B$,I,MW$G$9!#$3$N$h$&$K(B <VirtualHost> - $B$NCf$G;H$o$l$?$H$-$O(B CGI $B$r<B9T$9$k%f!<%6$@$1$,1F6A$r<u$1$^$9!#(B - CGI $B0J30$N%j%/%(%9%H$O0MA3$H$7$F<g(B User - $B%G%#%l%/%F%#%V$G;XDj$5$l$?%f!<%6$G=hM}$5$l$^$9!#(B</p> - - <p>$B%;%-%e%j%F%#(B: $B<+J,$,2?$r$d$C$F$$$k$+$r40A4$KM}2r$7$F$$$F(B - $B$I$N$h$&$J4m81@-$,$"$k$+$rM}2r$7$F$$$J$$>l9g$O!"(B - User ($B$b$7$/$O(B <a href="#group">Group</a>) $B$r(B root - $B$K$7$J$$$G$/$@$5$$!#(B</p> - - <hr /> - - <h2><a id="virtualhost" name="virtualhost"><VirtualHost> - $B%G%#%l%/%F%#%V(B</a></h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> <VirtualHost - <em>addr</em>[:<em>port</em>] [<em>addr</em>[:<em>port</em>]] - ...> ... </VirtualHost> <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Core.<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> IP $B%"%I%l%9%Y!<%9$G$J$$%P!<%A%c%k%[%9%H$O!"(B - Apache 1.1 $B0J9_$GMxMQ2DG=$G$9!#(B<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> $BJ#?t$N%"%I%l%9$N;XDj$O(B Apache 1.2 - $B0J9_$G$N$_2DG=$G$9!#(B - - <p><VirtualHost> $B5Z$S(B </VirtualHost> $B$O!"(B - $B$"$k%P!<%A%c%k%[%9%H$KBP$7$F$N$_E,MQ$5$l$k%G%#%l%/%F%#%V72$r0O$`(B - $B$?$a$K;H$o$l$^$9!#(B - $B%P!<%A%c%k%[%9%H%3%s%F%-%9%H$G5v2D$5$l$k$9$Y$F$N%G%#%l%/%F%#%V$r;XDj2DG=$G$9!#(B - $B%5!<%P$,!";XDj$5$l$?%P!<%A%c%k%[%9%H$K$"$k%I%-%e%a%s%H$X$N%j%/%(%9%H$r<u$1IU$1$?>l9g!"(B - <VirtualHost> $B%;%/%7%g%s$NCf$K$"$k%G%#%l%/%F%#%V$,E,MQ$5$l$^$9!#(B - - <em>Addr</em>$B!!$O!"<!$N$b$N$,MxMQ$G$-$^$9!#(B</p> - - <ul> - <li>$B%P!<%A%c%k%[%9%H$N(B IP $B%"%I%l%9(B</li> - - <li>$B%P!<%A%c%k%[%9%H$N(B IP $B$KBP1~$9$k40A4$J%I%a%$%sL>(B</li> - </ul> - $BNc(B: - - <blockquote> - <code><VirtualHost 10.1.2.3><br /> - ServerAdmin webmaster@host.foo.com<br /> - DocumentRoot /www/docs/host.foo.com<br /> - ServerName host.foo.com<br /> - ErrorLog logs/host.foo.com-error_log<br /> - TransferLog logs/host.foo.com-access_log<br /> - </VirtualHost></code> - </blockquote> - $B3F!9$N%P!<%A%c%k%[%9%H$K$O$=$l$>$l0c$&(B IP - $B%"%I%l%9!"%]!<%HHV9f<c$7$/$O%[%9%HL>$KBP1~$9$kI,MW$,$"$j!"(B - 1 $BHVL\$N>l9g$K$OJ#?t$N%"%I%l%9$G(B IP - $B%Q%1%C%H$r<u?.$G$-$k$h$&$K%5!<%P%^%7%s$r@_Dj$7$J$1$l$P$J$j$^$;$s!#(B - ($B$b$7!"%^%7%s$,J#?t$N%M%C%H%o!<%/%$%s%?!<%U%'!<%9$r;}$?$J$$>l9g$O!"(B - (OS$B$,%5%]!<%H$7$F$$$l$P(B) <code>ifconfig alias</code> $B%3%^%s%I$d(B - <a href="../misc/vif-info.html">VIF</a> $B$N$h$&$J%+!<%M%k%Q%C%A(B - (SunOS(TM) 4.1.x $BMQ(B) $B$K$h$jC#@.$G$-$^$9(B)$B!#(B - - <p>$BJ#?t$N(B IP $B%"%I%l%9$rDj5A$9$k$3$H$b$G$-$^$9!#(B - $BFs$D$N%$%s%?%U%'!<%9$KBP$7$FF1$8L>A0$G1~Ez$7$F$$$k$H$-$KM-MQ$G$7$g$&!#(B - $BNc$($P!"FbIt8~$1(B ($B%$%s%H%i%M%C%H(B) $B$H(B - $B30It8~$1(B ($B%$%s%?!<%M%C%H(B) $B$K%P!<%A%c%k%[%9%H$r$7$F$$$k>l9g$G$9!#(B<br /> - $B@_DjNc(B:</p> - - <blockquote> - <code><VirtualHost 192.168.1.2 204.255.176.199><br /> - DocumentRoot /www/docs/host.foo.com<br /> - ServerName host.foo.com<br /> - ServerAlias host<br /> - </VirtualHost></code> - </blockquote> - - <code>_default_</code> $B$H$$$&FCJL$JL>A0$r;XDj$9$k$3$H$K$h$j!"(B - $BB>$N%P!<%A%c%k%[%9%H$G;XDj$5$l$F$$$J$$(B IP - $B%"%I%l%9$9$Y$F$KBP$7$F%^%C%A$5$;$k$3$H$,2DG=$G$9!#(B_default_ - $B%P!<%A%c%k%[%9%H$,L5$$$H$-$O!"$b$7$I$3$K$b%^%C%A$7$J$$$H(B VirtualHost - $B%;%/%7%g%s$N30$NDj5A$+$i$J$k!V<g!W%5!<%P@_Dj$,;HMQ$5$l$^$9!#(B - - <p><code>:port</code> - $B$H$$$C$?7A<0$G5-=R$9$k$3$H$K$h$j!"%^%C%A$5$;$k%]!<%H$rJQ992DG=$G$9!#(B - $B$3$N;XDj$r$7$J$$>l9g$K$O!"<g%5!<%P@_Dj$K$*$1$k0lHV:G8e$K(B - <code><a href="#port">Port</a></code> - $B$G;XDj$5$l$?%]!<%H$,%G%U%)%k%H$H$J$j$^$9!#(B - <code>:*</code> $B$r;XDj$9$k$3$H$K$h$j!"(B - $B%"%I%l%9>e$N$9$Y$F$N%]!<%H$K%^%C%A$7$^$9!#(B(<code>_default_</code> - $B$N$H$-$O$3$l$r;H$&$3$H$,?d>)$5$l$F$$$^$9!#(B)</p> - - <p><strong>$B%;%-%e%j%F%#$K4X$7$F(B</strong>: - $B%5!<%P!<$r5/F0$7$?0J30$N%f!<%6$,%m%0%U%!%$%k$,J]4I$5$l$k%G%#%l%/%H%j$K(B - $B=q$-9~$_2DG=$J$H$-$K$J$<%;%-%e%j%F%#$,GK$i$l$k2DG=@-$,$"$k$+$N>\:Y$O(B - <a href="../misc/security_tips.html">$B%;%-%e%j%F%#$K4X$9$k%3%D(B</a> - $B$r;2>H$7$F$/$@$5$$!#(B</p> - - <p><strong>$BCm0UE@(B</strong>: <VirtualHost> $B$O(B Apache $B$,(B - Listen $B$9$k(B IP $B%"%I%l%9$K$O1F6A$rM?$((B<strong>$B$^$;$s(B</strong>$B!#(B - <a href="#bindaddress">BindAddress</a> $B$+(B - <a href="#listen">Listen</a> $B$r;H$C$F(B Apache $B$,@5$7$$%"%I%l%9$r(B - listen $B$9$k$h$&$K@_Dj$9$kI,MW$,$"$k$+$b$7$l$^$;$s!#(B</p> - - <p><strong>$B;2>H(B:</strong> <a href="../vhosts/">Apache $B%P!<%A%c%k%[%9%H@bL@=q(B</a><br /> - <strong>$B;2>H(B:</strong> <a - href="../dns-caveats.html">DNS $B$K4X$9$kLdBj(B</a><br /> - <strong>$B;2>H(B:</strong> <a href="../bind.html">Apache $B$,MxMQ$9$k%"%I%l%9$H%]!<%H$r@_Dj$9$k(B</a><br /> - <strong>$B;2>H(B</strong>: - $B%j%/%(%9%H$r<u$1$?:]$K!"0[$J$kJ#?t$N%;%/%7%g%s$,$I$N$h$&$K$7$FAH$_9g$o$5$l$k$N$+$K$D$$$F$O(B - <a href="../sections.html">Directory, Location, Files $B%;%/%7%g%s$NF0:nK!(B</a> - </p> - <hr /> - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - - - diff --git a/usr.sbin/httpd/htdocs/manual/mod/directive-dict.html.en b/usr.sbin/httpd/htdocs/manual/mod/directive-dict.html.en deleted file mode 100644 index 0e410866aa6..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/directive-dict.html.en +++ /dev/null @@ -1,314 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Definitions of terms used to describe Apache - directives</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Terms Used to Describe Apache - Directives</h1> - - <p>Each Apache configuration directive is described using a - common format that looks like this:</p> - - <dl> - <dd><a href="#Syntax" rel="Help"><strong>Syntax:</strong></a> - <em>directive-name</em> <em>some args</em><br /> - <a href="#Default" rel="Help"><strong>Default:</strong></a> - <samp><em>directive-name default-value</em></samp><br /> - <a href="#Context" rel="Help"><strong>Context:</strong></a> - <em>context-list</em><br /> - <a href="#Override" - rel="Help"><strong>Override:</strong></a> - <em>override</em><br /> - <a href="#Status" rel="Help"><strong>Status:</strong></a> - <em>status</em><br /> - <a href="#Module" rel="Help"><strong>Module:</strong></a> - <em>module-name</em><br /> - <a href="#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> - <em>compatibility notes</em></dd> - </dl> - - <p>Each of the directive's attributes, complete with possible - values where possible, are described in this document.</p> - - <h2>Directive Terms</h2> - - <ul> - <li><a href="#Syntax">Syntax</a></li> - - <li><a href="#Default">Default</a></li> - - <li><a href="#Context">Context</a></li> - - <li><a href="#Override">Override</a></li> - - <li><a href="#Status">Status</a></li> - - <li><a href="#Module">Module</a></li> - - <li><a href="#Compatibility">Compatibility</a></li> - </ul> - <hr /> - - <h2><a id="Syntax" name="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 <a href="../misc/FAQ.html#regex">regular - expression</a>, which is a way of describing a pattern to - match in text. 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> - <hr /> - - <h2><a id="Default" name="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> - <hr /> - - <h2><a id="Context" name="Context">Context</a></h2> - - <p>This indicates where in the server's configuration files the - directive is legal. It's a comma-separated list of one or more - of the following values:</p> - - <dl> - <dt><strong>server config</strong></dt> - - <dd>This means that the directive may be used in the server - configuration files (<em>e.g.</em>, <samp>httpd.conf</samp>, - <samp>srm.conf</samp>, and <samp>access.conf</samp>), but - <strong>not</strong> within any - <samp><VirtualHost></samp> or <Directory> - containers. It is not allowed in <samp>.htaccess</samp> files - at all.</dd> - - <dt><strong>virtual host</strong></dt> - - <dd>This context means that the directive may appear inside - <samp><VirtualHost></samp> containers in the server - configuration files.</dd> - - <dt><strong>directory</strong></dt> - - <dd>A directive marked as being valid in this context may be - used inside <samp><Directory></samp>, - <samp><Location></samp>, and <samp><Files></samp> - containers in the server configuration files, subject to the - restrictions outlined in <a href="../sections.html">How - Directory, Location and Files sections work</a>.</dd> - - <dt><strong>.htaccess</strong></dt> - - <dd>If a directive is valid in this context, it means that it - can appear inside <em>per</em>-directory - <samp>.htaccess</samp> files. It may not be processed, though - depending upon the <a href="#Override" - rel="Help">overrides</a> currently active.</dd> - </dl> - - <p>The directive is <em>only</em> allowed within the designated - context; if you try to use it elsewhere, you'll get a - configuration error that will either prevent the server from - handling requests in that context correctly, or will keep the - server from operating at all -- <em>i.e.</em>, the server won't - even start.</p> - - <p>The valid locations for the directive are actually the - result of a Boolean OR of all of the listed contexts. In other - words, a directive that is marked as being valid in - "<samp>server config, .htaccess</samp>" can be used in the - <samp>httpd.conf</samp> file and in <samp>.htaccess</samp> - files, but not within any <Directory> or - <VirtualHost> containers.</p> - <hr /> - - <h2><a id="Override" name="Override">Override</a></h2> - - <p>This directive attribute indicates which configuration - override must be active in order for the directive to be - processed when it appears in a <samp>.htaccess</samp> file. If - the directive's <a href="#Context" rel="Help">context</a> - doesn't permit it to appear in <samp>.htaccess</samp> files, - this attribute should say "<em>Not applicable</em>".</p> - - <p>Overrides are activated by the <a - href="core.html#allowoverride" - rel="Help"><samp>AllowOverride</samp></a> directive, and apply - to a particular scope (such as a directory) and all - descendants, unless further modified by other - <samp>AllowOverride</samp> directives at lower levels. The - documentation for that directive also lists the possible - override names available.</p> - <hr /> - - <h2><a id="Status" name="Status">Status</a></h2> - - <p>This indicates how tightly bound into the Apache Web server - the directive is; in other words, you may need to recompile the - server with an enhanced set of modules in order to gain access - to the directive and its functionality. Possible values for - this attribute are:</p> - - <dl> - <dt><strong>Core</strong></dt> - - <dd>If a directive is listed as having "Core" status, that - means it is part of the innermost portions of the Apache Web - server, and is always available.</dd> - - <dt><strong>Base</strong></dt> - - <dd>A directive labeled as having "Base" status is supported - by one of the standard Apache modules which is compiled into - the server by default, and is therefore normally available - unless you've taken steps to remove the module from your - configuration.</dd> - - <dt><strong>Extension</strong></dt> - - <dd>A directive with "Extension" status is provided by one of - the modules included with the Apache server kit, but the - module isn't normally compiled into the server. To enable the - directive and its functionality, you will need to change the - server build configuration files and re-compile Apache.</dd> - - <dt><strong>Experimental</strong></dt> - - <dd>"Experimental" status indicates that the directive is - available as part of the Apache kit, but you're on your own - if you try to use it. The directive is being documented for - completeness, and is not necessarily supported. The module - which provides the directive may or may not be compiled in by - default; check the top of the page which describes the - directive and its module to see if it remarks on the - availability.</dd> - </dl> - <hr /> - - <h2><a id="Module" name="Module">Module</a></h2> - - <p>This quite simply lists the name of the source module which - defines the directive.</p> - <hr /> - - <h2><a id="Compatibility" - name="Compatibility">Compatibility</a></h2> - - <p>If the directive wasn't part of the original Apache version - 1 distribution, the version in which it was introduced should - be listed here. If the directive has the same name as one from - the NCSA HTTPd server, any inconsistencies in behavior between - the two should also be mentioned. Otherwise, this attribute - should say "<em>No compatibility issues.</em>"</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/directive-dict.html.fr b/usr.sbin/httpd/htdocs/manual/mod/directive-dict.html.fr deleted file mode 100644 index 817a984f246..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/directive-dict.html.fr +++ /dev/null @@ -1,261 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!--Traduction anglais 1.4 --> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /> - - <title>Termes utilisés pour décrire les - directives Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Termes utilisés pour décrire - les directives Apache</h1> - - <p>Chaque directive de configuration d'Apache est - décrite selon un format de présentation commun - ressemblant à ceci :</p> - - <dl> - <dd><a href="#Syntax" - rel="Help"><strong>Syntaxe:</strong></a> - <em>nomDirective</em> <em>arguments</em><br /> - <a href="#Default" - rel="Help"><strong>Défaut:</strong></a> - <samp><em>nomDirective - valeursParDéfaut</em></samp><br /> - <a href="#Context" rel="Help"><strong>Contexte:</strong></a> - <em>listeDeContextes</em><br /> - <a href="#Override" - rel="Help"><strong>Surcharge:</strong></a> - <em>DirectivesSurchargées</em><br /> - <a href="#Status" rel="Help"><strong>Statut:</strong></a> - <em>statut</em><br /> - <a href="#Module" rel="Help"><strong>Module:</strong></a> - <em>nomModule</em><br /> - <a href="#Compatibility" - rel="Help"><strong>Compatibilité:</strong></a> - <em>notes concernant la compatibilité</em></dd> - </dl> - - <p>Chacun des attributs possibles pour les directives, avec - toutes leurs valeurs possibles sont décrites dans ce - document.</p> - - <h2>Termes employés pour les directives</h2> - - <ul> - <li><a href="#Syntax">Syntaxe</a></li> - - <li><a href="#Default">Défaut</a></li> - - <li><a href="#Context">Contexte</a></li> - - <li><a href="#Override">Surcharge</a></li> - - <li><a href="#Status">Statut</a></li> - - <li><a href="#Module">Module</a></li> - - <li><a href="#Compatibility">Compatibilité</a></li> - </ul> - <hr /> - - <h2><a id="Syntax" name="Syntax">Syntaxe</a></h2> - - <p>Indique le format dans laquelle la directive doit être - inscrite dans les fichiers de configuration. Cette syntaxe est - très spécifique pour chaque directive, et est - décrite en détail dans la définition de la - directive. Généralement, le nom de la directive - est suivi d'un ou de plusieurs arguments. Les arguments - optionnels sont entourés de crochets Quand un argument - peut prendre plus d'une valeur possible, les valeurs possibles - sont séparées par une barre verticale. Les - valeurs littérales sont affichée avec la fontes - par défaut, tandis qur les type d'arguments pour - lesquels une substitution doit être faite sont en - italique. Les diretrives pouvant avoir un nombre variable - d'arguments se terminent avec "..." indiquant que le dernier - argument se répète.</p> - <hr /> - - <h2><a id="Default" name="Default">Défaut</a></h2> - - <p>Si la directive a une valeur par défaut - (<em>c-à-d.</em>, si elle n'apparait pas du tout dans le - fichier de configuration, le serveur Apache se comportera comme - si cette directive avait été écrite en - mentionnant cette valeur), elle est spécifiée - ici. Si aucune valeur n'est définie par défaut, - cette section précisera "<em>Non - précisé</em>".</p> - <hr /> - - <h2><a id="Context" name="Context">Contexte</a></h2> - - <p>Indique là ou l'implantation de la directive dans le - fichier de configuration est licite. Il est exprimé - comme une liste séparée par des virgules, et - pouvant contenir les éléments suivants :</p> - - <dl> - <dt><strong>configuration serveur</strong></dt> - - <dd>La directive peut être utilisée dans le - fichier de configuration du serveur (<em>ex.</em>, - <samp>httpd.conf</samp>, <samp>srm.conf</samp>, et - <samp>access.conf</samp>), mais dans <strong>aucune</strong> - des sections intérieures des containers - <samp><VirtualHost></samp> ni <Directory>. Elle - n'est pas permise dans aucun des fichiers - <samp>.htaccess</samp>.</dd> - - <dt><strong>hôte virtuel</strong></dt> - - <dd>Dans ce contexte, la directive peut apparaître dans - les containers <samp><VirtualHost></samp> écrits - dans les fichiers de configuration du serveur.</dd> - - <dt><strong>répertoire</strong></dt> - - <dd>La directive peut apparaître dans les containers - <samp><Directory></samp> écrits dans les - fichiers de configuration du serveur.</dd> - - <dt><strong>.htaccess</strong></dt> - - <dd>La directive peut apparaître dans les fichiers - <samp>.htaccess</samp> situé dans chacun des - répertoires. Elle peut ou ne pas être - interprétée, suivant la configuration des - directives <a href="#Override" rel="Help">de - surcharge</a>.</dd> - </dl> - - <p>Les directives ne sont autorisées <em>que</em> dans - les contextes cités ; si vous essayez de les - écrire ailleurs, vous provoquerez une erreur de - configuration qui soit conduira le serveur à ignorer les - requêtes dans le contexte spécifié, soit - peut empêcher le serveur de fonctionner -- - <em>c-à-d.</em>, le serveur refusera de - démarrer.</p> - - <p>Les emplacements valides pour les directives sont le - résultat d'un OU booléen de tous les contextes - cités. En d'autres termes, une directive marquée - comma étant valide dans le contexte "<samp>configuration - serveur, .htaccess</samp>" peut être utilisée dans - le fichier <samp>httpd.conf</samp> et dans les fichiers - <samp>.htaccess</samp>, mais pas dans le container - <Directory> ni <VirtualHost>.</p> - <hr /> - - <h2><a id="Override" name="Override">Surcharge</a></h2> - - <p>Cet attribut de directive précise quelle surcharge - doit être permise pour que la directive puisse être - interprétée lorsqu'elle apparaît dans un - fichier <samp>.htaccess</samp>. Si le <a href="#Context" - rel="Help">contexte</a> de directive ne permet pas une - écriture dans les fichiers <samp>.htaccess</samp>, cet - attribut doit mentionner "<em>Non applicable</em>".</p> - - <p>Les surcharges sont gérées par la directive <a - href="core.html#allowoverrides" - rel="Help"><samp>AllowOverrides</samp></a>, et ont une - portée définie, par exemple un répertoire - donné et tous ses descendants, sauf si la configuration - de surcharge est changée à un endroit de la - descendance par une directive <samp>AllowOverrides</samp> d'un - niveau inférieur. La documentation pour cette directive - liste aussi les noms possibles de surcharges disponibles.</p> - <hr /> - - <h2><a id="Status" name="Status">Statut</a></h2> - - <p>Indique à quel module du serveur Apache Web la - directive est rattachée ; en d'autres termes, vous - devrez peut être recompiler le serveur en - précisant un ensemble plus large de modules pour pouvoir - bénéficier de cette fonctionnalité. Les - valeurs possibles pour cet attribut sont :</p> - - <dl> - <dt><strong>Noyau</strong></dt> - - <dd>Il s'agit d'une directive du noyau d'Apache et est de ce - fait toujours disponible.</dd> - - <dt><strong>Base</strong></dt> - - <dd>La directive est implémentée dans un module - d'Apache faisant partie de l'ensemble de compilation de base, - et est normalement disponible sauf si vous avez explicitement - enlevé ce module à la compilation.</dd> - - <dt><strong>Extension</strong></dt> - - <dd>La directive est implémentée par un module - faisant partie de l'Apache Server Kit, mais ce module n'est - pas compilé par défaut. Pour activer cette - directive, et rendre opérationnelle cette - fonctionnalité, vous devrez modifier le fichier de - configuration de compilation et recompiler Apache.</dd> - - <dt><strong>Expérimental</strong></dt> - - <dd>Le statut "Experimental" indique que la directive est - disponible dans le Kit Apache, mais que vous ne pouvez - l'utiliser qu'à vos risques et périls. La - directive est documenté dans un souci - d'exhaustivité mais n'est pas forcément - supportée. Le module qui donne accès à - cette directive peut être ou ne pas être - compilé par défaut ; reportez vous en - tête de la page qui décrit la directive et le - module pour toute remarque concernant sa - disponibilité.</dd> - </dl> - <hr /> - - <h2><a id="Module" name="Module">Module</a></h2> - - <p>Donne simplement le nom du module ou est - implémentée cette fonctionnalité.</p> - <hr /> - - <h2><a id="Compatibility" - name="Compatibility">Compatibilité</a></h2> - - <p>Si la directive ne faisait pas partie de la version 1 - d'Apache, le numéro indique la version dans laquelle - elle a été introduite. Si la directive a le - même nom qu'une ancienne directive du serveur HTTPd du - NCSA, toute différence de comportement y sera - mentionnée. Dans les autres cas, cette rubrique - affichera "<em>Pas de remarques sur - compatiblité.</em>"</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/directive-dict.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/directive-dict.html.ja.jis deleted file mode 100644 index 6529458d7ad..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/directive-dict.html.ja.jis +++ /dev/null @@ -1,310 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<title>Apache $B$N%G%#%l%/%F%#%V$N2r@b$K;H$o$l$kMQ8l(B</title> -</head> -<!-- English revision: 1.7 --> -<!-- Background white, links blue (unvisited), navy (visited), red (active) --> -<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#000080" -alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - -<h1 align="center">Apache -$B$N%G%#%l%/%F%#%V$N2r@b$K;H$o$l$kMQ8l(B</h1> - -<p>$B$=$l$>$l$N(B Apache -$B%G%#%l%/%F%#%V$O!"<!$N$h$&$J6&DL$N=q<0$K$h$C$F5-=R$5$l$^$9(B:</p> - -<dl> -<dd><a href="#Syntax" rel="Help"><strong>$B9=J8(B:</strong></a> -<em>directive-name</em> <em>some args</em><br /> - <a href="#Default" rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> -<samp><em>directive-name default-value</em></samp><br /> - <a href="#Context" rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> -<em>context-list</em><br /> - <a href="#Override" rel="Help"><strong>$B>e=q$-(B:</strong></a> -<em>override</em><br /> - <a href="#Status" rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> -<em>status</em><br /> - <a href="#Module" rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> -<em>module-name</em><br /> - <a href="#Compatibility" rel="Help"><strong>$B8_49@-(B:</strong></a> -<em>compatibility notes</em></dd> -</dl> - -<p>$B$3$N%I%-%e%a%s%H$G$O%G%#%l%/%F%#%V$N$=$l$>$l$NB0@-$,@bL@$5$l(B -$B$F$$$^$9!#2DG=$J>l9g$O%G%#%l%/%F%#%V$,<h$jF@$k$9$Y$F$NCM$b=q$+$l$F$$$^$9!#(B</p> - -<h2>$B%G%#%l%/%F%#%V$NMQ8l(B</h2> - -<ul> -<li><a href="#Syntax">$B9=J8(B</a></li> - -<li><a href="#Default">$B%G%U%)%k%H(B</a></li> - -<li><a href="#Context">$B%3%s%F%-%9%H(B</a></li> - -<li><a href="#Override">$B>e=q$-(B</a></li> - -<li><a href="#Status">$B%9%F!<%?%9(B</a></li> - -<li><a href="#Module">$B%b%8%e!<%k(B</a></li> - -<li><a href="#Compatibility">$B8_49@-(B</a></li> -</ul> - -<hr /> -<h2><a id="Syntax" name="Syntax">$B9=J8(B</a></h2> - -<p>$B@_Dj%U%!%$%kCf$N%G%#%l%/%F%#%V$N=q<0$r<($7$^$9!#(B -$B$3$N9=J8$O%G%#%l%/%F%#%VFCM-$J$N$G!">\:Y$O%G%#%l%/%F%#%V$N@bL@$r(B -$B;2>H$7$F$/$@$5$$!#0lHLE*$K!"%G%#%l%/%F%#%VL>$N8e$K$O(B -$B6uGr$K$h$jJ,3d$5$l$?$$$/$D$+$N0z?t$,B3$-$^$9!#(B -$B0z?t$,6uGr$r4^$`$H$-$OFs=E0zMQId(B ($BLuCm(B: ") -$B$G0O$^$l$F$$$^$9!#(B $B%*%W%7%g%J%k$J0z?t$O3g8L(B ($BLuCm(B: -[]) $B$G0O$^$l$F$$$^$9!#(B -$B0z?t$,J#?t$NCM$r<h$jF@$k>l9g$O!"$=$l$i$NCM$O?bD>$NK@(B "|" $B$G(B -$BJ,3d$5$l$F$$$^$9!#(B -$BJQ99$5$l$J$$%F%-%9%H$O%G%U%)%k%H$N%U%)%s%H$GI=<($5$l!"CV49$NI,MW$J(B -$B0z?t$O(B<em>$B6/D4$5$l$F(B</em>$BI=<($5$l$^$9!#(B -$B0z?t$N?t$,JQ$o$k%G%#%l%/%F%#%V$O:G8e$N(B -$B0z?t$,7+$jJV$5$l$k$3$H$r<($9$?$a$K(B "..." $B$G=*$o$j$^$9!#(B</p> - -<p>$B%G%#%l%/%F%#%V$OB?$/$N0c$&7?$N0z?t$r$H$j$^$9!#$$$/$D$+!"NI$/(B -$B;H$o$l$k$b$N$r0J2<$GDj5A$7$^$9!#(B</p> - -<dl> -<dt><em>URL</em></dt> - -<dd><code>http://www.example.com/path/to/file.html</code> -$B$N$h$&$K!"(B -$B%9%-!<%`!"%[%9%HL>!"%Q%9L>(B($B>JN,2DG=(B)$B$r4^$s$G$$$k40A4$J(B -Uniform Resource Locator$B!#(B</dd> - -<dt><em>URL-path</em></dt> - -<dd><code>/path/to/file.html</code> $B$N$h$&$K!"%9%-!<%`$H(B -$B%[%9%HL>$N8e$KB3$/(B <em>url</em> $B$N0lIt!#(B<em>url-path</em> -$B$O(B $B%U%!%$%k%7%9%F%`$+$i$N;kE@$G$O$J$/!"(B -$B%&%'%V$+$i$N;kE@$G%j%=!<%9$rI=8=$7$^$9!#(B</dd> - -<dt><em>file-path</em></dt> - -<dd><code>/usr/local/apache/htdocs/path/to/file.html</code> -$B$N$h$&$K!"(B -$B%k!<%H%G%#%l%/%H%j$+$i;O$^$k%m!<%+%k$N%U%!%$%k%7%9%F%`>e$N%U%!%$%k$X$N%Q%9!#(B -$BDL>o!"%9%i%C%7%e$G;O$^$i$J$$(B <em>file-path</em> $B$O(B <a -href="core.html#serverroot">ServerRoot</a> $B$+$i$NAjBP%Q%9$H$7$F(B -$B07$o$l$^$9!#(B</dd> - -<dt><em>directory-path</em></dt> - -<dd><code>/usr/local/apache/htdocs/path/to/</code> $B$N$h$&$K!"(B -$B%k!<%H%G%#%l%/%H%j$+$i;O$^$k%m!<%+%k$N%U%!%$%k%7%9%F%`$N%G%#%l%/%H%j$X$N(B -$B%Q%9!#(B</dd> - -<dt><em>filename</em></dt> - -<dd><code>file.html</code> $B$N$h$&$K!"%Q%9>pJs$NIU$$$F$$$J$$(B -$B%U%!%$%kL>!#(B</dd> - -<dt><em>regex</em></dt> - -<dd><a href="../misc/FAQ.html#regex">$B@55,I=8=(B</a>$B!#$3$l$O!"(B -$B%F%-%9%H$N%^%C%A$N%Q%?!<%s$rI=$7$^$9!#%G%#%l%/%F%#%V$NDj5A$,(B -<em>regex</em> $B$,2?$KBP$7$F%^%C%A$r9T$J$&$N$+$r;XDj$7$^$9!#(B</dd> - -<dt><em>extension</em></dt> - -<dd>$B0lHLE*$K$O(B <em>filename</em> -$B$N:G8e$N%I%C%H$N8e$NItJ,$G$9!#(B $B$7$+$7!"(BApache -$B$OJ#?t$N%U%!%$%k$N3HD%;R$rG'<1$7$^$9$N$G!"(B<em>filename</em> -$B$KJ#?t$N%I%C%H$,$"$k$H!":G=i$N%I%C%H$N8e$N!"$=$l$>$l$N%I%C%H$GJ,N%$5$l$?ItJ,$,(B -<em>extension</em> ($BLuCm(B: $B3HD%;R(B) -$B$K$J$j$^$9!#Nc$($P!"(B<em>filename</em> <code>file.html.en</code> -$B$K$OFs$D$N3HD%;R$,$"$j$^$9!#(B<code>.html</code> $B$H(B -<code>.en</code> $B$G$9!#(BApache -$B$N%G%#%l%/%F%#%V$G$O!"(B<em>extension</em> -$B$O%I%C%HIU$-$G$bL5$7$G$b;XDj$G$-$^$9!#$5$i$K!"(B<em>extension</em> -$B$O(B $BBgJ8;z>.J8;z$r6hJL$7$^$;$s!#(B</dd> - -<dt><em>MIME-type</em></dt> - -<dd><code>text/html</code> $B$N$h$&$K!"%9%i%C%7%e$GJ,N%$5$l$?(B -$B<g%U%)!<%^%C%H$HI{%U%)!<%^%C%H$K$h$C$F%U%!%$%k$N7A<0$r(B -$BI=$9J}K!$G$9!#(B</dd> - -<dt><em>env-variable</em></dt> - -<dd>Apache $B$N@_Dj$K$h$jDj5A$5$l$k(B <a -href="../env.html">$B4D6-JQ?t(B</a>$B$NL>A0$G$9!#$3$l$O%*%Z%l!<%F%#%s%0%7%9%F%`$N(B -$B4D6-JQ?t$HF1$8$H$O8B$i$J$$$3$H$KCm0U$7$F$/$@$5$$!#>\:Y$O(B <a -href="../env.html">$B4D6-JQ?t$N@bL@(B</a>$B$r;2>H$7$F$/$@$5$$!#(B</dd> -</dl> - -<hr /> -<h2><a id="Default" name="Default">$B%G%U%)%k%H(B</a></h2> - -<p>$B%G%#%l%/%F%#%V$K%G%U%)%k%HCM(B -(<em>$B$9$J$o$A(B</em>$B!"@_Dj%U%!%$%k$+$i(B -$B>JN,$5$l$F$$$F$b!"(BApache -$B%&%'%V%5!<%P$OFCDj$NCM$K@_Dj$5$l$F$$$k$+$N$h$&$K(B -$BF0:n$7$^$9(B) $B$,$"$k>l9g$O$3$3$K5-=R$5$l$^$9!#(B -$B%G%U%)%k%HCM$NL5$$>l9g!"$3$3$O(B "<em>None</em>" $B$H(B -$B=q$+$l$^$9!#$3$3$G=q$+$l$F$$$k%G%U%)%k%H$O%5!<%P$H6&$KG[I[$5$l$F$$$k(B -$B%G%U%)%k%H$N(B httpd.conf -$BFb$K=q$+$l$F$$$k%G%#%l%/%F%#%V$NCM$H(B -$B0c$&2DG=@-$,$"$k$3$H$KCm0U$7$F$/$@$5$$!#(B</p> - -<hr /> -<h2><a id="Context" name="Context">$B%3%s%F%-%9%H(B</a></h2> - -<p> -$B$3$l$O!"%5!<%P$N@_Dj%U%!%$%kCf$N$I$3$G%G%#%l%/%F%#%V$,M-8z$J$N$+$r<($7$^$9!#(B -$B<!$K<($9CM$,0l$D0J>e%+%s%^6h@Z$j$GNs5s$5$l$F$$$^$9!#(B</p> - -<dl> -<dt><strong>$B%5!<%P@_Dj%U%!%$%k(B</strong></dt> - -<dd>$B$3$l$O!"%5!<%P@_Dj%U%!%$%k(B -(<em>$BNc$($P(B</em>$B!"(B<samp>httpd.conf</samp>, -<samp>srm.conf</samp>, <samp>access.conf</samp>) -$BFb$G$O;HMQ$G$-$^$9$,!"(B <samp><VirtualHost></samp>$B$d(B -<samp><Directory></samp> $B$NCf$G$O(B -<strong>$B;HMQ$G$-$J$$(B</strong>$B$3$H$r<($7$^$9!#(B -<samp>.htaccess</samp>$B%U%!%$%k$G$N;HMQ$O5v2D$5$l$F$$$^$;$s!#(B</dd> - -<dt><strong>$B%P!<%A%c%k%[%9%H(B</strong></dt> - -<dd>$B$3$l$O!"%5!<%P@_Dj%U%!%$%k$N(B <samp><VirtualHost></samp> -$B$NCf$G;HMQ$G$-$k$3$H$r<($7$^$9!#(B</dd> - -<dt><strong>$B%G%#%l%/%H%j(B</strong></dt> - -<dd>$B$3$l$O!"%5!<%P@_Dj%U%!%$%k$N(B -<samp><Directory></samp>$B!"(B -<samp><Location></samp>$B!"(B<samp><Files></samp> -$B$NCf$G!"(B <a -href="../sections.html">Directory$B!"(BLocation$B!"(BFiles -$B%;%/%7%g%s$N5!G=(B</a> -$B$G@bL@$5$l$F$$$k@)8B$N2<$G;HMQ$G$-$k$3$H$r<($7$^$9!#(B</dd> - -<dt><strong>.htaccess</strong></dt> - -<dd>$B$3$l$O!"%G%#%l%/%H%j(B<em>$BKh(B</em>$B$N(B -<samp>.htaccess</samp> $B%U%!%$%kFb$G(B -$B;HMQ2DG=$G$"$k$3$H$r<($7$^$9!#(B $B$?$@!"(B<a href="#Override" -rel="Help">$B>e=q$-(B</a> -$B$N@_Dj$K$h$C$F$O!"=hM}$5$l$J$$$+$b$7$l$^$;$s!#(B</dd> -</dl> - -<p> -$B%G%#%l%/%F%#%V$O;X<($5$l$?%3%s%F%-%9%H$G(B<em>$B$N$_(B</em>$B5v2D$5$l$^$9!#(B -$BB>$N>l=j$G;H$*$&$H$9$k$H!"%5!<%P$,$=$N%3%s%F%-%9%H$r@5$7$/07$($J$/(B -$B$J$k$h$&$J@_Dj%(%i!<$,H/@8$9$k$+!"%5!<%P$,$^$C$?$/F0:n$7$J$/$J$k!"(B -<em>$B$9$J$o$A(B</em>$B!"%5!<%P$,5/F0$7$J$/$J$k$H$$$&$3$H$K$J$j$^$9!#(B</p> - -<p> -$B%G%#%l%/%F%#%V$NM-8z$J0LCV$O!"<B:]$O5s$2$i$l$F$$$k%3%s%F%-%9%H$N(B -$BO@M}OB(B ($BLuCm(B: Boolen OR) $B$K$J$j$^$9!#8@$$49$($k$H!"(B -"<samp>$B%5!<%P@_Dj%U%!%$%k!"(B.htaccess</samp>" $B$GM-8z$@$H(B -$B5-$5$l$F$$$k%G%#%l%/%F%#%V$O(B <samp>httpd.conf</samp> -$B%U%!%$%k$H(B <samp>.htaccess</samp> $B%U%!%$%k$H$GM-8z$G$9$,!"(B -<samp><Directory></samp> $B$d(B -<samp><VirtualHost></samp> $B$NCf$G$O;HMQ$G$-$^$;$s!#(B</p> - -<hr /> -<h2><a id="Override" name="Override">$B>e=q$-(B</a></h2> - -<p>$B$3$N%G%#%l%/%F%#%V$NB0@-$O!"(B<samp>.htaccess</samp> -$B%U%!%$%kCf$K(B -$B%G%#%l%/%F%#%V$,8=$l$?$H$-$K!"$=$l$N=hM}$rM-8z$K$9$k$?$a$K(B -$B$I$N@_Dj$N>e=q$-$,I,MW$+$r<($7$^$9!#(B $B%G%#%l%/%F%#%V$N(B <a -href="#Context" rel="Help">$B%3%s%F%-%9%H(B</a> -$B$,!"(B<samp>.htaccess</samp> -$B%U%!%$%kCf$G$O5v2D$7$F$$$J$$>l9g$O!"(B $B$3$NB0@-$O(B -"<em>$BE,MQIT2D(B</em>" $B$H=q$+$l$^$9!#(B</p> - -<p>$B>e=q$-$O!"(B<a href="core.html#allowoverride" -rel="Help"><samp>AllowOverride</samp></a> -$B%G%#%l%/%F%#%V$K$h$C$FM-8z$K$5$l!"(B -$BFCDj$N%9%3!<%W(B($B%G%#%l%/%H%j$J$I(B)$B$H!"(B -$B$5$i$K2<0L$N%l%Y%k$N(B <samp>AllowOverride</samp> -$B$G=$@5$5$l$J$$8B$j!"(B $B$=$NG[2<$KBP$7$FE,MQ$5$l$^$9!#(B -$B%G%#%l%/%F%#%V$N%I%-%e%a%s%H$O<h$jF@$k>e=q$-$NL>A0$b5s$2$^$9!#(B</p> - -<hr /> -<h2><a id="Status" name="Status">$B%9%F!<%?%9(B</a></h2> - -<p>$B$3$l$O%G%#%l%/%F%#%V$,(B Apache -$B%&%'%V%5!<%P$K$I$l$/$i$$$-$D$/AH$_9~$^$l$F$$$k$+$r(B -$B<($7$^$9!#8@$$49$($l$P!"%G%#%l%/%F%#%V$H$=$N5!G=$rMxMQ$9$k$?$a$K!"(B -$B%b%8%e!<%k$N?t$rA}$d$7$F!"%5!<%P$r:F%3%s%Q%$%k$9$kI,MW$,$"$k$+$b$7$l$J$$(B -$B$H$$$&$3$H$r<($7$^$9!#(B -$B$3$NB0@-$,<h$jF@$kCM$O0J2<$N$b$N$G$9(B:</p> - -<dl> -<dt><strong>Core</strong></dt> - -<dd>"Core" $B$N%G%#%l%/%F%#%V$O(B Apache -$B%&%'%V%5!<%P$N4pK\$H$J$k$Y$-$b$N$G$"$j!"(B -$B>o$K;HMQ2DG=$G$"$k$3$H$r<($7$^$9!#(B</dd> - -<dt><strong>Base</strong></dt> - -<dd>"Base" $B$N%G%#%l%/%F%#%V$O(B -$B%G%U%)%k%H$G%5!<%P$KAH$_9~$^$l$F$$$kI8=`%b%8%e!<%k$NCf$N0l$D$G%5(B -$B%]!<%H$5$l$F$$$F!"$o$6$o$6@_Dj$+$i%b%8%e!<%k$r:o=|$7$?$H$-$r=|$$$F!"(B -$BDL>o$G$O;HMQ2DG=$G$"$k$3$H$r<($7$^$9!#(B</dd> - -<dt><strong>Extension</strong></dt> - -<dd>"Extension" $B$N%G%#%l%/%F%#%V$O!"(B Apache -$B%5!<%P$NG[I[J*$KF1:-$5$l$F$$$k%b%8%e!<%k$N0l$D$GDs6!$5$l$F$$$k$b$N$N!"(B -$BDL>o$G$O%5!<%P$KAH$_9~$^$l$F$$$J$$$3$H$r<($7$^$9!#(B -$B%G%#%l%/%F%#%V$H$=$N5!G=$rM-8z$K$9$k$K$O!"%5!<%P%S%k%IMQ$N@_Dj%U%!%$%k$r(B -$BJQ99$7$F(B Apache $B$r:F%3%s%Q%$%k$9$kI,MW$,$"$j$^$9!#(B</dd> - -<dt><strong>Experimental</strong></dt> - -<dd>"Experimental" $B$N%G%#%l%/%F%#%V$O!"(BApache $BG[I[J*$K(B -$BF1:-$5$l$F$$$k$b$N$N!";n$7$?$$>l9g$O<+8J@UG$$G9T$J$&(B -$BI,MW$,$"$k$H$$$&$3$H$r<($7$^$9!#%G%#%l%/%F%#%V$O!"$9$Y$F$N%I%-%e%a%s%H$r(B -$B40A4$K$=$m$o$;$k$?$a$K2r@b$5$l$F$$$^$9$,!"%5%]!<%H$5$l$F$$$k$H$O8B$j$^$;$s!#(B -$B%G%#%l%/%F%#%V$rDs6!$9$k%b%8%e!<%k$O%G%U%)%k%H$GAH$_9~$^$l$F$$$k$+$b(B -$B$7$l$^$;$s$7!"$=$&$G$J$$$+$b$7$l$^$;$s!#;HMQ2DG=$+$I$&$+$O!"(B -$B%G%#%l%/%F%#%V$H%b%8%e!<%k$N@bL@$r$7$F$$$k%Z!<%8$N@hF,$rD4$Y$F$/$@$5$$!#(B</dd> -</dl> - -<hr /> -<h2><a id="Module" name="Module">$B%b%8%e!<%k(B</a></h2> - -<p> -$B$3$l$OC1=c$K%G%#%l%/%F%#%V$,Dj5A$5$l$F$$$k%b%8%e!<%k$NL>A0$r5-:\$7$^$9!#(B</p> - -<hr /> -<h2><a id="Compatibility" name="Compatibility">$B8_49@-(B</a></h2> - -<p>$B%G%#%l%/%F%#%V$,(B Apache 1 -$B$NG[I[$KAH$_9~$^$l$F$$$J$+$C$?>l9g!"(B -$B%G%#%l%/%F%#%V$,F3F~$5$l$?%P!<%8%g%s$,$3$3$K=q$+$l$F$$$^$9!#(B -$B%G%#%l%/%F%#%V$,(B NCSA HTTPd -$B%5!<%P$N$b$N$HF1$8L>A0$G$"$k>l9g!"(B -$B0[$J$k5sF0$,$"$k$H$3$3$K=q$+$l$^$9!#(B -$B5sF0$,F1$8>l9g$O!"(B"<em>$B8_49@-$NLdBjL5$7(B</em>" -$B$H=q$+$l$F$$$^$9!#(B</p> - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - -</body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/directives.html.de b/usr.sbin/httpd/htdocs/manual/mod/directives.html.de deleted file mode 100644 index a5375d5b361..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/directives.html.de +++ /dev/null @@ -1,264 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> -<HTML> -<HEAD> -<TITLE>Apache Konfigurationsdirektiven</TITLE> -</HEAD> - -<!-- Background white, links blue (unvisited), navy (visited), red (active) --> -<BODY - BGCOLOR="#FFFFFF" - TEXT="#000000" - LINK="#0000FF" - VLINK="#000080" - ALINK="#FF0000" -> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - -<H1 ALIGN="CENTER">Apache Konfigurationsdirektiven</H1> -<P> -Dieses Dokument enthält eine vollständige Liste aller -Konfigurationsdirektiven der Apache Standard-Distribution. -Die Beschreibungen sind dabei in einem einheitlichen Format verfasst, -wobei es zu den im Beschreibungsformat verwendeten Feldern eine eigene -<A - HREF="directive-dict.html" - REL="Glossary" ->Legende</A> -gibt. -</P> -<UL> -<li><a href="core.html#acceptfilter">AcceptFilter</a></li> -<li><a href="core.html#acceptmutex">AcceptMutex</a></li> -<LI><A HREF="core.html#accessconfig">AccessConfig</A> -<LI><A HREF="core.html#accessfilename">AccessFileName</A> -<LI><A HREF="mod_actions.html#action">Action</A> -<LI><A HREF="mod_autoindex.html#addalt">AddAlt</A> -<LI><A HREF="mod_autoindex.html#addaltbyencoding">AddAltByEncoding</A> -<LI><A HREF="mod_autoindex.html#addaltbytype">AddAltByType</A> -<LI><A HREF="mod_mime.html#addcharset">AddCharset</A> -<LI><A HREF="core.html#adddefaultcharset">AddDefaultCharset</A> -<LI><A HREF="mod_autoindex.html#adddescription">AddDescription</A> -<LI><A HREF="mod_mime.html#addencoding">AddEncoding</A> -<LI><A HREF="mod_mime.html#addhandler">AddHandler</A> -<LI><A HREF="mod_autoindex.html#addicon">AddIcon</A> -<LI><A HREF="mod_autoindex.html#addiconbyencoding">AddIconByEncoding</A> -<LI><A HREF="mod_autoindex.html#addiconbytype">AddIconByType</A> -<LI><A HREF="mod_mime.html#addlanguage">AddLanguage</A> -<LI><A HREF="core.html#addmodule">AddModule</A> -<LI><A HREF="mod_info.html#addmoduleinfo">AddModuleInfo</A> -<LI><A HREF="mod_mime.html#addtype">AddType</A> -<LI><A HREF="mod_log_agent.html#agentlog">AgentLog</A> -<LI><A HREF="mod_alias.html#alias">Alias</A> -<LI><A HREF="mod_alias.html#aliasmatch">AliasMatch</A> -<LI><A HREF="mod_access.html#allow">Allow</A> -<LI><A HREF="mod_proxy.html#allowconnect">AllowCONNECT</A> -<LI><A HREF="core.html#allowoverride">AllowOverride</A> -<LI><A HREF="mod_auth_anon.html#anonymous">Anonymous</A> -<LI><A HREF="mod_auth_anon.html#Authoritative">Anonymous_Authoritative</A> -<LI><A HREF="mod_auth_anon.html#LogEmail">Anonymous_LogEmail</A> -<LI><A HREF="mod_auth_anon.html#MustGiveEmail">Anonymous_MustGiveEmail</A> -<LI><A HREF="mod_auth_anon.html#NoUserID">Anonymous_NoUserID</A> -<LI><A HREF="mod_auth_anon.html#VerifyEmail">Anonymous_VerifyEmail</A> -<LI><A HREF="mod_auth.html#authauthoritative">AuthAuthoritative</A> -<LI><A HREF="mod_auth_db.html#authdbauthoritative">AuthDBAuthoritative</A> -<LI><A HREF="mod_auth_db.html#authdbgroupfile">AuthDBGroupFile</A> -<LI><A HREF="mod_auth_dbm.html#authdbmauthoritative">AuthDBMAuthoritative</A> -<LI><A HREF="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</A> -<LI><A HREF="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</A> -<LI><A HREF="mod_auth_db.html#authdbuserfile">AuthDBUserFile</A> -<LI><A HREF="mod_auth_dbm.html#authdbmuserfile">AuthDBMUserFile</A> -<LI><A HREF="mod_digest.html#authdigestfile">AuthDigestFile</A> -<LI><A HREF="mod_auth.html#authgroupfile">AuthGroupFile</A> -<LI><A HREF="core.html#authname">AuthName</A> -<LI><A HREF="core.html#authtype">AuthType</A> -<LI><A HREF="mod_auth.html#authuserfile">AuthUserFile</A> -<LI><A HREF="core.html#bindaddress">BindAddress</A> -<LI><A HREF="mod_setenvif.html#browsermatch">BrowserMatch</A> -<LI><A HREF="mod_setenvif.html#browsermatchnocase">BrowserMatchNoCase</A> -<LI><A HREF="core.html#bs2000account">BS2000Account</A> -<LI><A HREF="mod_proxy.html#cachedefaultexpire">CacheDefaultExpire</A> -<LI><A HREF="mod_proxy.html#cachedirlength">CacheDirLength</A> -<LI><A HREF="mod_proxy.html#cachedirlevels">CacheDirLevels</A> -<LI><A HREF="mod_proxy.html#cacheforcecompletion">CacheForceCompletion</A> -<LI><A HREF="mod_proxy.html#cachegcinterval">CacheGcInterval</A> -<LI><A HREF="mod_proxy.html#cachelastmodifiedfactor">CacheLastModifiedFactor</A> -<LI><A HREF="mod_proxy.html#cachemaxexpire">CacheMaxExpire</A> -<LI><A HREF="mod_negotiation.html#cachenegotiateddocs">CacheNegotiatedDocs</A> -<LI><A HREF="mod_proxy.html#cacheroot">CacheRoot</A> -<LI><A HREF="mod_proxy.html#cachesize">CacheSize</A> -<LI><A HREF="mod_speling.html#checkspelling">CheckSpelling</A> -<LI><A HREF="core.html#clearmodulelist">ClearModuleList</A> -<LI><A HREF="core.html#contentdigest">ContentDigest</A> -<li><a href="mod_usertrack.html#cookiedomain">CookieDomain</a></li> -<LI><A HREF="mod_usertrack.html#cookieexpires">CookieExpires</A> -<li><a href="mod_usertrack.html#cookieformat">CookieFormat</a></li> -<LI><A HREF="mod_cookies.html#cookielog">CookieLog</A> (mod_cookies) -<LI><A HREF="mod_log_config.html#cookielog">CookieLog</A> (mod_log_config) -<li><a href="mod_usertrack.html#cookieprefix">CookiePrefix</a></li> -<li><a href="mod_usertrack.html#cookiestyle">CookieStyle</a></li> -<LI><A HREF="mod_usertrack.html#cookietracking">CookieTracking</A> -<LI><A HREF="core.html#coredumpdirectory">CoreDumpDirectory</A> -<LI><A HREF="mod_log_config.html#customlog">CustomLog</A> -<LI><A HREF="mod_autoindex.html#defaulticon">DefaultIcon</A> -<LI><A HREF="mod_mime.html#defaultlanguage">DefaultLanguage</A> -<LI><A HREF="core.html#defaulttype">DefaultType</A> -<LI><A HREF="mod_access.html#deny">Deny</A> -<LI><A HREF="core.html#directory"><Directory></A> -<LI><A HREF="core.html#directorymatch"><DirectoryMatch></A> -<LI><A HREF="mod_dir.html#directoryindex">DirectoryIndex</A> -<LI><A HREF="core.html#documentroot">DocumentRoot</A> -<LI><A HREF="core.html#ebcdicconvert">EBCDICConvert</A> -<LI><A HREF="core.html#ebcdicconvertbytype">EBCDICConvertByType</A> -<LI><A HREF="core.html#ebcdickludge">EBCDICKludge</A> -<LI><A HREF="core.html#errordocument">ErrorDocument</A> -<li><a href="mod_headers.html#errorheader">ErrorHeader</a></li> -<LI><A HREF="core.html#errorlog">ErrorLog</A> -<LI><A HREF="mod_example.html#example">Example</A> -<LI><A HREF="mod_expires.html#expiresactive">ExpiresActive</A> -<LI><A HREF="mod_expires.html#expiresbytype">ExpiresByType</A> -<LI><A HREF="mod_expires.html#expiresdefault">ExpiresDefault</A> -<LI><A HREF="mod_status.html#extendedstatus">ExtendedStatus</A> -<LI><A HREF="mod_autoindex.html#fancyindexing">FancyIndexing</A> -<li><a href="core.html#fileetag">FileETag</a></li> -<LI><A HREF="core.html#files"><Files></A> -<LI><A HREF="core.html#filesmatch"><FilesMatch></A> -<LI><A HREF="mod_mime.html#forcetype">ForceType</A> -<LI><A HREF="core.html#group">Group</A> -<LI><A HREF="mod_headers.html#header">Header</A> -<LI><A HREF="mod_autoindex.html#headername">HeaderName</A> -<LI><A HREF="core.html#hostnamelookups">HostNameLookups</A> -<LI><A HREF="core.html#identitycheck">IdentityCheck</A> -<LI><A HREF="core.html#ifdefine"><IfDefine></A> -<LI><A HREF="core.html#ifmodule"><IfModule></A> -<LI><A HREF="mod_imap.html#imapbase">ImapBase</A> -<LI><A HREF="mod_imap.html#imapdefault">ImapDefault</A> -<LI><A HREF="mod_imap.html#imapmenu">ImapMenu</A> -<LI><A HREF="core.html#include">Include</A> -<LI><A HREF="mod_autoindex.html#indexignore">IndexIgnore</A> -<LI><A HREF="mod_autoindex.html#indexoptions">IndexOptions</A> -<LI><A HREF="mod_autoindex.html#indexorderdefault">IndexOrderDefault</A> -<LI><A HREF="mod_isapi.html#isapireadaheadbuffer">ISAPIReadAheadBuffer</A> -<LI><A HREF="mod_isapi.html#isapilognotsupported">ISAPILogNotSupported</A> -<LI><A HREF="mod_isapi.html#isapiappendlogtoerrors">ISAPIAppendLogToErrors</A> -<LI><A HREF="mod_isapi.html#isapiappendlogtoquery">ISAPIAppendLogToQuery</A> -<LI><A HREF="core.html#keepalive">KeepAlive</A> -<LI><A HREF="core.html#keepalivetimeout">KeepAliveTimeout</A> -<LI><A HREF="mod_negotiation.html#languagepriority">LanguagePriority</A> -<LI><A HREF="core.html#limit"><Limit></A> -<LI><A HREF="core.html#limitexcept"><LimitExcept></A> -<LI><A HREF="core.html#limitinternalrecursion">LimitInternalRecursion</A> -<LI><A HREF="core.html#limitrequestbody">LimitRequestBody</A> -<LI><A HREF="core.html#limitrequestfields">LimitRequestFields</A> -<LI><A HREF="core.html#limitrequestfieldsize">LimitRequestFieldsize</A> -<LI><A HREF="core.html#limitrequestline">LimitRequestLine</A> -<LI><A HREF="core.html#listen">Listen</A> -<LI><A HREF="core.html#listenbacklog">ListenBacklog</A> -<LI><A HREF="mod_so.html#loadfile">LoadFile</A> -<LI><A HREF="mod_so.html#loadmodule">LoadModule</A> -<LI><A HREF="core.html#location"><Location></A> -<LI><A HREF="core.html#locationmatch"><LocationMatch></A> -<LI><A HREF="core.html#lockfile">LockFile</A> -<LI><A HREF="mod_log_config.html#logformat">LogFormat</A> -<LI><A HREF="core.html#loglevel">LogLevel</A> -<LI><A HREF="core.html#maxclients">MaxClients</A> -<LI><A HREF="core.html#maxkeepaliverequests">MaxKeepAliveRequests</A> -<LI><A HREF="core.html#maxrequestsperchild">MaxRequestsPerChild</A> -<LI><A HREF="core.html#maxspareservers">MaxSpareServers</A> -<LI><A HREF="mod_cern_meta.html#metadir">MetaDir</A> -<LI><A HREF="mod_cern_meta.html#metafiles">MetaFiles</A> -<LI><A HREF="mod_cern_meta.html#metasuffix">MetaSuffix</A> -<LI><A HREF="mod_mime_magic.html#mimemagicfile">MimeMagicFile</A> -<LI><A HREF="core.html#minspareservers">MinSpareServers</A> -<LI><A HREF="mod_mmap_static.html#mmapfile">MMapFile</A> -<LI><A HREF="core.html#namevirtualhost">NameVirtualHost</A> -<LI><A HREF="mod_proxy.html#nocache">NoCache</A> -<LI><A HREF="core.html#options">Options</A> -<LI><A HREF="mod_access.html#order">Order</A> -<LI><A HREF="mod_env.html#passenv">PassEnv</A> -<LI><A HREF="core.html#pidfile">PidFile</A> -<LI><A HREF="core.html#port">Port</A> -<li><a href="core.html#protocolreqcheck">ProtocolReqCheck</a></li> -<LI><A HREF="mod_proxy.html#proxyblock">ProxyBlock</A> -<LI><A HREF="mod_proxy.html#proxydomain">ProxyDomain</A> -<LI><A HREF="mod_proxy.html#proxypass">ProxyPass</A> -<LI><A HREF="mod_proxy.html#proxypassreverse">ProxyPassReverse</A> -<LI><A HREF="mod_proxy.html#proxyreceivebuffersize">ProxyReceiveBufferSize</A> -<LI><A HREF="mod_proxy.html#proxyremote">ProxyRemote</A> -<LI><A HREF="mod_proxy.html#proxyrequests">ProxyRequests</A> -<LI><A HREF="mod_proxy.html#proxyvia">ProxyVia</A> -<LI><A HREF="mod_autoindex.html#readmename">ReadmeName</A> -<LI><A HREF="mod_alias.html#redirect">Redirect</A> -<LI><A HREF="mod_alias.html#redirectmatch">RedirectMatch</A> -<LI><A HREF="mod_alias.html#redirectperm">RedirectPermanent</A> -<LI><A HREF="mod_alias.html#redirecttemp">RedirectTemp</A> -<LI><A HREF="mod_log_referer.html#refererignore">RefererIgnore</A> -<LI><A HREF="mod_log_referer.html#refererlog">RefererLog</A> -<LI><A HREF="mod_mime.html#removeencoding">RemoveEncoding</A> -<LI><A HREF="mod_mime.html#removehandler">RemoveHandler</A> -<LI><A HREF="mod_mime.html#removetype">RemoveType</A> -<LI><A HREF="core.html#require">Require</A> -<LI><A HREF="core.html#resourceconfig">ResourceConfig</A> -<LI><A HREF="mod_rewrite.html#RewriteBase">RewriteBase</A> -<LI><A HREF="mod_rewrite.html#RewriteCond">RewriteCond</A> -<LI><A HREF="mod_rewrite.html#RewriteEngine">RewriteEngine</A> -<LI><A HREF="mod_rewrite.html#RewriteLock">RewriteLock</A> -<LI><A HREF="mod_rewrite.html#RewriteLog">RewriteLog</A> -<LI><A HREF="mod_rewrite.html#RewriteLogLevel">RewriteLogLevel</A> -<LI><A HREF="mod_rewrite.html#RewriteMap">RewriteMap</A> -<LI><A HREF="mod_rewrite.html#RewriteOptions">RewriteOptions</A> -<LI><A HREF="mod_rewrite.html#RewriteRule">RewriteRule</A> -<LI><A HREF="core.html#rlimitcpu">RLimitCPU</A> -<LI><A HREF="core.html#rlimitmem">RLimitMEM</A> -<LI><A HREF="core.html#rlimitnproc">RLimitNPROC</A> -<LI><A HREF="core.html#satisfy">Satisfy</A> -<LI><A HREF="core.html#scoreboardfile">ScoreBoardFile</A> -<LI><A HREF="mod_actions.html#script">Script</A> -<LI><A HREF="mod_alias.html#scriptalias">ScriptAlias</A> -<LI><A HREF="mod_alias.html#scriptaliasmatch">ScriptAliasMatch</A> -<LI><A HREF="core.html#scriptinterpretersource">ScriptInterpreterSource</A> -<LI><A HREF="mod_cgi.html#scriptlog">ScriptLog</A> -<LI><A HREF="mod_cgi.html#scriptlogbuffer">ScriptLogBuffer</A> -<LI><A HREF="mod_cgi.html#scriptloglength">ScriptLogLength</A> -<LI><A HREF="core.html#sendbuffersize">SendBufferSize</A> -<LI><A HREF="core.html#serveradmin">ServerAdmin</A> -<LI><A HREF="core.html#serveralias">ServerAlias</A> -<LI><A HREF="core.html#servername">ServerName</A> -<LI><A HREF="core.html#serverpath">ServerPath</A> -<LI><A HREF="core.html#serverroot">ServerRoot</A> -<LI><A HREF="core.html#serversignature">ServerSignature</A> -<LI><A HREF="core.html#servertokens">ServerTokens</A> -<LI><A HREF="core.html#servertype">ServerType</A> -<LI><A HREF="mod_env.html#setenv">SetEnv</A> -<LI><A HREF="mod_setenvif.html#setenvif">SetEnvIf</A> -<LI><A HREF="mod_setenvif.html#setenvifnocase">SetEnvIfNoCase</A> -<LI><A HREF="mod_mime.html#sethandler">SetHandler</A> -<li><a href="core.html#shmemuidisuser">ShmemUIDisUser</a></li> -<LI><A HREF="core.html#startservers">StartServers</A> -<LI><A HREF="core.html#threadsperchild">ThreadsPerChild</A> -<LI><A HREF="core.html#timeout">TimeOut</A> -<LI><A HREF="mod_log_config.html#transferlog">TransferLog</A> -<LI><A HREF="mod_mime.html#typesconfig">TypesConfig</A> -<LI><A HREF="mod_env.html#unsetenv">UnsetEnv</A> -<LI><A HREF="core.html#usecanonicalname">UseCanonicalName</A> -<LI><A HREF="core.html#user">User</A> -<LI><A HREF="mod_userdir.html#userdir">UserDir</A> -<LI><A HREF="core.html#virtualhost"><VirtualHost></A> -<LI><A HREF="mod_vhost_alias.html#virtualdocumentroot">VirtualDocumentRoot</A> -<LI><A HREF="mod_vhost_alias.html#virtualdocumentrootip">VirtualDocumentRootIP</A> -<LI><A HREF="mod_vhost_alias.html#virtualscriptalias">VirtualScriptAlias</A> -<LI><A HREF="mod_vhost_alias.html#virtualscriptaliasip">VirtualScriptAliasIP</A> -<LI><A HREF="mod_include.html#xbithack">XBitHack</A> -</UL> - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - -</BODY> -</HTML> diff --git a/usr.sbin/httpd/htdocs/manual/mod/directives.html.en b/usr.sbin/httpd/htdocs/manual/mod/directives.html.en deleted file mode 100644 index 97d728422aa..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/directives.html.en +++ /dev/null @@ -1,625 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache directives</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Apache Directives</h1> - - <p>Each Apache directive available in the standard Apache - distribution is listed here. They are described using a - consistent format, and there is <a href="directive-dict.html" - rel="Glossary">a dictionary</a> of the terms used in their - descriptions available.</p> - - <ul> - <li><a href="core.html#acceptfilter">AcceptFilter</a></li> - - <li><a href="core.html#acceptmutex">AcceptMutex</a></li> - - <li><a href="core.html#accessconfig">AccessConfig</a></li> - - <li><a - href="core.html#accessfilename">AccessFileName</a></li> - - <li><a href="mod_actions.html#action">Action</a></li> - - <li><a href="mod_autoindex.html#addalt">AddAlt</a></li> - - <li><a - href="mod_autoindex.html#addaltbyencoding">AddAltByEncoding</a></li> - - <li><a - href="mod_autoindex.html#addaltbytype">AddAltByType</a></li> - - <li><a href="mod_mime.html#addcharset">AddCharset</a></li> - - <li><a - href="core.html#adddefaultcharset">AddDefaultCharset</a></li> - - <li><a - href="mod_autoindex.html#adddescription">AddDescription</a></li> - - <li><a href="mod_mime.html#addencoding">AddEncoding</a></li> - - <li><a href="mod_mime.html#addhandler">AddHandler</a></li> - - <li><a href="mod_autoindex.html#addicon">AddIcon</a></li> - - <li><a - href="mod_autoindex.html#addiconbyencoding">AddIconByEncoding</a></li> - - <li><a - href="mod_autoindex.html#addiconbytype">AddIconByType</a></li> - - <li><a href="mod_mime.html#addlanguage">AddLanguage</a></li> - - <li><a href="core.html#addmodule">AddModule</a></li> - - <li><a - href="mod_info.html#addmoduleinfo">AddModuleInfo</a></li> - - <li><a href="mod_mime.html#addtype">AddType</a></li> - - <li><a href="mod_log_agent.html#agentlog">AgentLog</a></li> - - <li><a href="mod_alias.html#alias">Alias</a></li> - - <li><a href="mod_alias.html#aliasmatch">AliasMatch</a></li> - - <li><a href="mod_access.html#allow">Allow</a></li> - - <li><a - href="mod_proxy.html#allowconnect">AllowCONNECT</a></li> - - <li><a href="core.html#allowoverride">AllowOverride</a></li> - - <li><a href="mod_auth_anon.html#anonymous">Anonymous</a></li> - - <li><a - href="mod_auth_anon.html#Authoritative">Anonymous_Authoritative</a></li> - - <li><a - href="mod_auth_anon.html#LogEmail">Anonymous_LogEmail</a></li> - - <li><a - href="mod_auth_anon.html#MustGiveEmail">Anonymous_MustGiveEmail</a></li> - - <li><a - href="mod_auth_anon.html#NoUserID">Anonymous_NoUserID</a></li> - - <li><a - href="mod_auth_anon.html#VerifyEmail">Anonymous_VerifyEmail</a></li> - - <li><a - href="mod_auth.html#authauthoritative">AuthAuthoritative</a></li> - - <li><a - href="mod_auth_db.html#authdbauthoritative">AuthDBAuthoritative</a></li> - - <li><a - href="mod_auth_db.html#authdbgroupfile">AuthDBGroupFile</a></li> - - <li><a - href="mod_auth_dbm.html#authdbmauthoritative">AuthDBMAuthoritative</a></li> - - <li><a - href="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a></li> - - <li><a - href="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a></li> - - <li><a - href="mod_auth_db.html#authdbuserfile">AuthDBUserFile</a></li> - - <li><a - href="mod_auth_dbm.html#authdbmuserfile">AuthDBMUserFile</a></li> - - <li><a - href="mod_digest.html#authdigestfile">AuthDigestFile</a></li> - - <li><a - href="mod_auth.html#authgroupfile">AuthGroupFile</a></li> - - <li><a href="core.html#authname">AuthName</a></li> - - <li><a href="core.html#authtype">AuthType</a></li> - - <li><a - href="mod_auth.html#authuserfile">AuthUserFile</a></li> - - <li><a href="core.html#bindaddress">BindAddress</a></li> - - <li><a - href="mod_setenvif.html#browsermatch">BrowserMatch</a></li> - - <li><a - href="mod_setenvif.html#browsermatchnocase">BrowserMatchNoCase</a></li> - - <li><a href="core.html#bs2000account">BS2000Account</a></li> - - <li><a - href="mod_proxy.html#cachedefaultexpire">CacheDefaultExpire</a></li> - - <li><a - href="mod_proxy.html#cachedirlength">CacheDirLength</a></li> - - <li><a - href="mod_proxy.html#cachedirlevels">CacheDirLevels</a></li> - - <li><a - href="mod_proxy.html#cacheforcecompletion">CacheForceCompletion</a></li> - - <li><a - href="mod_proxy.html#cachegcinterval">CacheGcInterval</a></li> - - <li><a - href="mod_proxy.html#cachelastmodifiedfactor">CacheLastModifiedFactor</a></li> - - <li><a - href="mod_proxy.html#cachemaxexpire">CacheMaxExpire</a></li> - - <li><a - href="mod_negotiation.html#cachenegotiateddocs">CacheNegotiatedDocs</a></li> - - <li><a href="mod_proxy.html#cacheroot">CacheRoot</a></li> - - <li><a href="mod_proxy.html#cachesize">CacheSize</a></li> - - <li><a href="core.html#cgicommandargs">CGICommandArgs</a></li> - - <li><a - href="mod_speling.html#checkspelling">CheckSpelling</a></li> - - <li><a - href="core.html#clearmodulelist">ClearModuleList</a></li> - - <li><a href="core.html#contentdigest">ContentDigest</a></li> - - <li><a - href="mod_usertrack.html#cookiedomain">CookieDomain</a></li> - - <li><a - href="mod_usertrack.html#cookieexpires">CookieExpires</a></li> - - <li><a - href="mod_usertrack.html#cookieformat">CookieFormat</a></li> - - <li><a href="mod_cookies.html#cookielog">CookieLog</a> - (mod_cookies)</li> - - <li><a href="mod_log_config.html#cookielog">CookieLog</a> - (mod_log_config)</li> - - <li><a - href="mod_usertrack.html#cookieprefix">CookiePrefix</a></li> - - <li><a - href="mod_usertrack.html#cookiestyle">CookieStyle</a></li> - - <li><a - href="mod_usertrack.html#cookietracking">CookieTracking</a></li> - - <li><a - href="core.html#coredumpdirectory">CoreDumpDirectory</a></li> - - <li><a - href="mod_log_config.html#customlog">CustomLog</a></li> - - <li><a - href="mod_autoindex.html#defaulticon">DefaultIcon</a></li> - - <li><a - href="mod_mime.html#defaultlanguage">DefaultLanguage</a></li> - - <li><a href="core.html#defaulttype">DefaultType</a></li> - - <li><a href="mod_define.html#define">Define</a> - - <li><a href="mod_access.html#deny">Deny</a></li> - - <li><a href="core.html#directory"><Directory></a></li> - - <li><a - href="core.html#directorymatch"><DirectoryMatch></a></li> - - <li><a - href="mod_dir.html#directoryindex">DirectoryIndex</a></li> - - <li><a href="core.html#documentroot">DocumentRoot</a></li> - - <li><a href="core.html#ebcdicconvert">EBCDICConvert</a></li> - - <li><a - href="core.html#ebcdicconvertbytype">EBCDICConvertByType</a></li> - - <li><a href="core.html#ebcdickludge">EBCDICKludge</a></li> - - <li><a href="core.html#errordocument">ErrorDocument</a></li> - - <li><a href="mod_headers.html#errorheader">ErrorHeader</a></li> - - <li><a href="core.html#errorlog">ErrorLog</a></li> - - <li><a href="mod_example.html#example">Example</a></li> - - <li><a - href="mod_expires.html#expiresactive">ExpiresActive</a></li> - - <li><a - href="mod_expires.html#expiresbytype">ExpiresByType</a></li> - - <li><a - href="mod_expires.html#expiresdefault">ExpiresDefault</a></li> - - <li><a - href="mod_status.html#extendedstatus">ExtendedStatus</a></li> - - <li><a - href="mod_autoindex.html#fancyindexing">FancyIndexing</a></li> - - <li><a href="core.html#fileetag">FileETag</a></li> - - <li><a href="core.html#files"><Files></a></li> - - <li><a - href="core.html#filesmatch"><FilesMatch></a></li> - - <li><a href="mod_mime.html#forcetype">ForceType</a></li> - - <li><a href="core.html#group">Group</a></li> - - <li><a href="mod_headers.html#header">Header</a></li> - - <li><a - href="mod_autoindex.html#headername">HeaderName</a></li> - - <li><a - href="core.html#hostnamelookups">HostnameLookups</a></li> - - <li><a href="core.html#identitycheck">IdentityCheck</a></li> - - <li><a href="core.html#ifdefine"><IfDefine></a></li> - - <li><a href="core.html#ifmodule"><IfModule></a></li> - - <li><a href="mod_imap.html#imapbase">ImapBase</a></li> - - <li><a href="mod_imap.html#imapdefault">ImapDefault</a></li> - - <li><a href="mod_imap.html#imapmenu">ImapMenu</a></li> - - <li><a href="core.html#include">Include</a></li> - - <li><a - href="mod_autoindex.html#indexignore">IndexIgnore</a></li> - - <li><a - href="mod_autoindex.html#indexoptions">IndexOptions</a></li> - - <li><a - href="mod_autoindex.html#indexorderdefault">IndexOrderDefault</a></li> - - <li><a - href="mod_isapi.html#isapireadaheadbuffer">ISAPIReadAheadBuffer</a></li> - - <li><a - href="mod_isapi.html#isapilognotsupported">ISAPILogNotSupported</a></li> - - <li><a - href="mod_isapi.html#isapiappendlogtoerrors">ISAPIAppendLogToErrors</a></li> - - <li><a - href="mod_isapi.html#isapiappendlogtoquery">ISAPIAppendLogToQuery</a></li> - - <li><a href="core.html#keepalive">KeepAlive</a></li> - - <li><a - href="core.html#keepalivetimeout">KeepAliveTimeout</a></li> - - <li><a - href="mod_negotiation.html#languagepriority">LanguagePriority</a></li> - - <li><a href="core.html#limit"><Limit></a></li> - - <li><a - href="core.html#limitexcept"><LimitExcept></a></li> - - <li><a - href="core.html#limitinternalrecursion">LimitInternalRecursion</a></li> - - <li><a - href="core.html#limitrequestbody">LimitRequestBody</a></li> - - <li><a - href="core.html#limitrequestfields">LimitRequestFields</a></li> - - <li><a - href="core.html#limitrequestfieldsize">LimitRequestFieldsize</a></li> - - <li><a - href="core.html#limitrequestline">LimitRequestLine</a></li> - - <li><a href="core.html#listen">Listen</a></li> - - <li><a href="core.html#listenbacklog">ListenBacklog</a></li> - - <li><a href="mod_so.html#loadfile">LoadFile</a></li> - - <li><a href="mod_so.html#loadmodule">LoadModule</a></li> - - <li><a href="core.html#location"><Location></a></li> - - <li><a - href="core.html#locationmatch"><LocationMatch></a></li> - - <li><a href="core.html#lockfile">LockFile</a></li> - - <li><a - href="mod_log_config.html#logformat">LogFormat</a></li> - - <li><a href="core.html#loglevel">LogLevel</a></li> - - <li><a href="core.html#maxclients">MaxClients</a></li> - - <li><a - href="core.html#maxkeepaliverequests">MaxKeepAliveRequests</a></li> - - <li><a - href="core.html#maxrequestsperchild">MaxRequestsPerChild</a></li> - - <li><a - href="core.html#maxspareservers">MaxSpareServers</a></li> - - <li><a href="mod_cern_meta.html#metadir">MetaDir</a></li> - - <li><a href="mod_cern_meta.html#metafiles">MetaFiles</a></li> - - <li><a - href="mod_cern_meta.html#metasuffix">MetaSuffix</a></li> - - <li><a - href="mod_mime_magic.html#mimemagicfile">MimeMagicFile</a></li> - - <li><a - href="core.html#minspareservers">MinSpareServers</a></li> - - <li><a href="mod_mmap_static.html#mmapfile">MMapFile</a></li> - - <li><a - href="core.html#namevirtualhost">NameVirtualHost</a></li> - - <li><a href="mod_proxy.html#nocache">NoCache</a></li> - - <li><a href="core.html#options">Options</a></li> - - <li><a href="mod_access.html#order">Order</a></li> - - <li><a href="mod_env.html#passenv">PassEnv</a></li> - - <li><a href="core.html#pidfile">PidFile</a></li> - - <li><a href="core.html#port">Port</a></li> - - <li><a href="core.html#protocolreqcheck">ProtocolReqCheck</a></li> - - <li><a href="mod_proxy.html#proxyblock">ProxyBlock</a></li> - - <li><a href="mod_proxy.html#proxydomain">ProxyDomain</a></li> - - <li><a href="mod_proxy.html#proxypass">ProxyPass</a></li> - - <li><a - href="mod_proxy.html#proxypassreverse">ProxyPassReverse</a></li> - - <li><a - href="mod_proxy.html#proxyreceivebuffersize">ProxyReceiveBufferSize</a></li> - - <li><a href="mod_proxy.html#proxyremote">ProxyRemote</a></li> - - <li><a - href="mod_proxy.html#proxyrequests">ProxyRequests</a></li> - - <li><a href="mod_proxy.html#proxyvia">ProxyVia</a></li> - - <li><a - href="mod_autoindex.html#readmename">ReadmeName</a></li> - - <li><a href="mod_alias.html#redirect">Redirect</a></li> - - <li><a - href="mod_alias.html#redirectmatch">RedirectMatch</a></li> - - <li><a - href="mod_alias.html#redirectperm">RedirectPermanent</a></li> - - <li><a - href="mod_alias.html#redirecttemp">RedirectTemp</a></li> - - <li><a - href="mod_log_referer.html#refererignore">RefererIgnore</a></li> - - <li><a - href="mod_log_referer.html#refererlog">RefererLog</a></li> - - <li><a - href="mod_mime.html#removeencoding">RemoveEncoding</a></li> - - <li><a - href="mod_mime.html#removehandler">RemoveHandler</a></li> - - <li><a href="mod_mime.html#removetype">RemoveType</a></li> - - <li><a href="core.html#require">Require</a></li> - - <li><a - href="core.html#resourceconfig">ResourceConfig</a></li> - - <li><a - href="mod_rewrite.html#RewriteBase">RewriteBase</a></li> - - <li><a - href="mod_rewrite.html#RewriteCond">RewriteCond</a></li> - - <li><a - href="mod_rewrite.html#RewriteEngine">RewriteEngine</a></li> - - <li><a - href="mod_rewrite.html#RewriteLock">RewriteLock</a></li> - - <li><a href="mod_rewrite.html#RewriteLog">RewriteLog</a></li> - - <li><a - href="mod_rewrite.html#RewriteLogLevel">RewriteLogLevel</a></li> - - <li><a href="mod_rewrite.html#RewriteMap">RewriteMap</a></li> - - <li><a - href="mod_rewrite.html#RewriteOptions">RewriteOptions</a></li> - - <li><a - href="mod_rewrite.html#RewriteRule">RewriteRule</a></li> - - <li><a href="core.html#rlimitcpu">RLimitCPU</a></li> - - <li><a href="core.html#rlimitmem">RLimitMEM</a></li> - - <li><a href="core.html#rlimitnproc">RLimitNPROC</a></li> - - <li><a href="core.html#satisfy">Satisfy</a></li> - - <li><a - href="core.html#scoreboardfile">ScoreBoardFile</a></li> - - <li><a href="mod_actions.html#script">Script</a></li> - - <li><a href="mod_alias.html#scriptalias">ScriptAlias</a></li> - - <li><a - href="mod_alias.html#scriptaliasmatch">ScriptAliasMatch</a></li> - - <li><a - href="core.html#scriptinterpretersource">ScriptInterpreterSource</a></li> - - <li><a href="mod_cgi.html#scriptlog">ScriptLog</a></li> - - <li><a - href="mod_cgi.html#scriptlogbuffer">ScriptLogBuffer</a></li> - - <li><a - href="mod_cgi.html#scriptloglength">ScriptLogLength</a></li> - - <li><a - href="core.html#sendbuffersize">SendBufferSize</a></li> - - <li><a href="core.html#serveradmin">ServerAdmin</a></li> - - <li><a href="core.html#serveralias">ServerAlias</a></li> - - <li><a href="core.html#servername">ServerName</a></li> - - <li><a href="core.html#serverpath">ServerPath</a></li> - - <li><a href="core.html#serverroot">ServerRoot</a></li> - - <li><a - href="core.html#serversignature">ServerSignature</a></li> - - <li><a href="core.html#servertokens">ServerTokens</a></li> - - <li><a href="core.html#servertype">ServerType</a></li> - - <li><a href="mod_env.html#setenv">SetEnv</a></li> - - <li><a href="mod_setenvif.html#setenvif">SetEnvIf</a></li> - - <li><a - href="mod_setenvif.html#setenvifnocase">SetEnvIfNoCase</a></li> - - <li><a href="mod_mime.html#sethandler">SetHandler</a></li> - - <li><a href="core.html#shmemuidisuser">ShmemUIDisUser</a></li> - - <li><a href="mod_ssl/ssl_reference.html#SSLPassPhraseDialog">SSLPassPhraseDialog</a> - <li><a href="mod_ssl/ssl_reference.html#SSLMutex">SSLMutex</a> - <li><a href="mod_ssl/ssl_reference.html#SSLRandomSeed">SSLRandomSeed</a> - <li><a href="mod_ssl/ssl_reference.html#SSLSessionCache">SSLSessionCache</a> - <li><a href="mod_ssl/ssl_reference.html#SSLSessionCacheTimeout">SSLSessionCacheTimeout</a> - <li><a href="mod_ssl/ssl_reference.html#SSLEngine">SSLEngine</a> - <li><a href="mod_ssl/ssl_reference.html#SSLProtocol">SSLProtocol</a> - <li><a href="mod_ssl/ssl_reference.html#SSLCipherSuite">SSLCipherSuite</a> - <li><a href="mod_ssl/ssl_reference.html#SSLCertificateFile">SSLCertificateFile</a> - <li><a href="mod_ssl/ssl_reference.html#SSLCertificateKeyFile">SSLCertificateKeyFile</a> - <li><a href="mod_ssl/ssl_reference.html#SSLCACertificatePath">SSLCACertificatePath</a> - <li><a href="mod_ssl/ssl_reference.html#SSLCACertificateFile">SSLCACertificateFile</a> - <li><a href="mod_ssl/ssl_reference.html#SSLCARevocationPath">SSLCARevocationPath</a> - <li><a href="mod_ssl/ssl_reference.html#SSLCARevocationFile">SSLCARevocationFile</a> - <li><a href="mod_ssl/ssl_reference.html#SSLVerifyClient">SSLVerifyClient</a> - <li><a href="mod_ssl/ssl_reference.html#SSLVerifyDepth">SSLVerifyDepth</a> - <li><a href="mod_ssl/ssl_reference.html#SSLLog">SSLLog</a> - <li><a href="mod_ssl/ssl_reference.html#SSLLogLevel">SSLLogLevel</a> - <li><a href="mod_ssl/ssl_reference.html#SSLOptions">SSLOptions</a> - <li><a href="mod_ssl/ssl_reference.html#SSLRequireSSL">SSLRequireSSL</a> - <li><a href="mod_ssl/ssl_reference.html#SSLRequire">SSLRequire</a> - - <li><a href="core.html#startservers">StartServers</a></li> - - <li><a - href="core.html#threadsperchild">ThreadsPerChild</a></li> - - <li><a href="core.html#timeout">TimeOut</a></li> - - <li><a - href="mod_log_config.html#transferlog">TransferLog</a></li> - - <li><a href="mod_mime.html#typesconfig">TypesConfig</a></li> - - <li><a href="mod_env.html#unsetenv">UnsetEnv</a></li> - - <li><a - href="core.html#usecanonicalname">UseCanonicalName</a></li> - - <li><a href="core.html#user">User</a></li> - - <li><a href="mod_userdir.html#userdir">UserDir</a></li> - - <li><a - href="core.html#virtualhost"><VirtualHost></a></li> - - <li><a - href="mod_vhost_alias.html#virtualdocumentroot">VirtualDocumentRoot</a></li> - - <li><a - href="mod_vhost_alias.html#virtualdocumentrootip">VirtualDocumentRootIP</a></li> - - <li><a - href="mod_vhost_alias.html#virtualscriptalias">VirtualScriptAlias</a></li> - - <li><a - href="mod_vhost_alias.html#virtualscriptaliasip">VirtualScriptAliasIP</a></li> - - <li><a href="mod_include.html#xbithack">XBitHack</a></li> - </ul> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/directives.html.fr b/usr.sbin/httpd/htdocs/manual/mod/directives.html.fr deleted file mode 100644 index 9576f91168c..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/directives.html.fr +++ /dev/null @@ -1,580 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!--Traduction anglais 1.69 --> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /> - - <title>Directives Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Directives Apache</h1> - - <p>Chacune des directives Apache disponible dans la - distribution standard est listée ici. Elles sont - décrites selon un format précis, et nous - fournissons un <a href="directive-dict.html" - rel="Glossary">dictionnaire</a> des termes utilisés pour - leur description.</p> - - <ul> - <li><a href="core.html#acceptfilter">AcceptFilter</a></li> - - <li><a href="core.html#acceptmutex">AcceptMutex</a></li> - - <li><a href="core.html#accessconfig">AccessConfig</a></li> - - <li><a - href="core.html#accessfilename">AccessFileName</a></li> - - <li><a href="mod_actions.html#action">Action</a></li> - - <li><a href="mod_autoindex.html#addalt">AddAlt</a></li> - - <li><a - href="mod_autoindex.html#addaltbyencoding">AddAltByEncoding</a></li> - - <li><a - href="mod_autoindex.html#addaltbytype">AddAltByType</a></li> - - <li><a href="mod_mime.html#addcharset">AddCharset</a></li> - - <li><a - href="core.html#adddefaultcharset">AddDefaultCharset</a></li> - - <li><a - href="mod_autoindex.html#adddescription">AddDescription</a></li> - - <li><a href="mod_mime.html#addencoding">AddEncoding</a></li> - - <li><a href="mod_mime.html#addhandler">AddHandler</a></li> - - <li><a href="mod_autoindex.html#addicon">AddIcon</a></li> - - <li><a - href="mod_autoindex.html#addiconbyencoding">AddIconByEncoding</a></li> - - <li><a - href="mod_autoindex.html#addiconbytype">AddIconByType</a></li> - - <li><a href="mod_mime.html#addlanguage">AddLanguage</a></li> - - <li><a href="core.html#addmodule">AddModule</a></li> - - <li><a - href="mod_info.html#addmoduleinfo">AddModuleInfo</a></li> - - <li><a href="mod_mime.html#addtype">AddType</a></li> - - <li><a href="mod_log_agent.html#agentlog">AgentLog</a></li> - - <li><a href="mod_alias.html#alias">Alias</a></li> - - <li><a href="mod_alias.html#aliasmatch">AliasMatch</a></li> - - <li><a href="mod_access.html#allow">allow</a></li> - - <li><a - href="mod_proxy.html#allowconnect">AllowCONNECT</a></li> - - <li><a href="core.html#allowoverride">AllowOverride</a></li> - - <li><a href="mod_auth_anon.html#anonymous">Anonymous</a></li> - - <li><a - href="mod_auth_anon.html#Authoritative">Anonymous_Authoritative</a></li> - - <li><a - href="mod_auth_anon.html#LogEmail">Anonymous_LogEmail</a></li> - - <li><a - href="mod_auth_anon.html#MustGiveEmail">Anonymous_MustGiveEmail</a></li> - - <li><a - href="mod_auth_anon.html#NoUserID">Anonymous_NoUserID</a></li> - - <li><a - href="mod_auth_anon.html#VerifyEmail">Anonymous_VerifyEmail</a></li> - - <li><a - href="mod_auth.html#authauthoritative">AuthAuthoritative</a></li> - - <li><a - href="mod_auth_db.html#authdbauthoritative">AuthDBAuthoritative</a></li> - - <li><a - href="mod_auth_db.html#authdbgroupfile">AuthDBGroupFile</a></li> - - <li><a - href="mod_auth_dbm.html#authdbmauthoritative">AuthDBMAuthoritative</a></li> - - <li><a - href="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a></li> - - <li><a - href="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a></li> - - <li><a - href="mod_auth_db.html#authdbuserfile">AuthDBUserFile</a></li> - - <li><a - href="mod_auth_dbm.html#authdbmuserfile">AuthDBMUserFile</a></li> - - <li><a - href="mod_digest.html#authdigestfile">AuthDigestFile</a></li> - - <li><a - href="mod_auth.html#authgroupfile">AuthGroupFile</a></li> - - <li><a href="core.html#authname">AuthName</a></li> - - <li><a href="core.html#authtype">AuthType</a></li> - - <li><a - href="mod_auth.html#authuserfile">AuthUserFile</a></li> - - <li><a href="core.html#bindaddress">BindAddress</a></li> - - <li><a - href="mod_setenvif.html#browsermatch">BrowserMatch</a></li> - - <li><a - href="mod_setenvif.html#browsermatchnocase">BrowserMatchNoCase</a></li> - - <li><a href="core.html#bs2000account">BS2000Account</a></li> - - <li><a - href="mod_proxy.html#cachedefaultexpire">CacheDefaultExpire</a></li> - - <li><a - href="mod_proxy.html#cachedirlength">CacheDirLength</a></li> - - <li><a - href="mod_proxy.html#cachedirlevels">CacheDirLevels</a></li> - - <li><a - href="mod_proxy.html#cacheforcecompletion">CacheForceCompletion</a></li> - - <li><a - href="mod_proxy.html#cachegcinterval">CacheGcInterval</a></li> - - <li><a - href="mod_proxy.html#cachelastmodifiedfactor">CacheLastModifiedFactor</a></li> - - <li><a - href="mod_proxy.html#cachemaxexpire">CacheMaxExpire</a></li> - - <li><a - href="mod_negotiation.html#cachenegotiateddocs">CacheNegotiatedDocs</a></li> - - <li><a href="mod_proxy.html#cacheroot">CacheRoot</a></li> - - <li><a href="mod_proxy.html#cachesize">CacheSize</a></li> - - <li><a - href="mod_speling.html#checkspelling">CheckSpelling</a></li> - - <li><a - href="core.html#clearmodulelist">ClearModuleList</a></li> - - <li><a href="core.html#contentdigest">ContentDigest</a></li> - - <li><a - href="mod_usertrack.html#cookieexpires">CookieExpires</a></li> - - <li><a href="mod_cookies.html#cookielog">CookieLog</a> - (mod_cookies)</li> - - <li><a href="mod_log_config.html#cookielog">CookieLog</a> - (mod_log_config)</li> - - <li><a - href="mod_usertrack.html#cookietracking">CookieTracking</a></li> - - <li><a - href="core.html#coredumpdirectory">CoreDumpDirectory</a></li> - - <li><a - href="mod_log_config.html#customlog">CustomLog</a></li> - - <li><a - href="mod_autoindex.html#defaulticon">DefaultIcon</a></li> - - <li><a - href="mod_mime.html#defaultlanguage">DefaultLanguage</a></li> - - <li><a href="core.html#defaulttype">DefaultType</a></li> - - <li><a href="mod_access.html#deny">deny</a></li> - - <li><a href="core.html#directory"><Directory></a></li> - - <li><a - href="core.html#directorymatch"><DirectoryMatch></a></li> - - <li><a - href="mod_dir.html#directoryindex">DirectoryIndex</a></li> - - <li><a href="core.html#documentroot">DocumentRoot</a></li> - - <li><a href="core.html#ebcdicconvert">EBCDICConvert</a></li> - - <li><a - href="core.html#ebcdicconvertbytype">EBCDICConvertByType</a></li> - - <li><a href="core.html#ebcdickludge">EBCDICKludge</a></li> - - <li><a href="core.html#errordocument">ErrorDocument</a></li> - - <li><a href="core.html#errorlog">ErrorLog</a></li> - - <li><a href="mod_example.html#example">Example</a></li> - - <li><a - href="mod_expires.html#expiresactive">ExpiresActive</a></li> - - <li><a - href="mod_expires.html#expiresbytype">ExpiresByType</a></li> - - <li><a - href="mod_expires.html#expiresdefault">ExpiresDefault</a></li> - - <li><a - href="mod_status.html#extendedstatus">ExtendedStatus</a></li> - - <li><a - href="mod_autoindex.html#fancyindexing">FancyIndexing</a></li> - - <li><a href="core.html#files"><Files></a></li> - - <li><a - href="core.html#filesmatch"><FilesMatch></a></li> - - <li><a href="mod_mime.html#forcetype">ForceType</a></li> - - <li><a href="core.html#group">Group</a></li> - - <li><a href="mod_headers.html#header">Header</a></li> - - <li><a - href="mod_autoindex.html#headername">HeaderName</a></li> - - <li><a - href="core.html#hostnamelookups">HostNameLookups</a></li> - - <li><a href="core.html#identitycheck">IdentityCheck</a></li> - - <li><a href="core.html#ifdefine"><IfDefine></a></li> - - <li><a href="core.html#ifmodule"><IfModule></a></li> - - <li><a href="mod_imap.html#imapbase">ImapBase</a></li> - - <li><a href="mod_imap.html#imapdefault">ImapDefault</a></li> - - <li><a href="mod_imap.html#imapmenu">ImapMenu</a></li> - - <li><a href="core.html#include">Include</a></li> - - <li><a - href="mod_autoindex.html#indexignore">IndexIgnore</a></li> - - <li><a - href="mod_autoindex.html#indexoptions">IndexOptions</a></li> - - <li><a - href="mod_autoindex.html#indexorderdefault">IndexOrderDefault</a></li> - - <li><a - href="mod_isapi.html#isapireadaheadbuffer">ISAPIReadAheadBuffer</a></li> - - <li><a - href="mod_isapi.html#isapilognotsupported">ISAPILogNotSupported</a></li> - - <li><a - href="mod_isapi.html#isapiappendlogtoerrors">ISAPIAppendLogToErrors</a></li> - - <li><a - href="mod_isapi.html#isapiappendlogtoquery">ISAPIAppendLogToQuery</a></li> - - <li><a href="core.html#keepalive">KeepAlive</a></li> - - <li><a - href="core.html#keepalivetimeout">KeepAliveTimeout</a></li> - - <li><a - href="mod_negotiation.html#languagepriority">LanguagePriority</a></li> - - <li><a href="core.html#limit"><Limit></a></li> - - <li><a - href="core.html#limitexcept"><LimitExcept></a></li> - - <li><a - href="core.html#limitrequestbody">LimitRequestBody</a></li> - - <li><a - href="core.html#limitrequestfields">LimitRequestFields</a></li> - - <li><a - href="core.html#limitrequestfieldsize">LimitRequestFieldsize</a></li> - - <li><a - href="core.html#limitrequestline">LimitRequestLine</a></li> - - <li><a href="core.html#listen">Listen</a></li> - - <li><a href="core.html#listenbacklog">ListenBacklog</a></li> - - <li><a href="mod_so.html#loadfile">LoadFile</a></li> - - <li><a href="mod_so.html#loadmodule">LoadModule</a></li> - - <li><a href="core.html#location"><Location></a></li> - - <li><a - href="core.html#locationmatch"><LocationMatch></a></li> - - <li><a href="core.html#lockfile">LockFile</a></li> - - <li><a - href="mod_log_config.html#logformat">LogFormat</a></li> - - <li><a href="core.html#loglevel">LogLevel</a></li> - - <li><a href="core.html#maxclients">MaxClients</a></li> - - <li><a - href="core.html#maxkeepaliverequests">MaxKeepAliveRequests</a></li> - - <li><a - href="core.html#maxrequestsperchild">MaxRequestsPerChild</a></li> - - <li><a - href="core.html#maxspareservers">MaxSpareServers</a></li> - - <li><a href="mod_cern_meta.html#metadir">MetaDir</a></li> - - <li><a href="mod_cern_meta.html#metafiles">MetaFiles</a></li> - - <li><a - href="mod_cern_meta.html#metasuffix">MetaSuffix</a></li> - - <li><a - href="mod_mime_magic.html#mimemagicfile">MimeMagicFile</a></li> - - <li><a - href="core.html#minspareservers">MinSpareServers</a></li> - - <li><a href="mod_mmap_static.html#mmapfile">MMapFile</a></li> - - <li><a - href="core.html#namevirtualhost">NameVirtualHost</a></li> - - <li><a href="mod_proxy.html#nocache">NoCache</a></li> - - <li><a href="core.html#options">Options</a></li> - - <li><a href="mod_access.html#order">order</a></li> - - <li><a href="mod_env.html#passenv">PassEnv</a></li> - - <li><a href="core.html#pidfile">PidFile</a></li> - - <li><a href="core.html#port">Port</a></li> - - <li><a href="mod_proxy.html#proxyblock">ProxyBlock</a></li> - - <li><a href="mod_proxy.html#proxydomain">ProxyDomain</a></li> - - <li><a href="mod_proxy.html#proxypass">ProxyPass</a></li> - - <li><a - href="mod_proxy.html#proxypassreverse">ProxyPassReverse</a></li> - - <li><a - href="mod_proxy.html#proxyreceivebuffersize">ProxyReceiveBufferSize</a></li> - - <li><a href="mod_proxy.html#proxyremote">ProxyRemote</a></li> - - <li><a - href="mod_proxy.html#proxyrequests">ProxyRequests</a></li> - - <li><a href="mod_proxy.html#proxyvia">ProxyVia</a></li> - - <li><a - href="mod_autoindex.html#readmename">ReadmeName</a></li> - - <li><a href="mod_alias.html#redirect">Redirect</a></li> - - <li><a - href="mod_alias.html#redirectmatch">RedirectMatch</a></li> - - <li><a - href="mod_alias.html#redirectperm">RedirectPermanent</a></li> - - <li><a - href="mod_alias.html#redirecttemp">RedirectTemp</a></li> - - <li><a - href="mod_log_referer.html#refererignore">RefererIgnore</a></li> - - <li><a - href="mod_log_referer.html#refererlog">RefererLog</a></li> - - <li><a - href="mod_mime.html#removeencoding">RemoveEncoding</a></li> - - <li><a - href="mod_mime.html#removehandler">RemoveHandler</a></li> - - <li><a href="mod_mime.html#removetype">RemoveType</a></li> - - <li><a href="core.html#require">require</a></li> - - <li><a - href="core.html#resourceconfig">ResourceConfig</a></li> - - <li><a - href="mod_rewrite.html#RewriteBase">RewriteBase</a></li> - - <li><a - href="mod_rewrite.html#RewriteCond">RewriteCond</a></li> - - <li><a - href="mod_rewrite.html#RewriteEngine">RewriteEngine</a></li> - - <li><a - href="mod_rewrite.html#RewriteLock">RewriteLock</a></li> - - <li><a href="mod_rewrite.html#RewriteLog">RewriteLog</a></li> - - <li><a - href="mod_rewrite.html#RewriteLogLevel">RewriteLogLevel</a></li> - - <li><a href="mod_rewrite.html#RewriteMap">RewriteMap</a></li> - - <li><a - href="mod_rewrite.html#RewriteOptions">RewriteOptions</a></li> - - <li><a - href="mod_rewrite.html#RewriteRule">RewriteRule</a></li> - - <li><a href="core.html#rlimitcpu">RLimitCPU</a></li> - - <li><a href="core.html#rlimitmem">RLimitMEM</a></li> - - <li><a href="core.html#rlimitnproc">RLimitNPROC</a></li> - - <li><a href="core.html#satisfy">Satisfy</a></li> - - <li><a - href="core.html#scoreboardfile">ScoreBoardFile</a></li> - - <li><a href="mod_actions.html#script">Script</a></li> - - <li><a href="mod_alias.html#scriptalias">ScriptAlias</a></li> - - <li><a - href="mod_alias.html#scriptaliasmatch">ScriptAliasMatch</a></li> - - <li><a - href="core.html#scriptinterpretersource">ScriptInterpreterSource</a></li> - - <li><a href="mod_cgi.html#scriptlog">ScriptLog</a></li> - - <li><a - href="mod_cgi.html#scriptlogbuffer">ScriptLogBuffer</a></li> - - <li><a - href="mod_cgi.html#scriptloglength">ScriptLogLength</a></li> - - <li><a - href="core.html#sendbuffersize">SendBufferSize</a></li> - - <li><a href="core.html#serveradmin">ServerAdmin</a></li> - - <li><a href="core.html#serveralias">ServerAlias</a></li> - - <li><a href="core.html#servername">ServerName</a></li> - - <li><a href="core.html#serverpath">ServerPath</a></li> - - <li><a href="core.html#serverroot">ServerRoot</a></li> - - <li><a - href="core.html#serversignature">ServerSignature</a></li> - - <li><a href="core.html#servertokens">ServerTokens</a></li> - - <li><a href="core.html#servertype">ServerType</a></li> - - <li><a href="mod_env.html#setenv">SetEnv</a></li> - - <li><a href="mod_setenvif.html#setenvif">SetEnvIf</a></li> - - <li><a - href="mod_setenvif.html#setenvifnocase">SetEnvIfNoCase</a></li> - - <li><a href="mod_mime.html#sethandler">SetHandler</a></li> - - <li><a href="core.html#startservers">StartServers</a></li> - - <li><a - href="core.html#threadsperchild">ThreadsPerChild</a></li> - - <li><a href="core.html#timeout">TimeOut</a></li> - - <li><a - href="mod_log_config.html#transferlog">TransferLog</a></li> - - <li><a href="mod_mime.html#typesconfig">TypesConfig</a></li> - - <li><a href="mod_env.html#unsetenv">UnsetEnv</a></li> - - <li><a - href="core.html#usecanonicalname">UseCanonicalName</a></li> - - <li><a href="core.html#user">User</a></li> - - <li><a href="mod_userdir.html#userdir">UserDir</a></li> - - <li><a - href="core.html#virtualhost"><VirtualHost></a></li> - - <li><a - href="mod_vhost_alias.html#virtualdocumentroot">VirtualDocumentRoot</a></li> - - <li><a - href="mod_vhost_alias.html#virtualdocumentrootip">VirtualDocumentRootIP</a></li> - - <li><a - href="mod_vhost_alias.html#virtualscriptalias">VirtualScriptAlias</a></li> - - <li><a - href="mod_vhost_alias.html#virtualscriptaliasip">VirtualScriptAliasIP</a></li> - - <li><a href="mod_include.html#xbithack">XBitHack</a></li> - </ul> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/directives.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/directives.html.ja.jis deleted file mode 100644 index 24d9d5489d4..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/directives.html.ja.jis +++ /dev/null @@ -1,598 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache $B%G%#%l%/%F%#%V(B</title> - - </head> - <!-- English revision: 1.82 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Apache $B%G%#%l%/%F%#%V(B</h1> - - <p>$BDL>o$N(B Apache $BG[I[$K4^$^$l$k(B Apache $B$N%G%#%l%/%F%#%V$O!"(B - $B<!$N$h$&$K$J$j$^$9!#5-=R$K4X$9$k4pK\=q<0$K$D$$$F$O!"(B - $B$=$l$i$NM-8z$JI=5-$K4X$9$k(B <a href="directive-dict.html" - rel="glossary">$B<-=q(B</a> $B$,MQ0U$5$l$F$$$^$9!#(B - </p> - - <ul> - <li><a href="core.html#acceptfilter">AcceptFilter</a></li> - - <li><a href="core.html#acceptmutex">AcceptMutex</a></li> - - <li><a href="core.html#accessconfig">AccessConfig</a></li> - - <li><a href="core.html#accessfilename" - >AccessFileName</a></li> - - <li><a href="mod_actions.html#action">Action</a></li> - - <li><a href="mod_autoindex.html#addalt">AddAlt</a></li> - - <li><a href="mod_autoindex.html#addaltbyencoding" - >AddAltByEncoding</a></li> - - <li><a href="mod_autoindex.html#addaltbytype" - >AddAltByType</a></li> - - <li><a href="mod_mime.html#addcharset">AddCharset</a></li> - - <li><a href="core.html#adddefaultcharset" - >AddDefaultCharset</a></li> - - <li><a href="mod_autoindex.html#adddescription" - >AddDescription</a></li> - - <li><a href="mod_mime.html#addencoding">AddEncoding</a></li> - - <li><a href="mod_mime.html#addhandler">AddHandler</a></li> - - <li><a href="mod_autoindex.html#addicon">AddIcon</a></li> - - <li><a href="mod_autoindex.html#addiconbyencoding" - >AddIconByEncoding</a></li> - - <li><a href="mod_autoindex.html#addiconbytype" - >AddIconByType</a></li> - - <li><a href="mod_mime.html#addlanguage">AddLanguage</a></li> - - <li><a href="core.html#addmodule">AddModule</a></li> - - <li><a href="mod_info.html#addmoduleinfo" - >AddModuleInfo</a></li> - - <li><a href="mod_mime.html#addtype">AddType</a></li> - - <li><a href="mod_log_agent.html#agentlog">AgentLog</a></li> - - <li><a href="mod_alias.html#alias">Alias</a></li> - - <li><a href="mod_alias.html#aliasmatch">AliasMatch</a></li> - - <li><a href="mod_access.html#allow">Allow</a></li> - - <li><a href="mod_proxy.html#allowconnect" - >AllowCONNECT</a></li> - - <li><a href="core.html#allowoverride">AllowOverride</a></li> - - <li><a href="mod_auth_anon.html#anonymous">Anonymous</a></li> - - <li><a href="mod_auth_anon.html#authoritative" - >Anonymous_Authoritative</a></li> - - <li><a href="mod_auth_anon.html#logemail" - >Anonymous_LogEmail</a></li> - - <li><a href="mod_auth_anon.html#mustgiveemail" - >Anonymous_MustGiveEmail</a></li> - - <li><a href="mod_auth_anon.html#nouserid" - >Anonymous_NoUserID</a></li> - - <li><a href="mod_auth_anon.html#verifyemail" - >Anonymous_VerifyEmail</a></li> - - <li><a href="mod_auth.html#authauthoritative" - >AuthAuthoritative</a></li> - - <li><a href="mod_auth_db.html#authdbauthoritative" - >AuthDBAuthoritative</a></li> - - <li><a href="mod_auth_db.html#authdbgroupfile" - >AuthDBGroupFile</a></li> - - <li><a href="mod_auth_dbm.html#authdbmauthoritative" - >AuthDBMAuthoritative</a></li> - - <li><a href="mod_auth_dbm.html#authdbmgroupfile" - >AuthDBMGroupFile</a></li> - - <li><a href="mod_auth_dbm.html#authdbmgroupfile" - >AuthDBMGroupFile</a></li> - - <li><a href="mod_auth_db.html#authdbuserfile" - >AuthDBUserFile</a></li> - - <li><a href="mod_auth_dbm.html#authdbmuserfile" - >AuthDBMUserFile</a></li> - - <li><a href="mod_digest.html#authdigestfile" - >AuthDigestFile</a></li> - - <li><a href="mod_auth.html#authgroupfile" - >AuthGroupFile</a></li> - - <li><a href="core.html#authname">AuthName</a></li> - - <li><a href="core.html#authtype">AuthType</a></li> - - <li><a href="mod_auth.html#authuserfile" - >AuthUserFile</a></li> - - <li><a href="core.html#bindaddress">BindAddress</a></li> - - <li><a href="mod_setenvif.html#browsermatch" - >BrowserMatch</a></li> - - <li><a href="mod_setenvif.html#browsermatchnocase" - >BrowserMatchNoCase</a></li> - - <li><a href="core.html#bs2000account">BS2000Account</a></li> - - <li><a href="mod_proxy.html#cachedefaultexpire" - >CacheDefaultExpire</a></li> - - <li><a href="mod_proxy.html#cachedirlength" - >CacheDirLength</a></li> - - <li><a href="mod_proxy.html#cachedirlevels" - >CacheDirLevels</a></li> - - <li><a href="mod_proxy.html#cacheforcecompletion" - >CacheForceCompletion</a></li> - - <li><a href="mod_proxy.html#cachegcinterval" - >CacheGcInterval</a></li> - - <li><a href="mod_proxy.html#cachelastmodifiedfactor" - >CacheLastModifiedFactor</a></li> - - <li><a href="mod_proxy.html#cachemaxexpire" - >CacheMaxExpire</a></li> - - <li><a href="mod_negotiation.html#cachenegotiateddocs" - >CacheNegotiatedDocs</a></li> - - <li><a href="mod_proxy.html#cacheroot">CacheRoot</a></li> - - <li><a href="mod_proxy.html#cachesize">CacheSize</a></li> - - <li><a href="core.html#cgicommandargs">CGICommandArgs</a></li> - - <li><a href="mod_speling.html#checkspelling" - >CheckSpelling</a></li> - - <li><a href="core.html#clearmodulelist" - >ClearModuleList</a></li> - - <li><a href="core.html#contentdigest">ContentDigest</a></li> - - <li><a href="mod_usertrack.html#cookiedomain">CookieDomain</a></li> - - <li><a href="mod_usertrack.html#cookieexpires" - >CookieExpires</a></li> - - <li><a - href="mod_usertrack.html#cookieformat">CookieFormat</a></li> - - <li><a href="mod_cookies.html#cookielog">CookieLog</a> - (mod_cookies)</li> - - <li><a href="mod_log_config.html#cookielog">CookieLog</a> - (mod_log_config)</li> - - <li><a - href="mod_usertrack.html#cookieprefix">CookiePrefix</a></li> - - <li><a href="mod_usertrack.html#cookiestyle">CookieStyle</a></li> - - <li><a href="mod_usertrack.html#cookietracking" - >CookieTracking</a></li> - - <li><a href="core.html#coredumpdirectory" - >CoreDumpDirectory</a></li> - - <li><a href="mod_log_config.html#customlog" - >CustomLog</a></li> - - <li><a href="mod_autoindex.html#defaulticon" - >DefaultIcon</a></li> - - <li><a href="mod_mime.html#defaultlanguage" - >DefaultLanguage</a></li> - - <li><a href="core.html#defaulttype">DefaultType</a></li> - - <li><a href="mod_access.html#deny">Deny</a></li> - - <li><a href="core.html#directory"><Directory></a></li> - - <li><a href="core.html#directorymatch" - ><DirectoryMatch></a></li> - - <li><a href="mod_dir.html#directoryindex" - >DirectoryIndex</a></li> - - <li><a href="core.html#documentroot">DocumentRoot</a></li> - - <li><a href="core.html#ebcdicconvert">EBCDICConvert</a></li> - - <li><a - href="core.html#ebcdicconvertbytype">EBCDICConvertByType</a></li> - - <li><a href="core.html#ebcdickludge">EBCDICKludge</a></li> - - <li><a href="core.html#errordocument">ErrorDocument</a></li> - - <li><a href="mod_headers.html#errorheader">ErrorHeader</a></li> - - <li><a href="core.html#errorlog">ErrorLog</a></li> - - <li><a href="mod_example.html#example">Example</a></li> - - <li><a href="mod_expires.html#expiresactive" - >ExpiresActive</a></li> - - <li><a href="mod_expires.html#expiresbytype" - >ExpiresByType</a></li> - - <li><a href="mod_expires.html#expiresdefault" - >ExpiresDefault</a></li> - - <li><a href="mod_status.html#extendedstatus" - >ExtendedStatus</a></li> - - <li><a href="mod_autoindex.html#fancyindexing" - >FancyIndexing</a></li> - - <li><a href="core.html#fileetag">FileETag</a></li> - - <li><a href="core.html#files"><Files></a></li> - - <li><a href="core.html#filesmatch" - ><FilesMatch></a></li> - - <li><a href="mod_mime.html#forcetype">ForceType</a></li> - - <li><a href="core.html#group">Group</a></li> - - <li><a href="mod_headers.html#header">Header</a></li> - - <li><a href="mod_autoindex.html#headername" - >HeaderName</a></li> - - <li><a href="core.html#hostnamelookups" - >HostnameLookups</a></li> - - <li><a href="core.html#identitycheck">IdentityCheck</a></li> - - <li><a href="core.html#ifdefine"><IfDefine></a></li> - - <li><a href="core.html#ifmodule"><IfModule></a></li> - - <li><a href="mod_imap.html#imapbase">ImapBase</a></li> - - <li><a href="mod_imap.html#imapdefault">ImapDefault</a></li> - - <li><a href="mod_imap.html#imapmenu">ImapMenu</a></li> - - <li><a href="core.html#include">Include</a></li> - - <li><a href="mod_autoindex.html#indexignore" - >IndexIgnore</a></li> - - <li><a href="mod_autoindex.html#indexoptions" - >IndexOptions</a></li> - - <li><a href="mod_autoindex.html#indexorderdefault" - >IndexOrderDefault</a></li> - - <li><a href="mod_isapi.html#isapireadaheadbuffer" - >ISAPIReadAheadBuffer</a></li> - - <li><a href="mod_isapi.html#isapilognotsupported" - >ISAPILogNotSupported</a></li> - - <li><a href="mod_isapi.html#isapiappendlogtoerrors" - >ISAPIAppendLogToErrors</a></li> - - <li><a href="mod_isapi.html#isapiappendlogtoquery" - >ISAPIAppendLogToQuery</a></li> - - <li><a href="core.html#keepalive">KeepAlive</a></li> - - <li><a href="core.html#keepalivetimeout" - >KeepAliveTimeout</a></li> - - <li><a href="mod_negotiation.html#languagepriority" - >LanguagePriority</a></li> - - <li><a href="core.html#limit"><Limit></a></li> - - <li><a href="core.html#limitexcept" - ><LimitExcept></a></li> - - <li><a href="core.html#limitinternalrecursion" - >LimitInternalRecursion</a></li> - - <li><a href="core.html#limitrequestbody" - >LimitRequestBody</a></li> - - <li><a href="core.html#limitrequestfields" - >LimitRequestFields</a></li> - - <li><a href="core.html#limitrequestfieldsize" - >LimitRequestFieldsize</a></li> - - <li><a href="core.html#limitrequestline" - >LimitRequestLine</a></li> - - <li><a href="core.html#listen">Listen</a></li> - - <li><a href="core.html#listenbacklog">ListenBacklog</a></li> - - <li><a href="mod_so.html#loadfile">LoadFile</a></li> - - <li><a href="mod_so.html#loadmodule">LoadModule</a></li> - - <li><a href="core.html#location"><Location></a></li> - - <li><a href="core.html#locationmatch" - ><LocationMatch></a></li> - - <li><a href="core.html#lockfile">LockFile</a></li> - - <li><a href="mod_log_config.html#logformat" - >LogFormat</a></li> - - <li><a href="core.html#loglevel">LogLevel</a></li> - - <li><a href="core.html#maxclients">MaxClients</a></li> - - <li><a href="core.html#maxkeepaliverequests" - >MaxKeepAliveRequests</a></li> - - <li><a href="core.html#maxrequestsperchild" - >MaxRequestsPerChild</a></li> - - <li><a href="core.html#maxspareservers" - >MaxSpareServers</a></li> - - <li><a href="mod_cern_meta.html#metadir">MetaDir</a></li> - - <li><a href="mod_cern_meta.html#metafiles">MetaFiles</a></li> - - <li><a href="mod_cern_meta.html#metasuffix" - >MetaSuffix</a></li> - - <li><a href="mod_mime_magic.html#mimemagicfile" - >MimeMagicFile</a></li> - - <li><a href="core.html#minspareservers" - >MinSpareServers</a></li> - - <li><a href="mod_mmap_static.html#mmapfile">MMapFile</a></li> - - <li><a href="core.html#namevirtualhost" - >NameVirtualHost</a></li> - - <li><a href="mod_proxy.html#nocache">NoCache</a></li> - - <li><a href="core.html#options">Options</a></li> - - <li><a href="mod_access.html#order">Order</a></li> - - <li><a href="mod_env.html#passenv">PassEnv</a></li> - - <li><a href="core.html#pidfile">PidFile</a></li> - - <li><a href="core.html#port">Port</a></li> - - <li><a href="core.html#protocolreqcheck">ProtocolReqCheck</a></li> - - <li><a href="mod_proxy.html#proxyblock">ProxyBlock</a></li> - - <li><a href="mod_proxy.html#proxydomain">ProxyDomain</a></li> - - <li><a href="mod_proxy.html#proxypass">ProxyPass</a></li> - - <li><a href="mod_proxy.html#proxypassreverse" - >ProxyPassReverse</a></li> - - <li><a href="mod_proxy.html#proxyreceivebuffersize" - >ProxyReceiveBufferSize</a></li> - - <li><a href="mod_proxy.html#proxyremote">ProxyRemote</a></li> - - <li><a href="mod_proxy.html#proxyrequests" - >ProxyRequests</a></li> - - <li><a href="mod_proxy.html#proxyvia">ProxyVia</a></li> - - <li><a href="mod_autoindex.html#readmename" - >ReadmeName</a></li> - - <li><a href="mod_alias.html#redirect">Redirect</a></li> - - <li><a href="mod_alias.html#redirectmatch" - >RedirectMatch</a></li> - - <li><a href="mod_alias.html#redirectperm" - >RedirectPermanent</a></li> - - <li><a href="mod_alias.html#redirecttemp" - >RedirectTemp</a></li> - - <li><a href="mod_log_referer.html#refererignore" - >RefererIgnore</a></li> - - <li><a href="mod_log_referer.html#refererlog" - >RefererLog</a></li> - - <li><a href="mod_mime.html#removeencoding" - >RemoveEncoding</a></li> - - <li><a href="mod_mime.html#removehandler" - >RemoveHandler</a></li> - - <li><a href="mod_mime.html#removetype">RemoveType</a></li> - - <li><a href="core.html#require">Require</a></li> - - <li><a href="core.html#resourceconfig" - >ResourceConfig</a></li> - - <li><a href="mod_rewrite.html#rewritebase" - >RewriteBase</a></li> - - <li><a href="mod_rewrite.html#rewritecond" - >RewriteCond</a></li> - - <li><a href="mod_rewrite.html#rewriteengine" - >RewriteEngine</a></li> - - <li><a href="mod_rewrite.html#rewritelock" - >RewriteLock</a></li> - - <li><a href="mod_rewrite.html#rewritelog">RewriteLog</a></li> - - <li><a href="mod_rewrite.html#rewriteloglevel" - >RewriteLogLevel</a></li> - - <li><a href="mod_rewrite.html#rewritemap">RewriteMap</a></li> - - <li><a href="mod_rewrite.html#rewriteoptions" - >RewriteOptions</a></li> - - <li><a href="mod_rewrite.html#rewriterule" - >RewriteRule</a></li> - - <li><a href="core.html#rlimitcpu">RLimitCPU</a></li> - - <li><a href="core.html#rlimitmem">RLimitMEM</a></li> - - <li><a href="core.html#rlimitnproc">RLimitNPROC</a></li> - - <li><a href="core.html#satisfy">Satisfy</a></li> - - <li><a href="core.html#scoreboardfile" - >ScoreBoardFile</a></li> - - <li><a href="mod_actions.html#script">Script</a></li> - - <li><a href="mod_alias.html#scriptalias">ScriptAlias</a></li> - - <li><a href="mod_alias.html#scriptaliasmatch" - >ScriptAliasMatch</a></li> - - <li><a href="core.html#scriptinterpretersource" - >ScriptInterpreterSource</a></li> - - <li><a href="mod_cgi.html#scriptlog">ScriptLog</a></li> - - <li><a href="mod_cgi.html#scriptlogbuffer" - >ScriptLogBuffer</a></li> - - <li><a href="mod_cgi.html#scriptloglength" - >ScriptLogLength</a></li> - - <li><a href="core.html#sendbuffersize" - >SendBufferSize</a></li> - - <li><a href="core.html#serveradmin">ServerAdmin</a></li> - - <li><a href="core.html#serveralias">ServerAlias</a></li> - - <li><a href="core.html#servername">ServerName</a></li> - - <li><a href="core.html#serverpath">ServerPath</a></li> - - <li><a href="core.html#serverroot">ServerRoot</a></li> - - <li><a href="core.html#serversignature" - >ServerSignature</a></li> - - <li><a href="core.html#servertokens">ServerTokens</a></li> - - <li><a href="core.html#servertype">ServerType</a></li> - - <li><a href="mod_env.html#setenv">SetEnv</a></li> - - <li><a href="mod_setenvif.html#setenvif">SetEnvIf</a></li> - - <li><a href="mod_setenvif.html#setenvifnocase" - >SetEnvIfNoCase</a></li> - - <li><a href="mod_mime.html#sethandler">SetHandler</a></li> - - <li><a href="core.html#shmemuidisuser">ShmemUIDisUser</a></li> - - <li><a href="core.html#startservers">StartServers</a></li> - - <li><a href="core.html#threadsperchild" - >ThreadsPerChild</a></li> - - <li><a href="core.html#timeout">TimeOut</a></li> - - <li><a href="mod_log_config.html#transferlog" - >TransferLog</a></li> - - <li><a href="mod_mime.html#typesconfig">TypesConfig</a></li> - - <li><a href="mod_env.html#unsetenv">UnsetEnv</a></li> - - <li><a href="core.html#usecanonicalname" - >UseCanonicalName</a></li> - - <li><a href="core.html#user">User</a></li> - - <li><a href="mod_userdir.html#userdir">UserDir</a></li> - - <li><a href="core.html#virtualhost" - ><VirtualHost></a></li> - - <li><a href="mod_vhost_alias.html#virtualdocumentroot" - >VirtualDocumentRoot</a></li> - - <li><a href="mod_vhost_alias.html#virtualdocumentrootip" - >VirtualDocumentRootIP</a></li> - - <li><a href="mod_vhost_alias.html#virtualscriptalias" - >VirtualScriptAlias</a></li> - - <li><a href="mod_vhost_alias.html#virtualscriptaliasip" - >VirtualScriptAliasIP</a></li> - - <li><a href="mod_include.html#xbithack">XBitHack</a></li> - </ul> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/index-bytype.html.en b/usr.sbin/httpd/htdocs/manual/mod/index-bytype.html.en deleted file mode 100644 index b211f866f46..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/index-bytype.html.en +++ /dev/null @@ -1,308 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache modules</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Apache modules</h1> - - <p>Below is a list of all of the modules that come as part of - the Apache distribution. See also the list of modules <a - href="./">sorted alphabetically</a> and the complete - alphabetical list of <a href="directives.html">all Apache - directives</a>. For modules that are not part of the Apache - distribution, please see <a - href="http://modules.apache.org/">http://modules.apache.org</a>.</p> - - <h2>Core</h2> - - <dl> - <dt><a href="core.html">Core</a></dt> - - <dd>Core Apache features</dd> - </dl> - - <h2>Environment Creation</h2> - - <dl> - <dt><a href="mod_env.html">mod_env</a></dt> - - <dd>Passing of environments to CGI scripts</dd> - - <dt><a href="mod_setenvif.html">mod_setenvif</a> Apache 1.3 - and up</dt> - - <dd>Set environment variables based on client - information</dd> - - <dt><a href="mod_unique_id.html">mod_unique_id</a> Apache 1.3 - and up</dt> - - <dd>Generate unique request identifier for every request</dd> - </dl> - - <h2>Content Type Decisions</h2> - - <dl> - <dt><a href="mod_mime.html">mod_mime</a></dt> - - <dd>Determining document types using file extensions</dd> - - <dt><a href="mod_mime_magic.html">mod_mime_magic</a></dt> - - <dd>Determining document types using "magic numbers"</dd> - - <dt><a href="mod_negotiation.html">mod_negotiation</a></dt> - - <dd>Content negotiation</dd> - </dl> - - <h2>URL Mapping</h2> - - <dl> - <dt><a href="mod_alias.html">mod_alias</a></dt> - - <dd>Mapping different parts of the host filesystem in the - document tree, and URL redirection</dd> - - <dt><a href="mod_rewrite.html">mod_rewrite</a> Apache 1.2 and - up</dt> - - <dd>Powerful URI-to-filename mapping using regular - expressions</dd> - - <dt><a href="mod_userdir.html">mod_userdir</a></dt> - - <dd>User home directories</dd> - - <dt><a href="mod_speling.html">mod_speling</a> Apache 1.3 and - up</dt> - - <dd>Automatically correct minor typos in URLs</dd> - - <dt><a href="mod_vhost_alias.html">mod_vhost_alias</a> Apache - 1.3.7 and up</dt> - - <dd>Support for dynamically configured mass virtual - hosting</dd> - </dl> - - <h2>Directory Handling</h2> - - <dl> - <dt><a href="mod_dir.html">mod_dir</a></dt> - - <dd>Basic directory handling</dd> - - <dt><a href="mod_autoindex.html">mod_autoindex</a></dt> - - <dd>Automatic directory listings</dd> - </dl> - - <h2>Access Control</h2> - - <dl> - <dt><a href="mod_access.html">mod_access</a></dt> - - <dd>Access control based on client hostname or IP - address</dd> - - <dt><a href="mod_auth.html">mod_auth</a></dt> - - <dd>User authentication using text files</dd> - - <dt><a href="mod_auth_dbm.html">mod_auth_dbm</a></dt> - - <dd>User authentication using DBM files</dd> - - <dt><a href="mod_auth_db.html">mod_auth_db</a></dt> - - <dd>User authentication using Berkeley DB files</dd> - - <dt><a href="mod_auth_anon.html">mod_auth_anon</a> Apache 1.1 - and up</dt> - - <dd>Anonymous user access to authenticated areas</dd> - - <dt><a href="mod_auth_digest.html">mod_auth_digest</a> Apache - 1.3.8 and up</dt> - - <dd>Experimental MD5 authentication</dd> - - <dt><a href="mod_digest.html">mod_digest</a> Apache 1.1 and - up</dt> - - <dd>MD5 authentication</dd> - </dl> - - <h2>HTTP Response</h2> - - <dl> - <dt><a href="mod_headers.html">mod_headers</a> Apache 1.2 and - up</dt> - - <dd>Add arbitrary HTTP headers to resources</dd> - - <dt><a href="mod_cern_meta.html">mod_cern_meta</a> Apache 1.1 - and up</dt> - - <dd>Support for HTTP header metafiles</dd> - - <dt><a href="mod_expires.html">mod_expires</a> Apache 1.2 and - up</dt> - - <dd>Apply Expires: headers to resources</dd> - - <dt><a href="mod_asis.html">mod_asis</a></dt> - - <dd>Sending files which contain their own HTTP headers</dd> - </dl> - - <h2>Dynamic Content</h2> - - <dl> - <dt><a href="mod_include.html">mod_include</a></dt> - - <dd>Server-parsed documents</dd> - - <dt><a href="mod_cgi.html">mod_cgi</a></dt> - - <dd>Invoking CGI scripts</dd> - - <dt><a href="mod_actions.html">mod_actions</a> Apache 1.1 and - up</dt> - - <dd>Executing CGI scripts based on media type or request - method</dd> - - <dt><a href="mod_isapi.html">mod_isapi</a> WIN32 only</dt> - - <dd>Windows ISAPI Extension support</dd> - </dl> - - <h2>Internal Content Handlers</h2> - - <dl> - <dt><a href="mod_status.html">mod_status</a> Apache 1.1 and - up</dt> - - <dd>Server status display</dd> - - <dt><a href="mod_info.html">mod_info</a> Apache 1.1 and - up</dt> - - <dd>Server configuration information</dd> - </dl> - - <h2>Logging</h2> - - <dl> - <dt><a href="mod_log_config.html">mod_log_config</a></dt> - - <dd>User-configurable logging replacement for - mod_log_common</dd> - - <dt><a href="mod_log_agent.html">mod_log_agent</a></dt> - - <dd>Logging of User Agents</dd> - - <dt><a href="mod_log_referer.html">mod_log_referer</a></dt> - - <dd>Logging of document references</dd> - - <dt><a href="mod_usertrack.html">mod_usertrack</a> Apache 1.2 - and up</dt> - - <dd>User tracking using Cookies (replacement for - mod_cookies.c)</dd> - </dl> - - <h2>Miscellaneous</h2> - - <dl> - <dt><a href="mod_imap.html">mod_imap</a> Apache 1.1 and - up</dt> - - <dd>The imagemap file handler</dd> - - <dt><a href="mod_proxy.html">mod_proxy</a> Apache 1.1 and - up</dt> - - <dd>Caching proxy abilities</dd> - - <dt><a href="mod_so.html">mod_so</a> Apache 1.3 and up</dt> - - <dd>Support for loading modules (DLLs on Windows) at - runtime</dd> - - <dt><a href="mod_mmap_static.html">mod_mmap_static</a> Apache - 1.3 and up</dt> - - <dd>Experimental file caching, mapping files into memory to - improve performace</dd> - - <dt><a href="mod_ssl/index.html">mod_ssl</a> Apache 1.3 with mod_ssl - applied</dt> - - <dd>Apache SSL interface to OpenSSL</dd> - </dl> - - <h2>Development</h2> - - <dl> - <dt><a href="mod_example.html">mod_example</a> Apache 1.2 and - up</dt> - - <dd>Demonstrates Apache API</dd> - </dl> - - <h2>Obsolete</h2> - - <dl> - <dt><a href="mod_browser.html">mod_browser</a> Apache 1.2.* - only</dt> - - <dd>Set environment variables based on User-Agent strings. - Replaced by mod_setenvif in Apache 1.3 and up</dd> - - <dt><a href="mod_cookies.html">mod_cookies</a> up to Apache - 1.1.1</dt> - - <dd>Support for Netscape-like cookies. Replaced in Apache 1.2 - by mod_usertrack</dd> - - <dt><a href="mod_dld.html">mod_dld</a> Apache 1.2.* and - earlier</dt> - - <dd>Start-time linking with the GNU libdld. Replaced in - Apache 1.3 by mod_so</dd> - - <dt><a href="mod_log_common.html">mod_log_common</a> up to - Apache 1.1.1</dt> - - <dd>Standard logging in the Common Logfile Format. Replaced - by the mod_log_config module in Apache 1.2 and up</dd> - </dl> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/index-bytype.html.fr b/usr.sbin/httpd/htdocs/manual/mod/index-bytype.html.fr deleted file mode 100644 index f8542681efa..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/index-bytype.html.fr +++ /dev/null @@ -1,329 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!-- Traduction anglais 1.11 --> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /> - - <title>Modules Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Modules Apache</h1> - - <p>Ci dessous est donnée une liste des modules faisant - partie de la distribution Apache. Voir aussi la liste des - modules <a href="./">triés alphabétiquement</a> - et la liste complète alphabétique de <a - href="directives.html">toutes les directives d'Apache</a>. Pour - les modules d'Apache qui ne font pas partie de la distribution, - vous pouvez consulter <a - href="http://modules.apache.org/">http://modules.apache.org</a></p> - - <h2>Base</h2> - - <dl> - <dt><a href="core.html">Base</a></dt> - - <dd>Fonctionnalités de base d'Apache</dd> - </dl> - - <h2>Création de l'environnement</h2> - - <dl> - <dt><a href="mod_env.html">mod_env</a> Apache 1.1 et - supérieur</dt> - - <dd>Passage d'environnement aux scripts CGI</dd> - - <dt><a href="mod_setenvif.html">mod_setenvif</a> Apache 1.3 - et supérieur</dt> - - <dd>Définition de variables d'environnement en - fonction des informations client</dd> - - <dt><a href="mod_unique_id.html">mod_unique_id</a> Apache 1.3 - et supérieur</dt> - - <dd>Génération d'identifiants uniques de - requête</dd> - </dl> - - <h2>Gestion du type de contenu</h2> - - <dl> - <dt><a href="mod_mime.html">mod_mime</a></dt> - - <dd>Détermination du type des documents en fonction de - l'extension du fichier</dd> - - <dt><a href="mod_mime_magic.html">mod_mime_magic</a></dt> - - <dd>Détermination du type des documents en fonction de - "nombres magiques"</dd> - - <dt><a href="mod_negotiation.html">mod_negotiation</a></dt> - - <dd>Négotiation de contenu</dd> - </dl> - - <h2>Transformation d'URL</h2> - - <dl> - <dt><a href="mod_alias.html">mod_alias</a></dt> - - <dd>Association de différentes parties du - système de fichier de l'hôte dans l'arborescence - des documents, et redirection des URL.</dd> - - <dt><a href="mod_rewrite.html">mod_rewrite</a> Apache 1.2 et - supérieur</dt> - - <dd>Association des URI à des fichiers en utilisant - des expressions régulières</dd> - - <dt><a href="mod_userdir.html">mod_userdir</a></dt> - - <dd>Répertoires personnels d'utilisateurs</dd> - - <dt><a href="mod_speling.html">mod_speling</a> Apache 1.3 et - supérieur</dt> - - <dd>Correction automatique d'erreurs de frappe mineures dans - les URL</dd> - - <dt><a href="mod_vhost_alias.html">mod_vhost_alias</a> Apache - 1.3.7 et supérieur</dt> - - <dd>Support d'hôtes virtuels dynamiquement - configurables</dd> - </dl> - - <h2>Gestion des répertoires</h2> - - <dl> - <dt><a href="mod_dir.html">mod_dir</a></dt> - - <dd>Gestion de base des répertoires</dd> - - <dt><a href="mod_autoindex.html">mod_autoindex</a></dt> - - <dd>Création automatique des listes des - répertoires</dd> - </dl> - - <h2>Contrôle d'accès</h2> - - <dl> - <dt><a href="mod_access.html">mod_access</a></dt> - - <dd>Contrôle d'accès basé sur le nom du - client ou son adresse IP</dd> - - <dt><a href="mod_auth.html">mod_auth</a></dt> - - <dd>Authentification des utilisateurs à partir d'un - fichier texte</dd> - - <dt><a href="mod_auth_dbm.html">mod_auth_dbm</a></dt> - - <dd>Authentification des utilisateurs à partir d'un - fichier DBM</dd> - - <dt><a href="mod_auth_db.html">mod_auth_db</a> Apache 1.1 and - up</dt> - - <dd>Authentification des utilisateurs à partir d'une - base Berkeley</dd> - - <dt><a href="mod_auth_anon.html">mod_auth_anon</a> Apache 1.1 - et supérieur</dt> - - <dd>Accès aux utilisateurs anonymes à des zones - authentifiées</dd> - - <dt><a href="mod_auth_digest.html">mod_auth_digest</a> Apache - 1.3.8 et supérieur</dt> - - <dd>Authentication des utilisateurs à partir d'un - fichier MD5 (expérimental)</dd> - - <dt><a href="mod_digest.html">mod_digest</a> Apache 1.1 et - supérieur</dt> - - <dd>Authentication des utilisateurs à partir d'un - fichier MD5</dd> - </dl> - - <h2>Réponse HTTP</h2> - - <dl> - <dt><a href="mod_headers.html">mod_headers</a> Apache 1.2 et - supérieur</dt> - - <dd>Ajout d'en-têtes HTTP aux ressources</dd> - - <dt><a href="mod_cern_meta.html">mod_cern_meta</a> Apache 1.1 - et supérieur</dt> - - <dd>Support des métafichiers d'en-tête HTTP</dd> - - <dt><a href="mod_expires.html">mod_expires</a> Apache 1.2 et - supérieur</dt> - - <dd>Ajout de l'en-tête Expires: pour les ressources - demandées</dd> - - <dt><a href="mod_asis.html">mod_asis</a></dt> - - <dd>Envoi de fichiers contenant leurs propres en-têtes - HTTP</dd> - </dl> - - <h2>Contenu dynamique</h2> - - <dl> - <dt><a href="mod_include.html">mod_include</a></dt> - - <dd>Documents analysés par le serveur</dd> - - <dt><a href="mod_cgi.html">mod_cgi</a></dt> - - <dd>Appel des scripts CGI</dd> - - <dt><a href="mod_actions.html">mod_actions</a> Apache 1.1 et - supérieur</dt> - - <dd>Exécution de scripts CGI en fonction du type de - média ou de la requête</dd> - - <dt><a href="mod_isapi.html">mod_isapi</a> WIN32 - seulement</dt> - - <dd>Support des extensions Windows ISAPI</dd> - </dl> - - <h2>Gestion du contenu interne</h2> - - <dl> - <dt><a href="mod_status.html">mod_status</a> Apache 1.1 et - supérieur</dt> - - <dd>Affichage de l'état du système</dd> - - <dt><a href="mod_info.html">mod_info</a> Apache 1.1 et - supérieur</dt> - - <dd>Informations sur la configuration du serveur</dd> - </dl> - - <h2>Trace</h2> - - <dl> - <dt><a href="mod_log_config.html">mod_log_config</a></dt> - - <dd>Trace configurable des accès. Remplace - mod_log_common</dd> - - <dt><a href="mod_log_agent.html">mod_log_agent</a></dt> - - <dd>Trace des User Agents</dd> - - <dt><a href="mod_log_referer.html">mod_log_referer</a></dt> - - <dd>Trace des référence d'un document</dd> - - <dt><a href="mod_usertrack.html">mod_usertrack</a> Apache 1.2 - et supérieur</dt> - - <dd>Suivi des utilisateurs à l'aide de cookies - (remplacement de mod_cookies)</dd> - </dl> - - <h2>Divers</h2> - - <dl> - <dt><a href="mod_imap.html">mod_imap</a> Apache 1.1 et - supérieur</dt> - - <dd>Gestion des fichiers imagemap</dd> - - <dt><a href="mod_proxy.html">mod_proxy</a> Apache 1.1 et - supérieur</dt> - - <dd>Module de cache par proxy</dd> - - <dt><a href="mod_so.html">mod_so</a> Apache 1.3 et - supérieur</dt> - - <dd>Support des modules dynamiques (.so sur Unix, .dll sur - Win32)</dd> - - <dt><a href="mod_mmap_static.html">mod_mmap_static</a> Apache - 1.3 et supérieur</dt> - - <dd>Module expérimental de cache mémoire des - fichiers afin d'améliorer les performances</dd> - </dl> - - <h2>Développement</h2> - - <dl> - <dt><a href="mod_example.html">mod_example</a> Apache 1.2 et - supérieur</dt> - - <dd>Démonstration de l'API Apache</dd> - </dl> - - <h2>Obsolète</h2> - - <dl> - <dt><a href="mod_browser.html">mod_browser</a> Apache 1.2.* - seulement</dt> - - <dd>Définition de variables d'environnement en - fonction de la chaîne User-Agent. Ce module est - remplacé par mod_setenvif à partir de la - version 1.3</dd> - - <dt><a href="mod_cookies.html">mod_cookies</a> jusqu'à - Apache 1.1.1</dt> - - <dd>Support des cookies Netscape. Ce module est - remplacé dans Apache 1.2 par le module - mod_usertrack</dd> - - <dt><a href="mod_dld.html">mod_dld</a> Apache 1.2.* et - précédents</dt> - - <dd>Lien au lancement en utilisant la librairie GNU libdld. - Ce module est remplcé dans Apache 1.3 par mod_so</dd> - - <dt><a href="mod_log_common.html">mod_log_common</a> - jusqu'à Apache 1.1.1</dt> - - <dd>Trace des accès utilisant le "Common Logfile - Format". Ce module est remplacé par mod_log_config - à partir d'Apache 1.2</dd> - </dl> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/index-bytype.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/index-bytype.html.ja.jis deleted file mode 100644 index 605f9aced7e..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/index-bytype.html.ja.jis +++ /dev/null @@ -1,278 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - - <title>Apache $B%b%8%e!<%k(B</title> - </head> - <!-- English revision: 1.12 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Apache $B%b%8%e!<%k(B</h1> - - <p>Apache $B$NG[I[$K4^$^$l$F$$$k%b%8%e!<%k$O!"0J2<$NDL$j$G$9!#(B - <a href="./">$B%"%k%U%!%Y%C%H=g(B</a> $B$d(B <a href="directives.html">Apache - $B$NA4%G%#%l%/%F%#%V(B</a> $B$N%"%k%U%!%Y%C%H=g%j%9%H$b;2>H$7$F$/$@$5$$!#(B - Apache $B$NG[I[$K4^$^$l$J$$(B Apache $B%b%8%e!<%k$K$D$$$F$O(B <a - href="http://modules.apache.org/">http://modules.apache.org</a> - $B$r;2>H$7$F$/$@$5$$!#(B</p> - - <h2>$B%3%"(B</h2> - - <dl> - <dt><a href="core.html">Core</a></dt> - - <dd>Apache $B$N%3%"(B</dd> - </dl> - - <h2>$B4D6-JQ?t$NA`:n(B</h2> - - <dl> - <dt><a href="mod_env.html">mod_env</a></dt> - - <dd>CGI $B%9%/%j%W%H$KBP$7$F$5$^$6$^$J4D6-JQ?t$rEO$9(B</dd> - - <dt><a href="mod_setenvif.html">mod_setenvif</a> Apache 1.3 $B0J9_(B</dt> - - <dd>$B%/%i%$%"%s%H$N>pJs$r85$K4D6-JQ?t$r@_Dj$9$k(B</dd> - - <dt><a href="mod_unique_id.html">mod_unique_id</a> Apache 1.3 - and up</dt> - - <dd>$B%j%/%(%9%H$4$H$K!"0l0U$J%j%/%(%9%H(B ID $B$r@8@.$9$k(B</dd> - </dl> - - <h2>$B%3%s%F%s%D$N<oN`$r7hDj$9$k(B</h2> - - <dl> - <dt><a href="mod_mime.html">mod_mime</a></dt> - - <dd>$B%U%!%$%k$N3HD%;R$rMxMQ$7$F%I%-%e%a%s%H%?%$%W$NH=Dj$r9T$J$&(B</dd> - - <dt><a href="mod_mime_magic.html">mod_mime_magic</a></dt> - - <dd>"$B%^%8%C%/%J%s%P!<(B" $B$rMxMQ$7$F%I%-%e%a%s%H%?%$%W$NH=Dj$r9T$J$&(B</dd> - - <dt><a href="mod_negotiation.html">mod_negotiation</a></dt> - - <dd>$B%3%s%F%s%H%M%4%7%(!<%7%g%s5!G=$rDs6!$9$k(B</dd> - </dl> - - <h2>URL $B$N%^%C%T%s%0$r9T$&(B</h2> - - <dl> - <dt><a href="mod_alias.html">mod_alias</a></dt> - - <dd>$B%[%9%H%U%!%$%k%7%9%F%`$N%I%-%e%a%s%H%D%j!<$X$N%^%C%T%s%05Z$S(B - URL $B$N%j%@%$%l%/%7%g%s$r9T$J$&(B</dd> - - <dt><a href="mod_rewrite.html">mod_rewrite</a> Apache 1.2 $B0J9_(B</dt> - - <dd>$B@55,I=8=$rMxMQ$7$?!"(BURI - $B$+$i%U%!%$%kL>$X$N6/NO$J%^%C%T%s%05!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_userdir.html">mod_userdir</a></dt> - - <dd>$B%f!<%6$N%[!<%`%G%#%l%/%H%j$K%"%/%;%9$9$k5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_speling.html">mod_speling</a> Apache 1.3 $B0J9_(B</dt> - - <dd>URL $B$N>.$5$J5-=R%_%9$r<+F0E*$K=$@5$9$k(B</dd> - - <dt><a href="mod_vhost_alias.html">mod_vhost_alias</a> Apache 1.3.7 $B0J9_(B</dt> - - <dd>$B$?$/$5$s$N%P!<%A%c%k%[%9%H@_Dj$rF0E*$K9=@.$9$k(B</dd> - </dl> - - <h2>$B%G%#%l%/%H%j$r<h$j07$&(B</h2> - - <dl> - <dt><a href="mod_dir.html">mod_dir</a></dt> - - <dd>$B%G%#%l%/%H%j$N<h$j07$$$K$D$$$F$N!"4pK\E*$J5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_autoindex.html">mod_autoindex</a></dt> - - <dd>$B<+F0E*$K%G%#%l%/%H%j0lMw$r:n@.$9$k(B</dd> - </dl> - - <h2>$B%"%/%;%9@)8f(B</h2> - - <dl> - <dt><a href="mod_access.html">mod_access</a></dt> - - <dd>$B%/%i%$%"%s%H$N%[%9%HL>$d(B IP $B%"%I%l%9$K$h$C$F%"%/%;%9@)8f$r9T$J$&(B</dd> - - <dt><a href="mod_auth.html">mod_auth</a></dt> - - <dd>$B%F%-%9%H%U%!%$%k7A<0$NG'>Z%U%!%$%k$r;HMQ$7$?%f!<%6G'>Z5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_auth_dbm.html">mod_auth_dbm</a></dt> - - <dd>DBM $B7A<0$NG'>Z%U%!%$%k$r;HMQ$7$?%f!<%6G'>Z5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_auth_db.html">mod_auth_db</a></dt> - - <dd>Berkeley DB $B7A<0$NG'>Z%U%!%$%k$r;HMQ$7$?%f!<%6G'>Z5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_auth_anon.html">mod_auth_anon</a> Apache 1.1 $B0J9_(B</dt> - - <dd>$BG'>Z$,I,MW$H$J$k%(%j%"$X$NF?L>(B (anonymous) $B$G$N%"%/%;%95!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_auth_digest.html">mod_auth_digest</a> Apache 1.3.8 $B0J9_(B</dt> - - <dd>MD5 $B$r;HMQ$7$?G'>Z5!G=(B ($BLuCm(B: Digest $BG'>Z(B) $B$rDs6!$9$k(B</dd> - - <dt><a href="mod_digest.html">mod_digest</a> Apache 1.1 $B0J9_(B</dt> - - <dd>MD5 $BG'>Z(B ($BLuCm(B: Digest $BG'>Z(B) $B5!G=$rDs6!$9$k(B - (mod_auth_digest $B$K$h$j!"(Bmod_digest $B$OHs?d>)$K$J$C$F$$$k(B)</dd> - </dl> - - <h2>HTTP $B%l%9%]%s%9(B</h2> - - <dl> - <dt><a href="mod_headers.html">mod_headers</a> Apache 1.2 $B0J9_(B</dt> - - <dd>$B%j%=!<%9$KG$0U$N(B HTTP $B%X%C%@$r2C$($k(B</dd> - - <dt><a href="mod_cern_meta.html">mod_cern_meta</a> Apache 1.1 $B0J9_(B</dt> - - <dd>HTTP $B%X%C%@%a%?%U%!%$%k$r%5%]!<%H$9$k(B</dd> - - <dt><a href="mod_expires.html">mod_expires</a> Apache 1.2 $B0J9_(B</dt> - - <dd>$B%j%=!<%9$K(B Expires: $B%X%C%@$rE,MQ$9$k(B</dd> - - <dt><a href="mod_asis.html">mod_asis</a></dt> - - <dd>HTTP $B%X%C%@$r4^$`%U%!%$%k$rAw?.$9$k(B</dd> - </dl> - - <h2>$BF0E*%3%s%F%s%D(B</h2> - - <dl> - <dt><a href="mod_include.html">mod_include</a></dt> - - <dd>SSI $B%I%-%e%a%s%H$rM-8z$K$9$k(B</dd> - - <dt><a href="mod_cgi.html">mod_cgi</a></dt> - - <dd>CGI $B%9%/%j%W%H$r<B9T$9$k(B</dd> - - <dt><a href="mod_actions.html">mod_actions</a> Apache 1.1 $B0J9_(B</dt> - - <dd>$B%a%G%#%"%?%$%W$d%j%/%(%9%H%a%=%C%I$K$h$C$F(B CGI - $B%9%/%j%W%H$r<B9T$9$k(B</dd> - - <dt><a href="mod_isapi.html">mod_isapi</a> WIN32 $B$N$_(B</dt> - - <dd>Windows ISAPI $B%(%/%9%F%s%7%g%s$r%5%]!<%H$9$k(B</dd> - </dl> - - <h2>$BFbIt%3%s%F%s%D%O%s%I%i(B-</h2> - - <dl> - <dt><a href="mod_status.html">mod_status</a> Apache 1.1 $B0J9_(B</dt> - - <dd>$B%5!<%P$N2TF0>u67$rI=<($9$k(B</dd> - - <dt><a href="mod_info.html">mod_info</a> Apache 1.1 $B0J9_(B</dt> - - <dd>$B%5!<%P$N@_Dj>pJs$r1\Mw$9$k(B</dd> - </dl> - - <h2>$B%m%.%s%0(B</h2> - - <dl> - <dt><a href="mod_log_config.html">mod_log_config</a></dt> - - <dd>mod_log_common $B$NBe$o$j$H$J$k$b$N$G!"%f!<%6$,=q<0$r@_Dj$G$-$k(B</dd> - - <dt><a href="mod_log_agent.html">mod_log_agent</a></dt> - - <dd>User Agent $B$N%m%0$r5-O?$9$k(B</dd> - - <dt><a href="mod_log_referer.html">mod_log_referer</a></dt> - - <dd>$B%I%-%e%a%s%H$N;2>H85(B (REFERER) $B$N%m%0$r5-O?$9$k(B</dd> - - <dt><a href="mod_usertrack.html">mod_usertrack</a> Apache 1.2 $B0J9_(B</dt> - - <dd>cookie $B$K$h$j%f!<%6$NDI@W$r9T$J$&(B (mod_cookies.c $B$rCV$-49$($?$b$N(B)</dd> - </dl> - - <h2>$B$=$NB>(B</h2> - - <dl> - <dt><a href="mod_imap.html">mod_imap</a> Apache 1.1 $B0J9_(B</dt> - - <dd>$B%$%a!<%8%^%C%W%U%!%$%k$r<h$j07$&5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_proxy.html">mod_proxy</a> Apache 1.1 $B0J9_(B</dt> - - <dd>proxy $B%-%c%C%7%e5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_so.html">mod_so</a> Apache 1.3 $B0J9_(B</dt> - - <dd>$B<B9T;~$K%b%8%e!<%k(B (UNIX$B$G$O(B .so$B!"(BWin32 $B$G$O(B .dll) - $B$rF0E*FI$_9~$_$9$k5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_mmap_static.html">mod_mmap_static</a> Apache $B0J9_(B</dt> - - <dd>$B%U%!%$%k$N%-%c%C%7%s%0$r9T$J$&<B83E*$J%b%8%e!<%k$G!"(B - $B%U%!%$%k$r%a%b%jFb$K%^%C%T%s%0$9$k$3$H$K$h$j%Q%U%)!<%^%s%9$r8~>e$5$;$k(B</dd> - </dl> - - <h2>$B3+H/MQ(B</h2> - - <dl> - <dt><a href="mod_example.html">mod_example</a> Apache 1.2 $B0J9_(B</dt> - - <dd>Apache API $B$N%G%b%s%9%H%l!<%7%g%sMQ(B</dd> - </dl> - - <h2>$B8=:_$G$OMxMQ$5$l$F$$$J$$%b%8%e!<%k(B</h2> - - <dl> - <dt><a href="mod_browser.html">mod_browser</a> Apache 1.2.* $B$N$_(B</dt> - - <dd>User-Agent $BJ8;zNs$r85$K4D6-JQ?t$r@_Dj$9$k!#(BApache 1.3 - $B0J9_$K$*$$$F!"(Bmod_setenvif $B$GCV$-49$($i$l$?(B</dd> - - <dt><a href="mod_cookies.html">mod_cookies</a> Apache 1.1.1 $B0J9_(B</dt> - - <dd>Netscape $B$N$h$&$J(B cookie $B$r%5%]!<%H$9$k!#(B Apache 1.2 - $B$K$*$$$F!"(Bmod_usertrack $B$KCV$-49$($i$l$?(B</dd> - - <dt><a href="mod_dld.html">mod_dld</a> Apache 1.2.* $B0JA0(B</dt> - - <dd>GNU libdld $B$rMQ$$$F5/F0;~$K%b%8%e!<%k$N%j%s%/$r9T$J$&!#(BApache - 1.3 $B$K$*$$$F!"(Bmod_so $B$KCV$-49$($i$l$?(B</dd> - - <dt><a href="mod_log_common.html">mod_log_common</a> Apache 1.1.1 $B0J9_(B</dt> - - <dd>Common Logfile Format - $B$G$NI8=`E*$J=q<0$K$h$j%m%0$r5-O?$9$k!#(BApache 1.2 - $B0J9_$K$*$$$F!"(Bmod_log_config $B%b%8%e!<%k$KCV$-49$($i$l$?(B</dd> - </dl> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/index.html.en b/usr.sbin/httpd/htdocs/manual/mod/index.html.en deleted file mode 100644 index 1773eab64fb..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/index.html.en +++ /dev/null @@ -1,263 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache modules</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Apache modules</h1> - - <p>Below is a list of all of the modules that come as part of - the Apache distribution. See also the list of modules <a - href="index-bytype.html">sorted by type</a> and the complete - alphabetical list of <a href="directives.html">all Apache - directives</a>. For Apache modules that are not part of the - Apache distribution, please see <a - href="http://modules.apache.org/">http://modules.apache.org</a></p> - - <dl> - <dt><a href="core.html">Core</a></dt> - - <dd>Core Apache features</dd> - - <dt><a href="mod_access.html">mod_access</a></dt> - - <dd>Access control based on client hostname or IP - address</dd> - - <dt><a href="mod_actions.html">mod_actions</a> Apache 1.1 and - up</dt> - - <dd>Executing CGI scripts based on media type or request - method</dd> - - <dt><a href="mod_alias.html">mod_alias</a></dt> - - <dd>Mapping different parts of the host filesystem in the - document tree, and URL redirection</dd> - - <dt><a href="mod_asis.html">mod_asis</a></dt> - - <dd>Sending files which contain their own HTTP headers</dd> - - <dt><a href="mod_auth.html">mod_auth</a></dt> - - <dd>User authentication using text files</dd> - - <dt><a href="mod_auth_anon.html">mod_auth_anon</a> Apache 1.1 - and up</dt> - - <dd>Anonymous user access to authenticated areas</dd> - - <dt><a href="mod_auth_db.html">mod_auth_db</a> Apache 1.1 and - up</dt> - - <dd>User authentication using Berkeley DB files</dd> - - <dt><a href="mod_auth_dbm.html">mod_auth_dbm</a></dt> - - <dd>User authentication using DBM files</dd> - - <dt><a href="mod_auth_digest.html">mod_auth_digest</a> Apache - 1.3.8 and up</dt> - - <dd>MD5 authentication</dd> - - <dt><a href="mod_autoindex.html">mod_autoindex</a></dt> - - <dd>Automatic directory listings</dd> - - <dt><a href="mod_browser.html">mod_browser</a> Apache 1.2.* - only</dt> - - <dd>Set environment variables based on User-Agent strings. - Replaced by mod_setenvif in Apache 1.3 and up</dd> - - <dt><a href="mod_cern_meta.html">mod_cern_meta</a> Apache 1.1 - and up</dt> - - <dd>Support for HTTP header metafiles</dd> - - <dt><a href="mod_cgi.html">mod_cgi</a></dt> - - <dd>Invoking CGI scripts</dd> - - <dt><a href="mod_cookies.html">mod_cookies</a> up to Apache - 1.1.1</dt> - - <dd>Support for Netscape-like cookies. Replaced in Apache 1.2 - by mod_usertrack</dd> - - <dt><a href="mod_define.html">mod_define</a></dt> - - <dd>Variable Definition for Arbitrary Directives</dd> - - <dt><a href="mod_digest.html">mod_digest</a> Apache 1.1 and - up</dt> - - <dd>MD5 authentication (deprecated by mod_auth_digest)</dd> - - <dt><a href="mod_dir.html">mod_dir</a></dt> - - <dd>Basic directory handling</dd> - - <dt><a href="mod_dld.html">mod_dld</a> Apache 1.2.* and - earlier</dt> - - <dd>Start-time linking with the GNU libdld. Replaced in - Apache 1.3 by mod_so</dd> - - <dt><a href="mod_env.html">mod_env</a> Apache 1.1 and up</dt> - - <dd>Passing of environments to CGI scripts</dd> - - <dt><a href="mod_example.html">mod_example</a> Apache 1.2 and - up</dt> - - <dd>Demonstrates Apache API</dd> - - <dt><a href="mod_expires.html">mod_expires</a> Apache 1.2 and - up</dt> - - <dd>Apply Expires: headers to resources</dd> - - <dt><a href="mod_headers.html">mod_headers</a> Apache 1.2 and - up</dt> - - <dd>Add arbitrary HTTP headers to resources</dd> - - <dt><a href="mod_imap.html">mod_imap</a> Apache 1.1 and - up</dt> - - <dd>The imagemap file handler</dd> - - <dt><a href="mod_include.html">mod_include</a></dt> - - <dd>Server-parsed documents</dd> - - <dt><a href="mod_info.html">mod_info</a> Apache 1.1 and - up</dt> - - <dd>Server configuration information</dd> - - <dt><a href="mod_isapi.html">mod_isapi</a> WIN32 only</dt> - - <dd>Windows ISAPI Extension support</dd> - - <dt><a href="mod_log_agent.html">mod_log_agent</a></dt> - - <dd>Logging of User Agents</dd> - - <dt><a href="mod_log_common.html">mod_log_common</a> up to - Apache 1.1.1</dt> - - <dd>Standard logging in the Common Logfile Format. Replaced - by the mod_log_config module in Apache 1.2 and up</dd> - - <dt><a href="mod_log_config.html">mod_log_config</a></dt> - - <dd>User-configurable logging replacement for - mod_log_common</dd> - - <dt><a href="mod_log_referer.html">mod_log_referer</a></dt> - - <dd>Logging of document references</dd> - - <dt><a href="mod_mime.html">mod_mime</a></dt> - - <dd>Determining document types using file extensions</dd> - - <dt><a href="mod_mime_magic.html">mod_mime_magic</a></dt> - - <dd>Determining document types using "magic numbers"</dd> - - <dt><a href="mod_mmap_static.html">mod_mmap_static</a> Apache - 1.3 and up</dt> - - <dd>Experimental file caching, mapping files into memory to - improve performance</dd> - - <dt><a href="mod_negotiation.html">mod_negotiation</a></dt> - - <dd>Content negotiation</dd> - - <dt><a href="mod_proxy.html">mod_proxy</a> Apache 1.1 and - up</dt> - - <dd>Caching proxy abilities</dd> - - <dt><a href="mod_rewrite.html">mod_rewrite</a> Apache 1.2 and - up</dt> - - <dd>Powerful URI-to-filename mapping using regular - expressions</dd> - - <dt><a href="mod_setenvif.html">mod_setenvif</a> Apache 1.3 - and up</dt> - - <dd>Set environment variables based on client - information</dd> - - <dt><a href="mod_so.html">mod_so</a> Apache 1.3 and up</dt> - - <dd>Support for loading modules (.so's on Unix, .dll's on - Win32) at runtime</dd> - - <dt><a href="mod_speling.html">mod_speling</a> Apache 1.3 and - up</dt> - - <dt><a href="mod_ssl/index.html">mod_ssl</a> Apache 1.3 with mod_ssl - applied</dt> - - <dd>Apache SSL interface to OpenSSL</dd> - - <dd>Automatically correct minor typos in URLs</dd> - - <dt><a href="mod_status.html">mod_status</a> Apache 1.1 and - up</dt> - - <dd>Server status display</dd> - - <dt><a href="mod_unique_id.html">mod_unique_id</a> Apache 1.3 - and up</dt> - - <dd>Generate unique request identifier for every request</dd> - - <dt><a href="mod_userdir.html">mod_userdir</a></dt> - - <dd>User home directories</dd> - - <dt><a href="mod_usertrack.html">mod_usertrack</a> Apache 1.2 - and up</dt> - - <dd>User tracking using Cookies (replacement for - mod_cookies.c)</dd> - - <dt><a href="mod_vhost_alias.html">mod_vhost_alias</a> Apache - 1.3.7 and up</dt> - - <dd>Support for dynamically configured mass virtual - hosting</dd> - </dl> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/index.html.fr b/usr.sbin/httpd/htdocs/manual/mod/index.html.fr deleted file mode 100644 index 86f1a62d6f0..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/index.html.fr +++ /dev/null @@ -1,278 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!-- Traduction anglais 1.38 --> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - <meta http-equiv="Content-Type" - content="text/html; charset=iso-8859-1" /> - - <title>Modules Apache</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Modules Apache</h1> - - <p>Ci dessous est donnée une liste des modules faisant - partie de la distribution Apache. Voir aussi la liste des - modules <a href="index-bytype.html">triés par type</a> - et la liste complète alphabétique de <a - href="directives.html">toutes les directives d'Apache</a>. Pour - les modules d'Apache qui ne font pas partie de la distribution, - vous pouvez consulter <a - href="http://modules.apache.org/">http://modules.apache.org</a></p> - - <dl> - <dt><a href="core.html">Base</a></dt> - - <dd>Fonctionnalités de base d'Apache</dd> - - <dt><a href="mod_access.html">mod_access</a></dt> - - <dd>Contrôle d'accès basé sur le nom du - client ou son adresse IP</dd> - - <dt><a href="mod_actions.html">mod_actions</a> Apache 1.1 et - supérieur</dt> - - <dd>Exécution de scripts CGI en fonction du type de - média ou de la requête</dd> - - <dt><a href="mod_alias.html">mod_alias</a></dt> - - <dd>Association de différentes parties du - système de fichier de l'hôte dans l'arborescence - des documents, et redirection des URL.</dd> - - <dt><a href="mod_asis.html">mod_asis</a></dt> - - <dd>Envoi de fichiers contenant leurs propres en-têtes - HTTP</dd> - - <dt><a href="mod_auth.html">mod_auth</a></dt> - - <dd>Authentification des utilisateurs à partir d'un - fichier texte</dd> - - <dt><a href="mod_auth_anon.html">mod_auth_anon</a> Apache 1.1 - et supérieur</dt> - - <dd>Accès aux utilisateurs anonymes à des zones - authentifiées</dd> - - <dt><a href="mod_auth_db.html">mod_auth_db</a> Apache 1.1 et - supérieur</dt> - - <dd>Authentification des utilisateurs à partir d'une - base Berkeley</dd> - - <dt><a href="mod_auth_dbm.html">mod_auth_dbm</a></dt> - - <dd>Authentification des utilisateurs à partir d'un - fichier DBM</dd> - - <dt><a href="mod_auth_digest.html">mod_auth_digest</a> Apache - 1.3.8 et supérieur</dt> - - <dd>Authentication des utilisateurs à partir d'un - fichier MD5 (expérimental)</dd> - - <dt><a href="mod_autoindex.html">mod_autoindex</a></dt> - - <dd>Création automatique des listes des - répertoires</dd> - - <dt><a href="mod_browser.html">mod_browser</a> Apache 1.2.* - seulement</dt> - - <dd>Définition de variables d'environnement en - fonction de la chaîne User-Agent. Ce module est - remplacé par mod_setenvif à partir de la - version 1.3</dd> - - <dt><a href="mod_cern_meta.html">mod_cern_meta</a> Apache 1.1 - et supérieur</dt> - - <dd>Support des métafichiers d'en-tête HTTP</dd> - - <dt><a href="mod_cgi.html">mod_cgi</a></dt> - - <dd>Appel des scripts CGI</dd> - - <dt><a href="mod_cookies.html">mod_cookies</a> jusqu'à - Apache 1.1.1</dt> - - <dd>Support des cookies Netscape. Ce module est - remplacé dans Apache 1.2 par le module - mod_usertrack</dd> - - <dt><a href="mod_digest.html">mod_digest</a> Apache 1.1 et - supérieur</dt> - - <dd>Authentication MD5</dd> - - <dt><a href="mod_dir.html">mod_dir</a></dt> - - <dd>Gestion de base des répertoires</dd> - - <dt><a href="mod_dld.html">mod_dld</a> Apache 1.2.* et - précédents</dt> - - <dd>Lien au lancement en utilisant la librairie GNU libdld. - Ce module est remplcé dans Apache 1.3 par mod_so</dd> - - <dt><a href="mod_env.html">mod_env</a> Apache 1.1 et - supérieur</dt> - - <dd>Passage d'environnement aux scripts CGI</dd> - - <dt><a href="mod_example.html">mod_example</a> Apache 1.2 et - supérieur</dt> - - <dd>Démonstration de l'API Apache</dd> - - <dt><a href="mod_expires.html">mod_expires</a> Apache 1.2 et - supérieur</dt> - - <dd>Ajout de l'en-tête Expires: pour les ressources - spécifiées</dd> - - <dt><a href="mod_headers.html">mod_headers</a> Apache 1.2 et - supérieur</dt> - - <dd>Ajout d'en-têtes HTTP aux ressources</dd> - - <dt><a href="mod_imap.html">mod_imap</a> Apache 1.1 et - supérieur</dt> - - <dd>Gestion des fichiers imagemap</dd> - - <dt><a href="mod_include.html">mod_include</a></dt> - - <dd>Documents analysés par le serveur</dd> - - <dt><a href="mod_info.html">mod_info</a> Apache 1.1 et - supérieur</dt> - - <dd>Informations sur la configuration du serveur</dd> - - <dt><a href="mod_isapi.html">mod_isapi</a> WIN32 - seulement</dt> - - <dd>Support des extensions Windows ISAPI</dd> - - <dt><a href="mod_log_agent.html">mod_log_agent</a></dt> - - <dd>Trace des User Agents</dd> - - <dt><a href="mod_log_common.html">mod_log_common</a> - jusqu'à Apache 1.1.1</dt> - - <dd>Trace des accès utilisant le "Common Logfile - Format". Ce module est remplacé par mod_log_config - à partir d'Apache 1.2</dd> - - <dt><a href="mod_log_config.html">mod_log_config</a></dt> - - <dd>Trace configurable des accès. Remplace - mod_log_common</dd> - - <dt><a href="mod_log_referer.html">mod_log_referer</a></dt> - - <dd>Trace des référants d'un document</dd> - - <dt><a href="mod_mime.html">mod_mime</a></dt> - - <dd>Détermination du type des documents en fonction de - l'extension du fichier</dd> - - <dt><a href="mod_mime_magic.html">mod_mime_magic</a></dt> - - <dd>Détermination du type des documents en fonction de - "nombres magiques"</dd> - - <dt><a href="mod_mmap_static.html">mod_mmap_static</a> Apache - 1.3 et supérieur</dt> - - <dd>Module expérimental de cache mémoire des - fichiers afin d'améliorer les performances</dd> - - <dt><a href="mod_negotiation.html">mod_negotiation</a></dt> - - <dd>Négotiation de contenu</dd> - - <dt><a href="mod_proxy.html">mod_proxy</a> Apache 1.1 et - supérieur</dt> - - <dd>Module de cache par proxy</dd> - - <dt><a href="mod_rewrite.html">mod_rewrite</a> Apache 1.2 et - supérieur</dt> - - <dd>Association des URI à des fichiers en utilisant - des expressions régulières</dd> - - <dt><a href="mod_setenvif.html">mod_setenvif</a> Apache 1.3 - et supérieur</dt> - - <dd>Définition de variables d'environnement en - fonction des informations client</dd> - - <dt><a href="mod_so.html">mod_so</a> Apache 1.3 et - supérieur</dt> - - <dd>Support des modules dynamiques (.so sur Unix, .dll sur - Win32)</dd> - - <dt><a href="mod_speling.html">mod_speling</a> Apache 1.3 et - supérieur</dt> - - <dd>Correction automatique d'erreurs de frappe mineures dans - les URL</dd> - - <dt><a href="mod_status.html">mod_status</a> Apache 1.1 et - supérieur</dt> - - <dd>Affichage de l'état du système</dd> - - <dt><a href="mod_userdir.html">mod_userdir</a></dt> - - <dd>Répertoires personnels d'utilisateurs</dd> - - <dt><a href="mod_unique_id.html">mod_unique_id</a> Apache 1.3 - et supérieur</dt> - - <dd>Génération d'identifiants uniques de - requête</dd> - - <dt><a href="mod_usertrack.html">mod_usertrack</a> Apache 1.2 - et supérieur</dt> - - <dd>Suivi des utilisateurs à l'aide de cookies - (remplacement de mod_cookies)</dd> - - <dt><a href="mod_vhost_alias.html">mod_vhost_alias</a> Apache - 1.3.7 et supérieur</dt> - - <dd>Support d'hôtes virtuels dynamiquement - configurables</dd> - </dl> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/index.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/index.html.ja.jis deleted file mode 100644 index d1e50ccf49b..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/index.html.ja.jis +++ /dev/null @@ -1,254 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache $B%b%8%e!<%k(B</title> - - </head> - <!-- English revision: 1.42 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Apache $B%b%8%e!<%k(B</h1> - - <p>Apache $B$NG[I[$K4^$^$l$F$$$k%b%8%e!<%k$O!"0J2<$NDL$j$G$9!#(B - <a href="index-bytype.html">$B<oN`=g$N%b%8%e!<%k%j%9%H(B</a> $B$d(B - <a href="directives.html">Apache $B$NA4%G%#%l%/%F%#%V(B</a> - $B$N%"%k%U%!%Y%C%H=g%j%9%H$b;2>H$7$F$/$@$5$$!#(B - Apache $B$NG[I[$K4^$^$l$J$$(B Apache $B%b%8%e!<%k$K$D$$$F$O(B - <a href="http://modules.apache.org/" - >http://modules.apache.org</a> $B$r;2>H$7$F$/$@$5$$!#(B</p> - - <dl> - <dt><a href="core.html">Core</a></dt> - - <dd>Apache $B$N%3%"(B</dd> - - <dt><a href="mod_access.html">mod_access</a></dt> - - <dd>$B%/%i%$%"%s%H$N%[%9%HL>$d(B IP - $B%"%I%l%9$K$h$C$F%"%/%;%9@)8f$r9T$J$&(B</dd> - - <dt><a href="mod_actions.html">mod_actions</a> - Apache 1.1 $B0J9_(B</dt> - - <dd>$B%a%G%#%"%?%$%W$d%j%/%(%9%H%a%=%C%I$K$h$C$F(B CGI - $B%9%/%j%W%H$r<B9T$9$k(B</dd> - - <dt><a href="mod_alias.html">mod_alias</a></dt> - - <dd>$B%[%9%H%U%!%$%k%7%9%F%`$N%I%-%e%a%s%H%D%j!<$X$N%^%C%T%s%05Z$S(B - URL $B$N%j%@%$%l%/%7%g%s$r9T$J$&(B</dd> - - <dt><a href="mod_asis.html">mod_asis</a></dt> - - <dd>HTTP $B%X%C%@$r4^$`%U%!%$%k$rAw?.$9$k(B</dd> - - <dt><a href="mod_auth.html">mod_auth</a></dt> - - <dd>$B%F%-%9%H%U%!%$%k7A<0$NG'>Z%U%!%$%k$r;HMQ$7$?(B - $B%f!<%6G'>Z5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_auth_anon.html">mod_auth_anon</a> - Apache 1.1 $B0J9_(B</dt> - - <dd>$BG'>Z$,I,MW$H$J$k%(%j%"$X$NF?L>(B (anonymous) - $B$G$N%"%/%;%95!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_auth_db.html">mod_auth_db</a> - Apache 1.1 $B0J9_(B</dt> - - <dd>Berkeley DB - $B7A<0$NG'>Z%U%!%$%k$r;HMQ$7$?%f!<%6G'>Z5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_auth_dbm.html">mod_auth_dbm</a></dt> - - <dd>DBM $B7A<0$NG'>Z%U%!%$%k$r;HMQ$7$?%f!<%6G'>Z5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_auth_digest.html">mod_auth_digest</a> - Apache 1.3.8 $B0J9_(B</dt> - - <dd>MD5 $B$r;HMQ$7$?G'>Z5!G=(B ($BLuCm(B: Digest $BG'>Z(B) - $B$rDs6!$9$k(B</dd> - - <dt><a href="mod_autoindex.html">mod_autoindex</a></dt> - - <dd>$B<+F0E*$K%G%#%l%/%H%j0lMw$r:n@.$9$k(B</dd> - - <dt><a href="mod_browser.html">mod_browser</a> - Apache 1.2.* $B$G$N$_M-8z(B</dt> - - <dd>User-Agent $BJ8;zNs$r85$K4D6-JQ?t$r@_Dj$9$k!#(B - Apache 1.3 $B0J9_$K$*$$$F!"(Bmod_setenvif $B$GCV$-49$($i$l$?(B</dd> - - <dt><a href="mod_cern_meta.html">mod_cern_meta</a> - Apache 1.1 $B0J9_(B</dt> - - <dd>HTTP $B%X%C%@%a%?%U%!%$%k$r%5%]!<%H$9$k(B</dd> - - <dt><a href="mod_cgi.html">mod_cgi</a></dt> - - <dd>CGI $B%9%/%j%W%H$r<B9T$9$k(B</dd> - - <dt><a href="mod_cookies.html">mod_cookies</a> - Apache 1.1.1 $B0J9_(B</dt> - - <dd>Netscape $B$N$h$&$J(B cookie $B$r%5%]!<%H$9$k!#(B - Apache 1.2 $B$K$*$$$F!"(Bmod_usertrack $B$KCV$-49$($i$l$?(B</dd> - - <dt><a href="mod_digest.html">mod_digest</a> Apache 1.1 $B0J9_(B</dt> - - <dd>MD5 $BG'>Z(B ($BLuCm(B: Digest $BG'>Z(B) $B5!G=$rDs6!$9$k(B - (mod_auth_digest $B$K$h$j!"(Bmod_digest $B$OHs?d>)$K$J$C$F$$$k(B)</dd> - - <dt><a href="mod_dir.html">mod_dir</a></dt> - - <dd>$B%G%#%l%/%H%j$N<h$j07$$$K$D$$$F$N!"4pK\E*$J5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_dld.html">mod_dld</a> - Apache 1.2.* $B5Z$S$=$l0JA0(B</dt> - - <dd>GNU libdld $B$rMQ$$$F5/F0;~$K%b%8%e!<%k$N%j%s%/$r9T$J$&!#(B - Apache 1.3 $B$K$*$$$F!"(Bmod_so $B$KCV$-49$($i$l$?(B</dd> - - <dt><a href="mod_env.html">mod_env</a> Apache 1.1 $B0J9_(B</dt> - - <dd>CGI $B%9%/%j%W%H$KEO$94D6-JQ?t$NA`:n$r9T$J$&(B</dd> - - <dt><a href="mod_example.html">mod_example</a> - Apache 1.2 $B0J9_(B</dt> - - <dd>Apache API $B$N%G%b%s%9%H%l!<%7%g%sMQ(B</dd> - - <dt><a href="mod_expires.html">mod_expires</a> - Apache 1.2 $B0J9_(B</dt> - - <dd>$B%j%=!<%9$K(B Expires: $B%X%C%@$rE,MQ$9$k(B</dd> - - <dt><a href="mod_headers.html">mod_headers</a> - Apache 1.2 $B0J9_(B</dt> - - <dd>$B%j%=!<%9$KG$0U$N(B HTTP $B%X%C%@$r2C$($k(B</dd> - - <dt><a href="mod_imap.html">mod_imap</a> Apache 1.1 $B0J9_(B</dt> - - <dd>$B%$%a!<%8%^%C%W%U%!%$%k$r<h$j07$&5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_include.html">mod_include</a></dt> - - <dd>SSI $B%I%-%e%a%s%H$rM-8z$K$9$k(B</dd> - - <dt><a href="mod_info.html">mod_info</a> Apache 1.1 $B0J9_(B</dt> - - <dd>$B%5!<%P$N@_Dj>pJs$r1\Mw$9$k(B</dd> - - <dt><a href="mod_isapi.html">mod_isapi</a> WIN32 $B$N$_(B</dt> - - <dd>Windows ISAPI $B%(%/%9%F%s%7%g%s$r%5%]!<%H$9$k(B</dd> - - <dt><a href="mod_log_agent.html">mod_log_agent</a></dt> - - <dd>User Agent $B$N%m%0$r5-O?$9$k(B</dd> - - <dt><a href="mod_log_common.html">mod_log_common</a> - Apache 1.1.1 $B0J9_(B</dt> - - <dd>Common Logfile Format $B$G$NI8=`E*$J=q<0$K$h$j%m%0$r5-O?$9$k!#(B - Apache 1.2 $B0J9_$K$*$$$F!"(Bmod_log_config - $B%b%8%e!<%k$KCV$-49$($i$l$?(B</dd> - - <dt><a href="mod_log_config.html">mod_log_config</a></dt> - - <dd>mod_log_common - $B$NBe$o$j$H$J$k$b$N$G!"%f!<%6$,=q<0$r@_Dj$G$-$k(B</dd> - - <dt><a href="mod_log_referer.html">mod_log_referer</a></dt> - - <dd>$B%I%-%e%a%s%H$N;2>H85(B (REFERER) $B$N%m%0$r5-O?$9$k(B</dd> - - <dt><a href="mod_mime.html">mod_mime</a></dt> - - <dd>$B%U%!%$%k$N3HD%;R$rMxMQ$7$F%I%-%e%a%s%H%?%$%W$NH=Dj$r9T$J$&(B</dd> - - <dt><a href="mod_mime_magic.html">mod_mime_magic</a></dt> - - <dd>"$B%^%8%C%/%J%s%P!<(B" - $B$rMxMQ$7$F%I%-%e%a%s%H%?%$%W$NH=Dj$r9T$J$&(B</dd> - - <dt><a href="mod_mmap_static.html">mod_mmap_static</a> - Apache 1.3 $B0J9_(B</dt> - - <dd>$B%U%!%$%k$N%-%c%C%7%s%0$r9T$J$&<B83E*$J%b%8%e!<%k$G!"(B - $B%U%!%$%k$r%a%b%jFb$K%^%C%T%s%0$9$k$3$H$K$h$j(B - $B%Q%U%)!<%^%s%9$r8~>e$5$;$k(B</dd> - - <dt><a href="mod_negotiation.html">mod_negotiation</a></dt> - - <dd>$B%3%s%F%s%H%M%4%7%(!<%7%g%s5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_proxy.html">mod_proxy</a> Apache 1.1 $B0J9_(B</dt> - - <dd>proxy $B%-%c%C%7%e5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_rewrite.html">mod_rewrite</a> - Apache 1.2 $B0J9_(B</dt> - - <dd>$B@55,I=8=$rMxMQ$7$?!"(BURI - $B$+$i%U%!%$%kL>$X$N6/NO$J%^%C%T%s%05!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_setenvif.html">mod_setenvif</a> - Apache 1.3 $B0J9_(B</dt> - - <dd>$B%/%i%$%"%s%H$N>pJs$r85$K4D6-JQ?t$r%;%C%H$9$k(B</dd> - - <dt><a href="mod_so.html">mod_so</a> Apache 1.3 $B0J9_(B</dt> - - <dd>$B<B9T;~$K%b%8%e!<%k(B (UNIX$B$G$O(B .so$B!"(BWin32 $B$G$O(B .dll) - $B$rF0E*FI$_9~$_$9$k5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_speling.html">mod_speling</a> - Apache 1.3 $B0J9_(B</dt> - - <dd>URL $B$N>.$5$J5-=R%_%9$r<+F0E*$K=$@5$9$k(B</dd> - - <dt><a href="mod_status.html">mod_status</a> Apache 1.1 $B0J9_(B</dt> - - <dd>$B%5!<%P$N2TF0>u67$rI=<($9$k(B</dd> - - <dt><a href="mod_userdir.html">mod_userdir</a></dt> - - <dd>$B%f!<%6$N%[!<%`%G%#%l%/%H%j$K%"%/%;%9$9$k5!G=$rDs6!$9$k(B</dd> - - <dt><a href="mod_unique_id.html">mod_unique_id</a> - Apache 1.3 $B0J9_(B</dt> - - <dd>$B%j%/%(%9%H$4$H$K!"0l0U$J%j%/%(%9%H(B ID $B$r@8@.$9$k(B</dd> - - <dt><a href="mod_usertrack.html">mod_usertrack</a> - Apache 1.2 $B0J9_(B</dt> - - <dd>cookie $B$K$h$j%f!<%6$NDI@W$r9T$J$&(B - (mod_cookies.c $B$rCV$-49$($?$b$N(B)</dd> - - <dt><a href="mod_vhost_alias.html">mod_vhost_alias</a> - Apache 1.3.7 $B0J9_(B</dt> - - <dd>$B$?$/$5$s$N%P!<%A%c%k%[%9%H@_Dj$rF0E*$K9=@.$9$k(B</dd> - </dl> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_access.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_access.html.en deleted file mode 100644 index c5d6db86d98..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_access.html.en +++ /dev/null @@ -1,350 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_access</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_access</h1> - - <p>This module provides access control based on client - hostname, IP address, or other characteristics of the client - request.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_access.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - access_module</p> - - <h2>Summary</h2> - - <p>The directives provided by mod_access are used in <code><a - href="core.html#directory"><Directory></a>, <a - href="core.html#files"><Files></a>,</code> and <code><a - href="core.html#location"><Location></a></code> sections - as well as <code><a - href="core.html#accessfilename">.htaccess</a></code> files to - control access to particular parts of the server. Access can be - controlled based on the client hostname, IP address, or other - characteristics of the client request, as captured in <a - href="../env.html">environment variables</a>. The - <code>Allow</code> and <code>Deny</code> directives are used to - specify which clients are or are not allowed access to the - server, while the <code>Order</code> directive sets the default - access state, and configures how the <code>Allow</code> and - <code>Deny</code> directives interact with each other.</p> - - <p>Both host-based access restrictions and password-based - authentication may be implemented simultaneously. In that case, - the <a href="core.html#satisfy">Satisfy</a> directive is used - to determine how the two sets of restrictions interact.</p> - - <p>In general, access restriction directives apply to all - access methods (<code>GET</code>, <code>PUT</code>, - <code>POST</code>, etc). This is the desired behavior in most - cases. However, it is possible to restrict some methods, while - leaving other methods unrestricted, by enclosing the directives - in a <a href="core.html#limit"><Limit></a> section.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#allow">Allow</a></li> - - <li><a href="#deny">Deny</a></li> - - <li><a href="#order">Order</a></li> - </ul> - - <p>See also <a href="core.html#satisfy">Satisfy</a> and <a - href="core.html#require">Require</a>.</p> - <hr /> - - <h2><a id="allow" name="allow">Allow</a> <a id="allowfromenv" - name="allowfromenv">directive</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Allow from - all|<em>host</em>|env=<em>env-variable</em> - [<em>host</em>|env=<em>env-variable</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> Limit<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_access</p> - - <p>The <code>Allow</code> directive affects which hosts can - access an area of the server. Access can be controlled by - hostname, IP Address, IP Address range, or by other - characteristics of the client request captured in environment - variables.</p> - - <p>The first argument to this directive is always - <code>from</code>. The subsequent arguments can take three - different forms. If <code>Allow from all</code> is specified, - then all hosts are allowed access, subject to the configuration - of the <code>Deny</code> and <code>Order</code> directives as - discussed below. To allow only particular hosts or groups of - hosts to access the server, the <em>host</em> can be specified - in any of the following formats:</p> - - <dl> - <dt>A (partial) domain-name</dt> - - <dd>Example: <code>Allow from apache.org</code><br /> - Hosts whose names match, or end in, this string are allowed - access. Only complete components are matched, so the above - example will match <code>foo.apache.org</code> but it will - not match <code>fooapache.org</code>. This configuration will - cause the server to perform a double reverse DNS lookup on the - client IP address, regardless of the setting of the <a - href="core.html#hostnamelookups">HostnameLookups</a> - directive. It will do a reverse DNS lookup on the IP address to - find the associated hostname, and then do a forward lookup on - the hostname to assure that it matches the original IP address. - Only if the forward and reverse DNS are consistent and the - hostname matches will access be allowed.</dd> - - <dt>A full IP address</dt> - - <dd>Example: <code>Allow from 10.1.2.3</code><br /> - An IP address of a host allowed access</dd> - - <dt>A partial IP address</dt> - - <dd>Example: <code>Allow from 10.1</code><br /> - The first 1 to 3 bytes of an IP address, for subnet - restriction.</dd> - - <dt>A network/netmask pair</dt> - - <dd>Example: <code>Allow from - 10.1.0.0/255.255.0.0</code><br /> - A network a.b.c.d, and a netmask w.x.y.z. For more - fine-grained subnet restriction. (Apache 1.3 and later)</dd> - - <dt>A network/nnn CIDR specification</dt> - - <dd>Example: <code>Allow from 10.1.0.0/16</code><br /> - Similar to the previous case, except the netmask consists of - nnn high-order 1 bits. (Apache 1.3 and later)</dd> - </dl> - - <p>Note that the last three examples above match exactly the - same set of hosts.</p> - - <p>The third format of the arguments to the <code>Allow</code> - directive allows access to the server to be controlled based on - the existence of an <a href="../env.html">environment - variable</a>. When <code>Allow from - env=</code><em>env-variable</em> is specified, then the request - is allowed access if the environment variable - <em>env-variable</em> exists. The server provides the ability - to set environment variables in a flexible way based on - characteristics of the client request using the directives - provided by <a href="mod_setenvif.html">mod_setenvif</a>. - Therefore, this directive can be used to allow access based on - such factors as the clients <code>User-Agent</code> (browser - type), <code>Referer</code>, or other HTTP request header - fields.</p> - - <p>Example:</p> - - <blockquote> -<pre> -SetEnvIf User-Agent ^KnockKnock/2.0 let_me_in -<Directory /docroot> - Order Deny,Allow - Deny from all - Allow from env=let_me_in -</Directory> -</pre> - </blockquote> - - <p>In this case, browsers with a user-agent string beginning - with <tt>KnockKnock/2.0</tt> will be allowed access, and all - others will be denied.</p> - - <p>See also <a href="#deny">Deny</a>, <a - href="#order">Order</a> and <a - href="mod_setenvif.html#setenvif">SetEnvIf</a>.</p> - <hr /> - - <h2><a id="deny" name="deny">Deny</a> <a id="denyfromenv" - name="denyfromenv">directive</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Deny from - all|<em>host</em>|env=<em>env-variable</em> - [<em>host</em>|env=<em>env-variable</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> Limit<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_access</p> - - <p>This directive allows access to the server to be restricted - based on hostname, IP address, or environment variables. The - arguments for the <code>Deny</code> directive are identical to - the arguments for the <a href="#allow">Allow</a> directive.</p> - - <p>See also <a href="#allow">Allow</a>, <a - href="#order">Order</a> and <a - href="mod_setenvif.html#setenvif">SetEnvIf</a>.</p> - <hr /> - - <h2><a id="order" name="order">Order directive</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Order - <em>ordering</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>Order - Deny,Allow</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> Limit<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_access</p> - - <p>The <code>Order</code> directive controls the default access - state and the order in which <a href="#allow">Allow</a> and <a - href="#deny">Deny</a> directives are evaluated. - <em>Ordering</em> is one of</p> - - <dl> - <dt>Deny,Allow</dt> - - <dd>The <code>Deny</code> directives are evaluated before the - <code>Allow</code> directives. Access is allowed by default. - Any client which does not match a <code>Deny</code> directive - or does match an <code>Allow</code> directive will be allowed - access to the server.</dd> - - <dt>Allow,Deny</dt> - - <dd>The <code>Allow</code> directives are evaluated before - the <code>Deny</code> directives. Access is denied by - default. Any client which does not match an - <code>Allow</code> directive or does match a - <code>Deny</code> directive will be denied access to the - server.</dd> - - <dt>Mutual-failure</dt> - - <dd>Only those hosts which appear on the <code>Allow</code> - list and do not appear on the <code>Deny</code> list are - granted access. This ordering has the same effect as - <code>Order Allow,Deny</code> and is deprecated in favor of - that configuration.</dd> - </dl> - - <p>Keywords may only be separated by a comma; no whitespace is - allowed between them. Note that in all cases every - <code>Allow</code> and <code>Deny</code> statement is - evaluated.</p> - - <p>In the following example, all hosts in the apache.org domain - are allowed access; all other hosts are denied access.</p> - - <blockquote> - <code>Order Deny,Allow<br /> - Deny from all<br /> - Allow from apache.org<br /> - </code> - </blockquote> - - <p>In the next example, all hosts in the apache.org domain are - allowed access, except for the hosts which are in the - foo.apache.org subdomain, who are denied access. All hosts not - in the apache.org domain are denied access because the default - state is to deny access to the server.</p> - - <blockquote> - <code>Order Allow,Deny<br /> - Allow from apache.org<br /> - Deny from foo.apache.org<br /> - </code> - </blockquote> - - <p>On the other hand, if the <code>Order</code> in the last - example is changed to <code>Deny,Allow</code>, all hosts will - be allowed access. This happens because, regardless of the - actual ordering of the directives in the configuration file, - the <code>Allow from apache.org</code> will be evaluated last - and will override the <code>Deny from foo.apache.org</code>. - All hosts not in the <code>apache.org</code> domain will also - be allowed access because the default state will change to - <em>allow</em>.</p> - - <p>The presence of an <code>Order</code> directive can affect - access to a part of the server even in the absence of - accompanying <code>Allow</code> and <code>Deny</code> - directives because of its effect on the default access state. - For example,</p> - - <blockquote> - <code><Directory /www><br /> - Order Allow,Deny<br /> - </Directory></code> - </blockquote> - - <p>will deny all access to the <code>/www</code> directory - because the default access state will be set to - <em>deny</em>.</p> - - <p>The <code>Order</code> directive controls the order of - access directive processing only within each phase of the - server's configuration processing. This implies, for example, - that an <code>Allow</code> or <code>Deny</code> directive - occurring in a <Location> section will always be - evaluated after an <code>Allow</code> or <code>Deny</code> - directive occurring in a <Directory> section or - <code>.htaccess</code> file, regardless of the setting of the - <code>Order</code> directive. For details on the merging of - configuration sections, see the documentation on <a - href="../sections.html">How Directory, Location and Files - sections work</a>.</p> - - <p>See also: <a href="#deny">Deny</a> and <a - href="#allow">Allow</a>. <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_access.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_access.html.ja.jis deleted file mode 100644 index 4130638a330..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_access.html.ja.jis +++ /dev/null @@ -1,349 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_access</title> - - </head> - <!-- English revision: 1.33 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_access $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O%/%i%$%"%s%H$N%[%9%HL>!"(BIP - $B%"%I%l%9!"$=$NB>$N%/%i%$%"%s%H$N%j%/%(%9%H$NFCD'$K4p$E$$$?(B - $B%"%/%;%9@)8f5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_access.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - access_module</p> - - <h2>$B35MW(B</h2> - - <p>mod_access $B$K$h$jDs6!$5$l$k%G%#%l%/%F%#%V$O%5!<%P$NFCDj$NItJ,$X$N(B - $B%"%/%;%9$r@)8f$9$k$?$a$K(B <code><a href="core.html#directory" - ><Directory></a>, <a href="core.html#files"><Files></a - ></code>, <code><a href="core.html#location"><Location></a - ></code> $B$H(B <code><a href="core.html#accessfilename">.htaccess</a - ></code> $B%U%!%$%k$G;HMQ$5$l$^$9!#%/%i%$%"%s%H$N%[%9%HL>!"(BIP - $B%"%I%l%9$d(B <a href="../env.html">$B4D6-JQ?t(B</a - >$B$H$7$F<hF@$5$l$?!"$=$NB>$N%j%/%(%9%H$NFCD'$K4p$E$$$F(B - $B%"%/%;%9@)8f$r9T$J$&$3$H$,$G$-$^$9!#(B<code>Allow</code> $B$H(B - <code>Deny</code> $B%G%#%l%/%F%#%V$O$I$N$h$&$J%/%i%$%"%s%H$K%"%/%;%9$r(B - $B5v2D$9$k!"$7$J$$$+$r;XDj$9$k$?$a$K;HMQ$5$l$^$9!#0lJ}!"(B - <code>Order</code> $B%G%#%l%/%F%#%V$O%G%U%)%k%H$N%"%/%;%9>uBV$H!"(B - <code>Allow</code> $B%G%#%l%/%F%#%V$H(B <code>Deny</code> - $B%G%#%l%/%F%#%V$H$N$*8_$$$X$N1F6A$N;EJ}$r@_Dj$7$^$9!#(B - </p> - - <p>$B%[%9%H$K$h$k%"%/%;%9@)8B$H%Q%9%o!<%I$K$h$kG'>Z$rF1;~$K(B - $B9T$J$&$3$H$,2DG=$G$9!#$=$N>l9g!"$=$NFs$D$N@)8B$N4X78$r;XDj$9$k$?$a$K(B - <a href="core.html#satisfy">Satisfy</a> - $B%G%#%l%/%F%#%V$r;HMQ$7$^$9!#(B</p> - - <p>$B0lHLE*$K$O!"%"%/%;%9@)8B%G%#%l%/%F%#%V$O$9$Y$F$N%"%/%;%9%a%=%C%I(B - (<code>GET</code>, <code>PUT</code>, <code>POST</code> $B$J$I(B) - $B$KE,MQ$5$l$^$9!#$=$7$F!"$[$H$s$I$N>l9g$3$l$,K>$^$7$$F0:n$G$9!#(B - $B$7$+$7!"(B<a href="core.html#limit"><Limit></a> - $B%;%/%7%g%s$NCf$K%G%#%l%/%F%#%V$r=q$/$3$H$G!"(B - $B0lIt$N%a%=%C%I$K$N$_@)8B$r$+$1$k$3$H$b$G$-$^$9!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#allow">Allow</a></li> - - <li><a href="#deny">Deny</a></li> - - <li><a href="#order">Order</a></li> - </ul> - - <p><a href="core.html#satisfy">Satisfy</a> $B$H(B - <a href="core.html#require">Require</a> $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="allow" name="allow">Allow</a> <a id="allowfromenv" - name="allowfromenv">$B%G%#%l%/%F%#%V(B</a></h2> - - <p> - <a href="directive-dict.html#syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> Allow from - all|<em>host</em>|env=<em>env-variablename</em> - [<em>host</em>|env=<em>env-variablename</em>] ...<br /> - <a href="directive-dict.html#context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B - .htaccess<br /> - <a href="directive-dict.html#override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> Limit<br /> - <a href="directive-dict.html#status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_access</p> - - <p><code>Allow</code> $B%G%#%l%/%F%#%V$O$I$N%[%9%H$,(B - $B%5!<%P$N$"$kNN0h$r%"%/%;%9$G$-$k$+$K1F6A$rM?$($^$9!#(B - $B%"%/%;%9$O%[%9%HL>!"(BIP $B%"%I%l%9!"(BIP $B%"%I%l%9$NHO0O$d!"(B - $B4D6-JQ?t$H$7$F<hF@$5$l$?!"$=$NB>$N%/%i%$%"%s%H$N%j%/%(%9%H$N(B - $BFCD'$K$h$C$F@)8f$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$N:G=i$N0z?t$O>o$K(B <code>from</code> $B$G$9!#(B - $B$=$l$KB3$/0z?t$O;0$D$N0c$C$?7A<0$,$"$j$^$9!#(B<code>Allow from - all</code> $B$,;XDj$5$l$F$$$l$P!"$9$Y$F$N%[%9%H$K%"%/%;%9$r5v2D$7!"(B - $B%"%/%;%9@)8B$O2<$G@bL@$5$l$F$$$k$h$&$K!"(B<code>Deny</code> - $B%G%#%l%/%F%#%V$H(B <code>Order</code> - $B%G%#%l%/%F%#%V$N@_Dj$G7h$^$j$^$9!#(B - $BFCDj$N%[%9%H$d%[%9%H72$K$N$_%5!<%P$X$N%"%/%;%9$r5v2D$9$k$?$a$K$O!"(B - $B0J2<$N$I$l$+$N7A<0$G(B <em>host</em> $B$r;XDj$9$k$3$H$,$G$-$^$9(B:</p> - - <dl> - <dt>$B%I%a%$%sL>(B ($B$N0lIt(B)</dt> - - <dd>$BNc(B: <code>Allow from apache.org</code><br /> - $B$3$NJ8;zNs$K9g$&$+!"$3$l$G=*$o$kL>A0$N%[%9%H$N%"%/%;%9$,5v2D$5$l$^$9!#(B - $B3FItJ,$,40A4$K9g$&$b$N$@$1$KE,MQ$5$l$^$9$N$G!">e$NNc$O(B - <code>foo.apache.org</code> $B$K$O%^%C%A$7$^$9$,!"(B - <code>fooapache.org</code> $B$K$O%^%C%A$7$^$;$s!#(B - $B$3$N@_Dj$r$9$k$H!"%5!<%P$O(B - <a href="core.html#hostnamelookups">HostnameLookups</a> - $B$N@_Dj$K4X$o$i$:!"%/%i%$%"%s%H$N(B IP $B%"%I%l%9$KBP$7$F(B - DNS $B$NFs=E$N5U0z$-$r9T$J$$$^$9!#$3$l$O(B IP $B%"%I%l%9$G(B DNS - $B$N5U0z$-$r9T$J$C$F$=$l$K4XO"IU$1$i$l$?%[%9%HL>$r8+$D$1!"(B - $B$=$l$+$i%[%9%HL>$G@50z$-$r9T$J$C$F%*%j%8%J%k$N(B IP - $B%"%I%l%9$H0lCW$9$k$+3NG'$7$^$9!#%"%/%;%9$O@50z$-$H5U0z$-$KL7=b$,L5$/!"(B - $B%[%9%HL>$,0lCW$7$?>l9g$K8B$j5v2D$5$l$^$9!#(B</dd> - - <dt>$B40A4$J(B IP $B%"%I%l%9(B</dt> - - <dd>$BNc(B: <code>Allow from 10.1.2.3</code><br /> - $B%"%/%;%9$r5v2D$9$k(B IP $B%"%I%l%9$G$9!#(B</dd> - - <dt>IP $B%"%I%l%9$N0lIt(B</dt> - - <dd>$BNc(B: <code>Allow from 10.1</code><br /> - $B%5%V%M%C%H$N@)8BMQ$N!"(BIP - $B%"%I%l%9$N:G=i$N0l$D$+$i;0$D$^$G$N%P%$%H$G$9!#(B</dd> - - <dt>$B%M%C%H%o!<%/(B/$B%M%C%H%^%9%/(B $B$NBP(B</dt> - - <dd>$BNc(B: <code>Allow from 10.1.0.0/255.255.0.0</code><br /> - $B%M%C%H%o!<%/(B a.b.c.d $B$H%M%C%H%^%9%/(B w.x.y.z $B$G$9!#(B - $B$h$j:YN3EY$N%5%V%M%C%H@)8BMQ$G$9!#(B(Apache 1.3 $B0J9_(B)</dd> - - <dt>$B%M%C%H%o!<%/(B/nnn CIDR $B;XDj(B</dt> - - <dd>$BNc(B: <code>Allow from 10.1.0.0/16</code><br /> - $B%M%C%H%^%9%/$,(B nnn $B$N>e0L%S%C%H$,(B 1 - $B$H$J$C$F$$$k$b$N$+$i$J$k$3$H0J30$OA0$N$b$N$HF1$8$G$9!#(B - (Apache 1.3 $B0J9_(B)</dd> - </dl> - - <p>$BCm(B: $B:G8e$N;0$D$NNc$O$^$C$?$/F1$8%[%9%H$K9g$$$^$9!#(B</p> - - - <p><code>Allow</code> $B%G%#%l%/%F%#%V$N0z?t$N;0$DL\$N7A<0$O!"(B - <a href="../env.html">$B4D6-JQ?t(B</a> - $B$NB8:_$K$h$j%"%/%;%9$N@)8f$r9T$J$($k$h$&$K$9$k$b$N$G$9!#(B - <code>Allow from env=</code><em>variablename</em> - $B$,;XDj$5$l$F$$$k$H!"4D6-JQ?t(B <em>variablename</em> - $B$,B8:_$7$?>l9g$K%j%/%(%9%H$O%"%/%;%9$r5v2D$5$l$^$9!#%5!<%P$O(B - <a href="mod_setenvif.html">mod_setenvif</a> - $B$N%G%#%l%/%F%#%V$K$h$j!"%/%i%$%"%s%H$N%j%/%(%9%H(B - $B$NFCD'$K4p$E$$$F=@Fp$K4D6-JQ?t$r@_Dj$9$k5!G=$rDs6!$7$^$9!#(B - $B$G$9$+$i!"$3$N%G%#%l%/%F%#%V$O%/%i%$%"%s%H$N(B - <code>User-Agent</code> ($B%V%i%&%6$N<oN`(B)$B!"(B<code>Referer</code> - $B$dB>$N(B HTTP $B%j%/%(%9%H$N%X%C%@%U%#!<%k%I$J$I$K4p$E$$$F(B - $B%"%/%;%95v2D$r$9$k$?$a$K;H$&$3$H$,$G$-$^$9!#(B - </p> - - <p>$BNc(B:</p> - - <blockquote> -<pre> -SetEnvIf User-Agent ^KnockKnock/2.0 let_me_in -<Directory /docroot> - Order Deny,Allow - Deny from all - Allow from env=let_me_in -</Directory> -</pre> - </blockquote> - - <p>$B$3$N>l9g!"(Buser-agent $B$NJ8;zNs$,(B <tt>KnockKnock/2.0</tt> - $B$G;O$^$k%V%i%&%6$N$_$,%"%/%;%9$r5v2D$5$l!"(B - $BB>$N$b$N$O%"%/%;%9$r5qH]$5$l$^$9!#(B</p> - - <p><a href="#deny">Deny</a>, <a href="#order">Order</a>, - <a href="mod_setenvif.html#setenvif">SetEnvIf</a> - $B%G%#%l%/%F%#%V$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="deny" name="deny">Deny</a> <a id="denyfromenv" - name="denyfromenv">$B%G%#%l%/%F%#%V(B</a></h2> - - <p> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> Deny from - all|<em>host</em>|env=<em>variablename</em> - [<em>host</em>|env=<em>variablename</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B - .htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> Limit<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_access</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O%[%9%HL>!"(BIP - $B%"%I%l%9!"4D6-JQ?t$K4p$E$$$F%5!<%P$X$N%"%/%;%9$r@)8B$7$^$9!#(B - <code>Deny</code> $B%G%#%l%/%F%#%V$N0z?t$O(B <a href="#allow">Allow</a> - $B%G%#%l%/%F%#%V$H$^$C$?$/F1$8$G$9!#(B</p> - - <p><a href="#allow">Allow</a>, <a href="#order">Order</a>, - <a href="mod_setenvif.html#setenvif">SetEnvIf</a> - $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="order" name="order">Order $B%G%#%l%/%F%#%V(B</a></h2> - - <p> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> Order - <em>ordering</em><br /> - <a href="directive-dict.html#default" - rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>Order - Deny,Allow</code><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j!"(B - .htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> Limit<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_access</p> - - <p><code>Order</code> $B%G%#%l%/%F%#%V$O%G%U%)%k%H$N%"%/%;%9$N>uBV$H(B - <a href="#allow">Allow</a> $B%G%#%l%/%F%#%V$H(B <a href="#deny">Deny</a> - $B%G%#%l%/%F%#%V$,I>2A$5$l$k=gHV$r@)8f$7$^$9!#(B - <em>Ordering</em> $B$O0J2<$N$I$l$+$G$9!#(B</p> - - <dl> - <dt>Deny,Allow</dt> - - <dd><code>Deny</code> $B%G%#%l%/%F%#%V$,(B <code>Allow</code> - $B%G%#%l%/%F%#%V$NA0$KI>2A$5$l$^$9!#(B - $B%"%/%;%9$O%G%U%)%k%H$G5v2D$5$l$^$9!#(B<code>Deny</code> - $B%G%#%l%/%F%#%V$K9g$o$J$$$+!"(B<code>Allow</code> - $B%G%#%l%/%F%#%V$K9g$&%/%i%$%"%s%H$O%"%/%;%9$r5v2D$5$l$^$9!#(B</dd> - - <dt>Allow,Deny</dt> - - <dd><code>Allow</code> $B%G%#%l%/%F%#%V$,(B <code>Deny</code> - $B%G%#%l%/%F%#%V$NA0$KI>2A$5$l$^$9!#(B - $B%"%/%;%9$O%G%U%)%k%H$G5qH]$5$l$^$9!#(B<code>Allow</code> - $B%G%#%l%/%F%#%V$K9g$o$J$$$+!"(B<code>Deny</code> - $B%G%#%l%/%F%#%V$K9g$&%/%i%$%"%s%H$O%"%/%;%9$r5qH]$5$l$^$9!#(B - </dd> - - <dt>Mutual-failure</dt> - - <dd><code>Allow</code> $B$N%j%9%H$K8=$l$F!"(B<code>Deny</code> - $B$N%j%9%H$K8=$l$J$$%[%9%H$N$_$,%"%/%;%9$r5v2D$5$l$^$9!#(B - $B$3$N=gHVIU$1$O(B <code>Order Allow,Deny</code> $B$HF1$88z2L$r;}$A!"(B - $B$=$N@_Dj$NJ}$,9%$^$7$$$?$a$KHs?d>)$H$J$C$F$$$^$9!#(B</dd> - </dl> - - <p>$B%-!<%o!<%I$O%3%s%^$GJ,N%$9$k$3$H$@$1$,2DG=$G$9!#(B - $B4V$K6uGr$,$"$C$F$O$$$1$^$;$s!#$I$N>l9g$G$b!"(B<code>Allow</code> $B$H(B - <code>Deny</code> $BJ8$OA4$FI>2A$5$l$k$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B - </p> - - <p>$B0J2<$NNc$G$O!"(Bapache.org - $B%I%a%$%s$N$9$Y$F$N%[%9%H$O%"%/%;%9$r5v2D$5$l$^$9!#(B - $BB>$N$9$Y$F$N%[%9%H$O%"%/%;%9$r5qH]$5$l$^$9!#(B</p> - - <blockquote> - <code>Order Deny,Allow<br /> - Deny from all<br /> - Allow from apache.org<br /> - </code> - </blockquote> - - <p>$B<!$NNc$G$O!"(Bfoo.apache.org $B%5%V%I%a%$%s$K$"$k%[%9%H0J30$N!"(B - apache.org $B%I%a%$%s$N$9$Y$F$N%[%9%H$,%"%/%;%9$r5v2D$5$l$^$9!#(B - apache.org - $B%I%a%$%s$G$J$$%[%9%H$O!"%G%U%)%k%H$N>uBV$,%"%/%;%95qH]$N$?$a!"(B - $B%5!<%P$X$N%"%/%;%9$r5qH]$5$l$^$9!#(B</p> - - <blockquote> - <code>Order Allow,Deny<br /> - Allow from apache.org<br /> - Deny from foo.apache.org<br /> - </code> - </blockquote> - - <p>$B0lJ}!">e$NNc$N(B <code>Order</code> $B$,(B <code>Deny,Allow</code> - $B$KJQ$o$C$F$$$l$P!"$9$Y$N%[%9%H$K%"%/%;%9$,5v2D$5$l$^$9!#(B - $B$3$l$O!"@_Dj%U%!%$%kCf$N<B:]$N=gHV$K4X$o$i$:!"(B - <code>Allow from apache.org</code> $B$,:G8e$KI>2A$5$l$F!"(B - <code>Deny from foo.apache.org</code> $B$r>e=q$-$9$k$+$i$G$9!#(B - <code>apache.org</code> - $B%I%a%$%s$K$J$$%[%9%H$b!"%G%U%)%k%H$N>uBV$,(B <em>allow</em> - $B$KJQ2=$9$k$?$a$K!"%"%/%;%9$r5v2D$5$l$^$9!#(B - </p> - - <p><code>Order</code> - $B%G%#%l%/%F%#%V$O%G%U%)%k%H$N%"%/%;%9$N>uBV$K1F6A$rM?$($k$N$G!"(B - <code>Allow</code> $B%G%#%l%/%F%#%V$H(B <code>Deny</code> - $B%G%#%l%/%F%#%V$,L5$/$F$b!"%5!<%P$N%"%/%;%9$K1F6A$rM?$($k$3$H$,$G$-$^$9!#(B - $B$?$H$($P!"(B</p> - - <blockquote> - <code><Directory /www><br /> - Order Allow,Deny<br /> - </Directory></code> - </blockquote> - - <p>$B$O%G%U%)%k%H$N%"%/%;%9>uBV$,(B <em>deny</em> $B$K$J$k$?$a!"(B - <code>/www</code> $B%G%#%l%/%H%j$X$N$9$Y$F$N%"%/%;%9$r5qH]$7$^$9!#(B - </p> - - <p><code>Order</code> - $B%G%#%l%/%F%#%V$O%5!<%P$N@_Dj=hM}$N3FCJ3,$G$@$1(B - $B%"%/%;%9%G%#%l%/%F%#%V$N=hM}$N=gHV$rJQ99$7$^$9!#$3$l$O!"$?$H$($P!"(B - <code>Order</code> $B%G%#%l%/%F%#%V$N@_Dj$K4X$o$i$:!"(B - <Location> $B%;%/%7%g%s$N(B <code>Allow</code> $B%G%#%l%/%F%#%V$d(B - <code>Deny</code> $B%G%#%l%/%F%#%V$O!"(B<Directory> $B%;%/%7%g%s$d(B - <code>.htaccess</code> $B%U%!%$%k$N(B <code>Allow</code> - $B%G%#%l%/%F%#%V$d(B <code>Deny</code> - $B%G%#%l%/%F%#%V$h$j$b>o$K8e$KI>2A$5$l$k$H$$$&$3$H$r0UL#$7$^$9!#(B - $B@_Dj%;%/%7%g%s$N%^!<%8$N>\:Y$K$D$$$F$O!"(B - <a href="../sections.html">Directory,Location, Files - $B%;%/%7%g%s$NF0:nJ}K!(B</a> $B$r;2>H$7$F$/$@$5$$!#(B</p> - - <p><a href="#deny">Deny</a> $B$H(B <a href="#allow">Allow</a> - $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_actions.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_actions.html.en deleted file mode 100644 index 642e8c8c70f..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_actions.html.en +++ /dev/null @@ -1,163 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Module mod_actions</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_actions</h1> - - <p>This module provides for executing CGI scripts based on - media type or request method.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> - mod_actions.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - action_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.1 and later.</p> - - <h2>Summary</h2> - - <p>This module has two directives. The Action directive lets - you run CGI scripts whenever a file of a certain type is - requested. The Script directive lets you run CGI scripts - whenever a particular method is used in a request. This makes - it much easier to execute scripts that process files.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#action">Action</a></li> - - <li><a href="#script">Script</a></li> - </ul> - <hr /> - - <h2><a id="action" name="action">Action directive</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Action <em>action-type - cgi-script</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_actions<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Action is only - available in Apache 1.1 and later</p> - - <p>This directive adds an action, which will activate - <em>cgi-script</em> when <em>action-type</em> is triggered by the - request. The <i>cgi-script</i> is the URL-path to a resource that - has been configured as a CGI script using <code>ScriptAlias</code> - or <code>AddHandler</code>. The <em>action-type</em> can be either - a <a href="../handler.html">handler</a> or a MIME content type. It - sends the URL and file path of the requested document using the - standard CGI PATH_INFO and PATH_TRANSLATED environment - variables.</p> - - <p>Examples:</p> - <pre> - # Requests for files of a particular type: - Action image/gif /cgi-bin/images.cgi - - # Files of a particular file extension - AddHandler my-file-type .xyz - Action my-file-type /cgi-bin/program.cgi - </pre> - - <p>In the first example, requests for files with a MIME content - type of <code>image/gif</code> will instead be handled by the - specified cgi script <code>/cgi-bin/images.cgi</code>.</p> - - <p>In the second example, requests for files with a file extension of - <code>.xyz</code> are handled instead by the specified cgi script - <code>/cgi-bin/program.cgi</code>.</p> - - <p><strong>See also</strong>: <a - href="mod_mime.html#addhandler">AddHandler</a></p> - - <hr /> - - <h2><a id="script" name="script">Script directive</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Script <em>method - cgi-script</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_actions<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Script is only - available in Apache 1.1 and later; arbitrary method use is only - available with 1.3.10 and later</p> - - <p>This directive adds an action, which will activate - <i>cgi-script</i> when a file is requested using the method of - <i>method</i>. The <i>cgi-script</i> is the URL-path to a resource - that has been configured as a CGI script using - <code>ScriptAlias</code> or <code>AddHandler</code>. The URL and - file path of the requested document is sent using the standard CGI - PATH_INFO and PATH_TRANSLATED environment variables.</p> - - <blockquote> - Prior to Apache 1.3.10, <i>method</i> can only be one of - <code>GET</code>, <code>POST</code>, <code>PUT</code>, or - <code>DELETE</code>. As of 1.3.10, any arbitrary method name - may be used. <b>Method names are case-sensitive</b>, so - <code>Script PUT</code> and <code>Script put</code> - have two entirely different effects. - </blockquote> - - <p>Note that the Script command defines default actions only. - If a CGI script is called, or some other resource that is - capable of handling the requested method internally, it will do - so. Also note that Script with a method of <code>GET</code> - will only be called if there are query arguments present - (<em>e.g.</em>, foo.html?hi). Otherwise, the request will - proceed normally.</p> - - <p>Examples:</p> -<pre> - # For <ISINDEX>-style searching - Script GET /cgi-bin/search - # A CGI PUT handler - Script PUT /~bob/put.cgi -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_actions.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_actions.html.ja.jis deleted file mode 100644 index 75bdec448db..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_actions.html.ja.jis +++ /dev/null @@ -1,164 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Module mod_actions</title> - - </head> - <!-- English revision: 1.19 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_actions $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O%a%G%#%"%?%$%W$d%j%/%(%9%H%a%=%C%I$K1~$8$F(B - CGI $B%9%/%j%W%H$r<B9T$9$k5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - mod_actions.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - action_module<br /> - <a href="module-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> - Apache 1.1 $B0J9_$G$N$_;HMQ2DG=!#(B</p> - - <h2>$B35MW(B</h2> - - <p>$B$3$N%b%8%e!<%k$K$OFs$D$N%G%#%l%/%F%#%V$,$"$j$^$9!#(BAction - $B%G%#%l%/%F%#%V$OFCDj$N%?%$%W$N%U%!%$%k$r%j%/%(%9%H$5$l$?>l9g$K(B - CGI $B%9%/%j%W%H$,<B9T$5$l$k$h$&$K$7$^$9!#(BScript - $B%G%#%l%/%F%#%V$O%j%/%(%9%H$GFCDj$N%a%=%C%I$,;HMQ$5$l$?$H$-$K(B CGI - $B%9%/%j%W%H$,<B9T$5$l$k$h$&$K$7$^$9!#(B - $B$3$l$O%U%!%$%k$r=hM}$9$k%9%/%j%W%H$N<B9T$r$:$C$H4JC1$K$7$^$9!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#action">Action</a></li> - <li><a href="#script">Script</a></li> - </ul> - <hr /> - - <h2><a id="action" name="action">Action $B%G%#%l%/%F%#%V(B</a></h2> - - <p><a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> Action <em>action-type - cgi-script</em><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"(B $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_actions<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> - Apache 1.1 $B0J9_$G$N$_;HMQ2DG=!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O(B <em>action-type</em> - $B$,%j%/%(%9%H$5$l$?$H$-$K(B <em>cgi-script</em> - $B$,<B9T$5$l$k$H$$$&F0:n$rDI2C$7$^$9!#(B<i>cgi-script</i> $B$O(B - <code>ScriptAlias</code> $B$d(B <code>AddHandler</code> $B$K$h$C$F(B - CGI $B%9%/%j%W%H$K@_Dj$5$l$?%j%=!<%9$X$N(B URL-path $B$G$9!#(B - <em>Action-type</em> $B$K$O(B - <a href="../handler.html">handler</a> $B$+(B MIME - $B%3%s%F%s%H%?%$%W$r;XDj$G$-$^$9!#%j%/%(%9%H$5$l$?%I%-%e%a%s%H$N(B URL - $B$H%U%!%$%k$N%Q%9$OI8=`(B CGI $B4D6-JQ?t(B PATH_INFO $B$H(B PATH_TRANSLATED - $B$r;H$C$FEA$($i$l$^$9!#(B</p> - - <p>$BNc(B:</p> - <pre> - # Requests for files of a particular type: - Action image/gif /cgi-bin/images.cgi - - # Files of a particular file extension - AddHandler my-file-type .xyz - Action my-file-type /cgi-bin/program.cgi - </pre> - - <p>$B:G=i$NNc$G$O!"(BMIME $B%3%s%F%s%H%?%$%W$,(B <code>image/gif</code> - $B$N%U%!%$%k$X$N%j%/%(%9%H$O!"$=$N%U%!%$%k$NBe$o$j$K;XDj$5$l$?%9%/%j%W%H(B - <code>/cgi-bin/images.cgi</code> $B$,8F$P$l$^$9!#(B</p> - - <p>2 $BHVL\$NNc$G$O!"3HD%;R$,(B <code>.xyz</code> $B$N%U%!%$%k$X$N%j%/%(%9%H$O!"(B - $B$=$N%U%!%$%k$NBe$o$j$K;XDj$5$l$?%9%/%j%W%H(B - <code>/cgi-bin/program.cgi</code> $B$,8F$P$l$^$9!#(B</p> - - <p><a href="mod_mime.html#addhandler">AddHandler</a> - $B$b(B<strong>$B;2>H(B</strong>$B$7$F$/$@$5$$(B</p> - - <hr /> - - <h2><a id="script" name="script">Script $B%G%#%l%/%F%#%V(B</a></h2> - - <p><a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> Script <em>method - cgi-script</em><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"(B $B%G%#%l%/%H%j(B<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_actions<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> Script $B$O(B Apache 1.1 - $B0J9_$G$N$_;HMQ2DG=!#G$0U$N%a%=%C%I$N;HMQ$O(B 1.3.10 - $B0J9_$G$N$_;HMQ2DG=!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O(B <i>method</i> - $B$H$$$&%a%=%C%I$r;H$C$F%j%/%(%9%H$,9T$J$o$l$?$H$-$K(B - <i>cgi-script</i> $B$r<B9T$9$k$H$$$&F0:n$rDI2C$7$^$9!#(B - <i>cgi-script</i> $B$O(B - <code>ScriptAlias</code> $B$d(B <code>AddHandler</code> $B$K$h$C$F(B - CGI $B%9%/%j%W%H$K@_Dj$5$l$?%j%=!<%9$X$N(B URL-path $B$G$9!#(B - $B%j%/%(%9%H$5$l$?%I%-%e%a%s%H$N(B URL $B$H%U%!%$%k$N%Q%9$OI8=`(B CGI - $B4D6-JQ?t(B PATH_INFO $B$H(B PATH_TRANSLATED $B$r;H$C$FEA$($i$l$^$9!#(B</p> - - <blockquote> - Apache 1.3.10 $B$h$jA0$G$O!"(B<i>method</i> $B$O(B <code>GET</code>, - <code>POST</code>, <code>PUT</code>, <code>DELETE</code> - $B$@$1$,;XDj2DG=$G$7$?!#(B1.3.10 - $B$G$O!"G$0U$N%a%=%C%IL>$r;HMQ$9$k$3$H$,$G$-$^$9!#(B - <b>$B%a%=%C%IL>$OBgJ8;z>.J8;z$r6hJL$7$^$9(B</b>$B!#$G$9$+$i!"(B - <code>Script PUT</code> $B$H(B <code>Script put</code> - $B$O$^$C$?$/0c$C$?8z2L$K$J$j$^$9!#(B - </blockquote> - - <p>Script $B%3%^%s%I$O%G%U%)%k%H$NF0:n$rDI2C$9$k$@$1$G$"$k$3$H$K(B - $BCm0U$7$F$/$@$5$$!#$b$7(B CGI $B%9%/%j%W%H$,8F$P$l$?$j!"%j%/%(%9%H$5$l$?(B - $B%a%=%C%I$rFbIt$G07$&$3$H$N$G$-$kB>$N%j%=!<%9$,$"$l$P!"$=$l$,9T$J$o$l$^$9!#(B - <code>GET</code> $B%a%=%C%I$N(B Script $B$OLd9g$;0z?t$,$"$k>l9g$K$N$_(B - (<em>$B$?$H$($P(B</em>$B!"(Bfoo.html?hi) $B8F$P$l$k$H$$$&$3$H$K$bCm0U$7$F$/$@$5$$!#(B - $B$=$&$G$J$$>l9g$O!"%j%/%(%9%H$ODL>oDL$j=hM}$5$l$^$9!#(B</p> - - <p>$BNc(B:</p> -<pre> - # For <ISINDEX>-style searching - Script GET /cgi-bin/search - # A CGI PUT handler - Script PUT /~bob/put.cgi -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_alias.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_alias.html.en deleted file mode 100644 index 3a39c6dc001..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_alias.html.en +++ /dev/null @@ -1,395 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_alias</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_alias</h1> - - <p>This module provides for mapping different parts of the host - filesystem in the document tree, and for URL redirection.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_alias.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - alias_module</p> - - <h2>Summary</h2> - - <p>The directives contained in this module allow for - manipulation and control of URLs as requests arrive at the - server. The <code>Alias</code> and <code>ScriptAlias</code> - directives are used to map between URLs and filesystem paths. - This allows for content which is not directly under the <a - href="core.html#documentroot"><code>DocumentRoot</code></a> to - be served as part of the web document tree. The - <code>ScriptAlias</code> directive has the additional effect of - marking the target directory as containing only CGI - scripts.</p> - - <p>The <code>Redirect</code> directives are used to instruct - clients to make a new request with a different URL. They are - often used when a resource has moved to a new location.</p> - - <p>A more powerful and flexible set of directives for - manipulating URLs is contained in the <a - href="mod_rewrite.html"><code>mod_rewrite</code></a> - module.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#alias">Alias</a></li> - - <li><a href="#aliasmatch">AliasMatch</a></li> - - <li><a href="#redirect">Redirect</a></li> - - <li><a href="#redirectmatch">RedirectMatch</a></li> - - <li><a href="#redirecttemp">RedirectTemp</a></li> - - <li><a href="#redirectperm">RedirectPermanent</a></li> - - <li><a href="#scriptalias">ScriptAlias</a></li> - - <li><a href="#scriptaliasmatch">ScriptAliasMatch</a></li> - </ul> - <hr /> - - <h2><a id="alias" name="alias">Alias directive</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Alias <em>URL-path - file-path</em>|<em>directory-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_alias</p> - - <p>The Alias directive allows documents to be stored in the - local filesystem other than under the <a - href="core.html#documentroot">DocumentRoot</a>. URLs with a - (%-decoded) path beginning with <em>url-path</em> will be - mapped to local files beginning with - <em>directory-filename</em>.</p> - - <p>Example:</p> - - <blockquote> - <code>Alias /image /ftp/pub/image</code> - </blockquote> - - <p>A request for http://myserver/image/foo.gif would cause the - server to return the file /ftp/pub/image/foo.gif.</p> - - <p>Note that if you include a trailing / on the - <em>url-path</em> then the server will require a trailing / in - order to expand the alias. That is, if you use <code>Alias - /icons/ /usr/local/apache/icons/</code> then the url - <code>/icons</code> will not be aliased.</p> - - <p>Note that you may need to specify additional <a - href="core.html#directory"><code><Directory></code></a> - sections which cover the <em>destination</em> of aliases. - Aliasing occurs before <code><Directory></code> sections - are checked, so only the destination of aliases are affected. - (Note however <a - href="core.html#location"><code><Location></code></a> - sections are run through once before aliases are performed, so - they will apply.)</p> - - <p>See also <a href="#scriptalias">ScriptAlias</a>.</p> - <hr /> - - <h2><a id="aliasmatch" name="aliasmatch">AliasMatch</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AliasMatch <em>regex - file-path</em>|<em>directory-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.3 and later</p> - - <p>This directive is equivalent to <a href="#alias">Alias</a>, - but makes use of standard regular expressions, instead of - simple prefix matching. The supplied regular expression is - matched against the URL-path, and if it matches, the server - will substitute any parenthesized matches into the given string - and use it as a filename. For example, to activate the - <code>/icons</code> directory, one might use:</p> -<pre> - AliasMatch ^/icons(.*) /usr/local/apache/icons$1 -</pre> - <hr /> - - <h2><a id="redirect" name="redirect">Redirect - directive</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> Redirect - [<em>status</em>] <em>URL-path URL</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> The directory - and .htaccess context's are only available in versions 1.1 and - later. The <em>status</em> argument is only available in Apache - 1.2 or later.</p> - - <p>The Redirect directive maps an old URL into a new one. The - new URL is returned to the client which attempts to fetch it - again with the new address. <em>URL-path</em> a (%-decoded) - path; any requests for documents beginning with this path will - be returned a redirect error to a new (%-encoded) URL beginning - with <em>URL</em>.</p> - - <p>Example:</p> - - <blockquote> - <code>Redirect /service http://foo2.bar.com/service</code> - </blockquote> - - <p>If the client requests http://myserver/service/foo.txt, it - will be told to access http://foo2.bar.com/service/foo.txt - instead.</p> - - <p><strong>Note:</strong> Redirect directives take precedence - over Alias and ScriptAlias directives, irrespective of their - ordering in the configuration file. Also, <em>URL-path</em> - must be an absolute path, not a relative path, even when used - with .htaccess files or inside of <Directory> - sections.</p> - - <p>If no <em>status</em> argument is given, the redirect will - be "temporary" (HTTP status 302). This indicates to the client - that the resource has moved temporarily. The <em>status</em> - argument can be used to return other HTTP status codes:</p> - - <dl> - <dt>permanent</dt> - - <dd>Returns a permanent redirect status (301) indicating that - the resource has moved permanently.</dd> - - <dt>temp</dt> - - <dd>Returns a temporary redirect status (302). This is the - default.</dd> - - <dt>seeother</dt> - - <dd>Returns a "See Other" status (303) indicating that the - resource has been replaced.</dd> - - <dt>gone</dt> - - <dd>Returns a "Gone" status (410) indicating that the - resource has been permanently removed. When this status is - used the <em>url</em> argument should be omitted.</dd> - </dl> - - <p>Other status codes can be returned by giving the numeric - status code as the value of <em>status</em>. If the status is - between 300 and 399, the <em>url</em> argument must be present, - otherwise it must be omitted. Note that the status must be - known to the Apache code (see the function - <code>send_error_response</code> in http_protocol.c).</p> - - <p>Example:</p> - - <pre> - Redirect permanent /one http://example.com/two<br /> - Redirect 303 /two http://example.com/other - </pre> - <hr /> - - <h2><a id="redirectmatch" - name="redirectmatch">RedirectMatch</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RedirectMatch - [<em>status</em>] <em>regex URL</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.3 and later</p> - - <p>This directive is equivalent to <a - href="#redirect">Redirect</a>, but makes use of standard - regular expressions, instead of simple prefix matching. The - supplied regular expression is matched against the URL-path, - and if it matches, the server will substitute any parenthesized - matches into the given string and use it as a filename. For - example, to redirect all GIF files to like-named JPEG files on - another server, one might use:</p> -<pre> - RedirectMatch (.*)\.gif$ http://www.anotherserver.com$1.jpg -</pre> - <hr /> - - <h2><a id="redirecttemp" name="redirecttemp">RedirectTemp - directive</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RedirectTemp - <em>URL-path URL</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> This directive - is only available in Apache 1.2 and later</p> - - <p>This directive makes the client know that the Redirect is - only temporary (status 302). Exactly equivalent to - <code>Redirect temp</code>.</p> - <hr /> - - <h2><a id="redirectperm" name="redirectperm">RedirectPermanent - directive</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RedirectPermanent - <em>URL-path URL</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> This directive - is only available in Apache 1.2 and later</p> - - <p>This directive makes the client know that the Redirect is - permanent (status 301). Exactly equivalent to <code>Redirect - permanent</code>.</p> - <hr /> - - <h2><a id="scriptalias" name="scriptalias">ScriptAlias - directive</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ScriptAlias - <em>URL-path file-path</em>|<em>directory-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_alias</p> - - <p>The ScriptAlias directive has the same behavior as the <a - href="#alias">Alias</a> directive, except that in addition it - marks the target directory as containing CGI scripts that will be - processed by <a href="mod_cgi.html">mod_cgi</a>'s cgi-script - handler. URLs with a (%-decoded) path beginning with - <em>URL-path</em> will be mapped to scripts beginning with the - second argument which is a full pathname in the local - filesystem.</p> - - <p>Example:</p> - - <blockquote> - <code>ScriptAlias /cgi-bin/ /web/cgi-bin/</code> - </blockquote> - - <p>A request for http://myserver/cgi-bin/foo would cause the - server to run the script /web/cgi-bin/foo.</p> - <hr /> - - <h2><a id="scriptaliasmatch" - name="scriptaliasmatch">ScriptAliasMatch</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ScriptAliasMatch - <em>regex file-path</em>|<em>directory-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.3 and later</p> - - <p>This directive is equivalent to <a - href="#scriptalias">ScriptAlias</a>, but makes use of standard - regular expressions, instead of simple prefix matching. The - supplied regular expression is matched against the URL-path, - and if it matches, the server will substitute any parenthesized - matches into the given string and use it as a filename. For - example, to activate the standard <code>/cgi-bin</code>, one - might use:</p> -<pre> - ScriptAliasMatch ^/cgi-bin(.*) /usr/local/apache/cgi-bin$1 -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_alias.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_alias.html.ja.jis deleted file mode 100644 index b660dbc22a1..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_alias.html.ja.jis +++ /dev/null @@ -1,397 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_alias</title> - - </head> - <!-- English revision: 1.35 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_alias $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O!"%[%9%H%U%!%$%k%7%9%F%`>e$N$$$m$$$m$J0c$&>l=j$r(B - $B%I%-%e%a%s%H%D%j!<$K%^%C%W$9$k5!G=$H!"(B - URL $B$N%j%@%$%l%/%H$r9T$J$&5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_alias.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - alias_module</p> - - <h2>$B35MW(B</h2> - - <p>$B$3$N%b%8%e!<%k$N%G%#%l%/%F%#%V$O%5!<%P$K%j%/%(%9%H$,E~Ce$7$?$H$-$K(B - URL $B$NA`:n$d@)8f$r$9$k$3$H$r2DG=$K$7$^$9!#(B<code>Alias</code> - $B%G%#%l%/%F%#%V$H(B <code>ScriptAlias</code> $B%G%#%l%/%F%#%V$O(B - URL $B$H%U%!%$%k%7%9%F%`$N%Q%9$r%^%C%W$9$k$?$a$K;HMQ$5$l$^$9!#$3$l$O(B - <a href="core.html#documentroot"><code>DocumentRoot</code></a> - $B$N2<$K$J$$%I%-%e%a%s%H$r%&%'%V$N%I%-%e%a%s%H%D%j!<$N0lIt$H$7$F(B - $BAw$i$l$k$h$&$K$7$^$9!#(B<code>ScriptAlias</code> - $B%G%#%l%/%F%#%V$K$O%^%C%W@h$N%G%#%l%/%H%j$,(B CGI - $B%9%/%j%W%H$N$_$G$"$k$3$H$r<($9$H$$$&DI2C$N8z2L$,$"$j$^$9!#(B - </p> - - <p><code>Redirect</code> $B%G%#%l%/%F%#%V$O%/%i%$%"%s%H$K0c$C$?(B - URL $B$K?7$7$$%j%/%(%9%H$rAw$k$h$&$K;X<($7$^$9!#$3$l$O!"(B - $B%j%=!<%9$,?7$7$$>l=j$K0\F0$7$?$H$-$K$h$/;HMQ$5$l$^$9!#(B</p> - - <p>URL $B$rA`:n$9$k$?$a$N$h$j6/NO$G=@Fp$J%G%#%l%/%F%#%V72$O(B <a - href="mod_rewrite.html"><code>mod_rewrite</code></a> - $B%b%8%e!<%k$K$"$j$^$9!#(B - </p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#alias">Alias</a></li> - - <li><a href="#aliasmatch">AliasMatch</a></li> - - <li><a href="#redirect">Redirect</a></li> - - <li><a href="#redirectmatch">RedirectMatch</a></li> - - <li><a href="#redirecttemp">RedirectTemp</a></li> - - <li><a href="#redirectperm">RedirectPermanent</a></li> - - <li><a href="#scriptalias">ScriptAlias</a></li> - - <li><a href="#scriptaliasmatch">ScriptAliasMatch</a></li> - </ul> - <hr /> - - <h2><a id="alias" name="alias">Alias $B%G%#%l%/%F%#%V(B</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> Alias <em>URL-path - file-path</em>|<em>directory-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_alias</p> - - <p>Alias $B%G%#%l%/%F%#%V$O%I%-%e%a%s%H$r%m!<%+%k%U%!%$%k%7%9%F%`$N(B - <a href="core.html#documentroot">DocumentRoot</a> - $B0J30$N>l=j$KJ]4I$9$k$3$H$r2DG=$K$7$^$9!#(B<em>Url-path</em> - (% $B$,I|9f$5$l$?(B) $B$G;O$^$k%Q%9$N(B URL $B$O(B - <em>directory-filename</em> - $B$G;O$^$k%m!<%+%k%U%!%$%k$K%^%C%W$5$l$^$9!#(B</p> - - <p>$BNc(B:</p> - - <blockquote> - <code>Alias /image /ftp/pub/image</code> - </blockquote> - - <p>http://myserver/image/foo.gif $B$X$N%j%/%(%9%H$KBP$7$F!"%5!<%P$O(B - $B%U%!%$%k(B /ftp/pub/image/foo.gif $B$rJV$7$^$9!#(B</p> - - <p>$B$b$7(B <em>url-path</em> $B$N:G8e$K(B / - $B$r=q$$$?$J$i!"%5!<%P$O%(%$%j%"%9$rE83+$9$k$?$a$K:G8e$N(B / - $B$rMW5a$9$k$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#$9$J$o$A!"(B<code>Alias /icons/ - /usr/local/apache/icons/</code> $B$H$$$&$b$N$r;HMQ$7$F$$$k$H!"(B - <code>/icons</code> $B$H$$$&(B url $B$O%(%$%j%"%9$5$l$^$;$s!#(B</p> - - <p>$B%(%$%j%"%9$N(B<em>$B9T$-@h(B</em>$B$r4^$s$G$$$k(B <a - href="core.html#directory"><code><Directory></code></a> - $B%;%/%7%g%s$rDI2C$9$kI,MW$,$"$k$+$b$7$l$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B - $B%(%$%j%"%9$NE83+$O(B <code><Directory></code> - $B%;%/%7%g%s$rD4$Y$kA0$K9T$J$o$l$^$9$N$G!"(B - $B%(%$%j%"%9$N9T$-@h$N(B <code><Directory></code> $B%;%/%7%g%s$N$_(B - $B8z2L$,$"$j$^$9!#(B - ($B$7$+$7!"(B<a - href="core.html#location"><code><Location></code></a> - $B%;%/%7%g%s$O%(%$%j%"%9$,=hM}$5$l$kA0$K<B9T$5$l$^$9$N$G!"(B - $B$3$A$i$OE,MQ$5$l$^$9!#(B)</p> - - <p><a href="#scriptalias">ScriptAlias</a> - $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="aliasmatch" name="aliasmatch">AliasMatch</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AliasMatch <em>regex - file-path</em>|<em>directory-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 - $B0J9_$G;HMQ2DG=(B</p> - <p>$B$3$N%G%#%l%/%F%#%V$O(B <a href="#alias">Alias</a> - $B$H$[$H$s$IF1$8$G$9$,!"4JC1$J@hF,$+$i$N%^%C%A$r9T$J$&$N$G$O$J$/!"(B - $BI8=`@55,I=8=$rMxMQ$7$^$9!#$3$3$G;XDj$5$l$?@55,I=8=$H(B URL-path - $B$,9g$&$+$I$&$+$rD4$Y!"9g$&>l9g$O3g8L$G0O$^$l$?%^%C%A$r(B - $BM?$($i$l$?J8;zNs$GCV$-49$(!"$=$l$r%U%!%$%kL>$H$7$F;HMQ$7$^$9!#Nc$($P!"(B - <code>/icons</code> $B%G%#%l%/%H%j$r;HMQ$9$k$h$&$K$9$k(B - $B$?$a$K$O0J2<$N$h$&$J$b$N$,;HMQ$G$-$^$9(B:</p> -<pre> - AliasMatch ^/icons(.*) /usr/local/apache/icons$1 -</pre> - <hr /> - - <h2><a id="redirect" name="redirect">Redirect - $B%G%#%l%/%F%#%V(B</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> Redirect [<em>status</em>] - <em>URL-path URL</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"(B - $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> $B%G%#%l%/%H%j$H(B - .htaccess $B$N%3%s%F%-%9%H$O(B 1.1 $B0J9_$N$_!#(B<em>Status</em> - $B0z?t$O(B Apache 1.2 $B0J9_!#(B</p> - - <p>Redirect $B%G%#%l%/%F%#%V$O8E$$(B URL $B$r?7$7$$$b$N$X%^%C%W$7$^$9!#(B - $B?7$7$$(B URL $B$,%/%i%$%"%s%H$KJV$5$l$^$9!#$=$7$F!"(B - $B%/%i%$%"%s%H$O?7$7$$%"%I%l%9$r$b$&0l2s<hF@$7$h$&$H$7$^$9!#(B - <em>URL-path</em> (% $B$,I|9f$5$l$?(B) $B%Q%9$G;O$^$k%I%-%e%a%s%H$X$N(B - $B$9$Y$F$N%j%/%(%9%H$O(B <em>URL</em> $B$G;O$^$k?7$7$$(B - (% $B$,Id9f2=$5$l$?(B) URL $B$X$N%j%@%$%l%/%H%(%i!<$,JV$5$l$^$9!#(B</p> - - <p>$BNc(B:</p> - - <blockquote> - <code>Redirect /service http://foo2.bar.com/service</code> - </blockquote> - - <p>$B%/%i%$%"%s%H$O(B http://myserver/service/foo.txt - $B$X$N%j%/%(%9%H$r9T$J$&$H!"Be$o$j$K(B http://foo2.bar.com/service/foo.txt - $B$r%"%/%;%9$9$k$h$&$K9p$2$i$l$^$9!#(B</p> - - <p><strong>$BCm0U(B:</strong> - $B@_Dj%U%!%$%kCf$N=gHV$K4X$o$i$:!"(BRedirect $B%G%#%l%/%F%#%V$O(B Alias - $B%G%#%l%/%F%#%V$H(B ScriptAlias $B%G%#%l%/%F%#%V$h$j$bM%@h$5$l$^$9!#(B - $B$^$?!"(B.htaccess $B%U%!%$%k$d(B <Directory> - $B%;%/%7%g%s$NCf$G;H$o$l$F$$$?$H$7$F$b!"(B<em>URL-path</em> - $B$OAjBP%Q%9$G$O$J$/!"@dBP%Q%9$G$J$1$l$P$J$j$^$;$s!#(B</p> - - <p>$B$b$7(B <em>status</em> $B0z?t$,M?$($i$l$F$$$J$1$l$P!"%j%@%$%l%/%H$O(B - "temporary" (HTTP $B%9%F!<%?%9(B 302) $B$K$J$j$^$9!#$3$l$O%/%i%$%"%s%H$K(B - $B%j%=!<%9$,0l;~E*$K0\F0$7$?$H$$$&$3$H$r<($7$^$9!#(B<em>Status</em> - $B0z?t$O(B $BB>$N(B HTTP $B$N%9%F!<%?%9%3!<%I$rJV$9$?$a$K;HMQ$9$k$3$H$,$G$-$^$9(B:</p> - - <dl> - <dt>permanent</dt> - - <dd>$B1J5W$K%j%@%$%l%/%H$r$9$k%9%F!<%?%9(B (301) $B$rJV$7$^$9!#(B - $B$3$l$O%j%=!<%9$,1J5W$K0\F0$7$?$H$$$&$3$H$r0UL#$7$^$9!#(B</dd> - - <dt>temp</dt> - - <dd>$B0l;~E*$J%j%@%$%l%/%H%9%F!<%?%9(B (302) - $B$rJV$7$^$9!#$3$l$,%G%U%)%k%H$G$9!#(B</dd> - - <dt>seeother</dt> - - <dd>"See Other" $B%9%F!<%?%9(B (303) $B$rJV$7$^$9!#(B - $B$3$l$O%j%=!<%9$,B>$N$b$N$GCV$-49$($i$l$?$3$H$r0UL#$7$^$9!#(B</dd> - - <dt>gone</dt> - - <dd>"Gone" $B%9%F!<%?%9(B (410) $B$rJV$7$^$9!#$3$l$O%j%=!<%9$,1J5W$K(B - $B:o=|$5$l$?$3$H$r0UL#$7$^$9!#$3$N%9%F!<%?%9$,;HMQ$5$l$?>l9g!"(B - <em>url</em> $B0z?t$O>JN,$5$l$J$1$l$P$J$j$^$;$s!#(B</dd> - </dl> - - <p><em>Status</em> $B$NCM$K%9%F!<%?%9%3!<%I$r?tCM$GM?$($k$3$H$G(B - $BB>$N%9%F!<%?%9%3!<%I$bJV$9$3$H$,$G$-$^$9!#%9%F!<%?%9$,(B 300 $B$H(B 399 - $B$N4V$K$"$k>l9g!"(B<em>url</em> $B0z?t$OB8:_$7$F$$$J$1$l$P$$$1$^$;$s!#(B - $B$=$NB>$N>l9g$O>JN,$5$l$F$$$J$1$l$P$J$j$^$;$s!#$?$@$7!"(B - $B%9%F!<%?%9$O(B Apache $B$N%3!<%I$,CN$C$F$$$k$b$N$G$"$kI,MW$,$"$j$^$9(B - (http_protocol.c $B$N4X?t(B <code>send_error_response</code> - $B$r8+$F$/$@$5$$(B)$B!#(B</p> - <p>$BNc(B:</p> - - <pre> - Redirect permanent /one http://example.com/two<br /> - Redirect 303 /two http://example.com/other - </pre> - <hr /> - - <h2><a id="redirectmatch" - name="redirectmatch">RedirectMatch</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> RedirectMatch - [<em>status</em>] <em>regex URL</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 - $B0J9_$G;HMQ2DG=!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O(B <a href="#redirect">Redirect</a> - $B$H$[$H$s$IF1$8$G$9$,!"4JC1$J@hF,$+$i$N%^%C%A$r9T$J$&$N$G$O$J$/!"(B - $BI8=`@55,I=8=$rMxMQ$7$^$9!#$3$3$G;XDj$5$l$?@55,I=8=$H(B URL-path - $B$,9g$&$+$I$&$+$rD4$Y!"9g$&>l9g$O3g8L$G3g$i$l$?%^%C%A$r(B - $BM?$($i$l$?J8;zNs$GCV$-49$(!"$=$l$r%U%!%$%kL>$H$7$F;HMQ$7$^$9!#(B - $B$?$H$($P!"$9$Y$F$N(B GIF $B%U%!%$%k$rJL%5!<%P$NF1MM$JL>A0$N(B JPEG - $B%U%!%$%k$K%j%@%$%l%/%H$9$k$K$O!"0J2<$N$h$&$J$b$N$r;H$$$^$9(B: - </p> -<pre> - RedirectMatch (.*)\.gif$ http://www.anotherserver.com$1.jpg -</pre> - <hr /> - - <h2><a id="redirecttemp" name="redirecttemp">RedirectTemp - $B%G%#%l%/%F%#%V(B</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> RedirectTemp <em>URL-path - URL</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> - $B$3$N%G%#%l%/%F%#%V$O(B Apache 1.2 $B0J9_$G$N$_;HMQ2DG=(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O%/%i%$%"%s%H$K(B Redirect - $B$,0l;~E*$J$b$N$G$"$k(B ($B%9%F!<%?%9(B 302) $B$3$H$rCN$i$;$^$9!#(B - <code>Redirect temp</code> $B$H$^$C$?$/F1$8$G$9!#(B</p> - <hr /> - - <h2><a id="redirectperm" name="redirectperm">RedirectPermanent - $B%G%#%l%/%F%#%V(B</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> RedirectPermanent - <em>URL-path URL</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> - $B$3$N%G%#%l%/%F%#%V$O(B Apache 1.2 $B0J9_$G$N$_;HMQ2DG=!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O%/%i%$%"%s%H$K(B Redirect $B$,1J5WE*$J$b$N(B - ($B%9%F!<%?%9(B 301) $B$G$"$k$3$H$rCN$i$;$^$9!#(B - <code>Redirect premanent</code> $B$HA4$/F1$8$G$9!#(B</p> - <hr /> - - <h2><a id="scriptalias" name="scriptalias">ScriptAlias - $B%G%#%l%/%F%#%V(B</a></h2> - - <p> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ScriptAlias <em>URL-path - file-path</em>|<em>directory-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_alias</p> - - <p>ScriptAlias $B%G%#%l%/%F%#%V$O!"BP>]%G%#%l%/%H%j$K(B - <a href="mod_cgi.html">mod_cgi</a> $B$N(B cgi-script - $B%O%s%I%i$G=hM}$5$l$k(B CGI - $B%9%/%j%W%H$,$"$k$3$H$r<($90J30$O(B - <a href="#alias">Alias</a> - $B%G%#%l%/%F%#%V$HF1$8?6$kIq$$$r$7$^$9!#(B<em>URL-path</em> - (% $B$,I|9f$5$l$?(B) $B%Q%9$G(B $B;O$^$k(B URL $B$O%m!<%+%k$N%U%!%$%k%7%9%F%`$N(B - $B%U%k%Q%9$G$"$kFsHVL\$N0z?t$K%^%C%W$5$l$^$9!#(B</p> - - <p>$BNc(B:</p> - - <blockquote> - <code>ScriptAlias /cgi-bin/ /web/cgi-bin/</code> - </blockquote> - - <p>http://myserver/cgi-bin/foo $B$X$N%j%/%(%9%H$KBP$7$F%5!<%P$O%9%/%j%W%H(B - /web/cgi-bin/foo $B$r<B9T$7$^$9!#(B</p> - <hr /> - - <h2><a id="scriptaliasmatch" - name="scriptaliasmatch">ScriptAliasMatch</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ScriptAliasMatch <em>regex - file-path</em>|<em>directory-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_alias<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 - $B0J9_$G;HMQ2DG=(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O(B <a href="#scriptalias">ScriptAlias</a> - $B$H$[$H$s$IF1$8$G$9$,!"4JC1$J@hF,$+$i$N%^%C%A$r9T$J$&$N$G$O$J$/!"(B - $BI8=`@55,I=8=$rMxMQ$7$^$9!#$3$3$G;XDj$5$l$?@55,I=8=$H(B URL-path - $B$,9g$&$+$I$&$+$rD4$Y!"9g$&>l9g$O3g8L$G0O$^$l$?%^%C%A$r(B - $BM?$($i$l$?J8;zNs$GCV$-49$(!"$=$l$r%U%!%$%kL>$H$7$F;HMQ$7$^$9!#(B - $BNc$($P!"I8=`$N(B <code>/cgi-bin</code> - $B$r;HMQ$9$k$h$&$K$9$k$?$a$K$O!"0J2<$N$h$&$J$b$N$r;H$$$^$9(B: - </p> -<pre> - ScriptAliasMatch ^/cgi-bin(.*) /usr/local/apache/cgi-bin$1 -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_asis.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_asis.html.en deleted file mode 100644 index 55ae8e997c9..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_asis.html.en +++ /dev/null @@ -1,103 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_asis</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_asis</h1> - - <p>This module provides for sending files which contain their - own HTTP headers.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_asis.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - asis_module</p> - - <h2>Summary</h2> - - <p>This module provides the handler <code>send-as-is</code> - which causes Apache to send the document without adding most of - the usual HTTP headers.</p> - - <p>This can be used to send any kind of data from the server, - including redirects and other special HTTP responses, without - requiring a cgi-script or an nph script.</p> - - <p>For historical reasons, this module will also process any - file with the mime type <code>httpd/send-as-is</code>.</p> - - <h2>Directives</h2> - - <p>This module provides no directives.</p> - - <h2>Usage</h2> - - <p>In the server configuration file, associate files with the - <code>send-as-is</code> handler <em>e.g.</em></p> - - <blockquote> - <code>AddHandler send-as-is asis</code> - </blockquote> - The contents of any file with a <code>.asis</code> extension - will then be sent by Apache to the client with almost no - changes. Clients will need HTTP headers to be attached, so do - not forget them. A Status: header is also required; the data - should be the 3-digit HTTP response code, followed by a textual - message. - - <p>Here's an example of a file whose contents are sent <em>as - is</em> so as to tell the client that a file has - redirected.</p> - - <blockquote> - <code>Status: 301 Now where did I leave that URL<br /> - Location: http://xyz.abc.com/foo/bar.html<br /> - Content-type: text/html<br /> - <br /> - <HTML><br /> - <HEAD><br /> - <TITLE>Lame excuses'R'us</TITLE><br /> - </HEAD><br /> - <BODY><br /> - <H1>Fred's exceptionally wonderful page has moved - to<br /> - <A - HREF="http://xyz.abc.com/foo/bar.html">Joe's</A> - site.<br /> - </H1><br /> - </BODY><br /> - </HTML></code> - </blockquote> - - <p>Notes: the server always adds a Date: and Server: header to - the data returned to the client, so these should not be - included in the file. The server does <em>not</em> add a - Last-Modified header; it probably should. - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_asis.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_asis.html.ja.jis deleted file mode 100644 index ce19d13e16f..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_asis.html.ja.jis +++ /dev/null @@ -1,102 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_asis</title> - - </head> - <!-- English revision: 1.11--> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_asis $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O<+J,MQ$N(B HTTP - $B%X%C%@$,$"$k%U%!%$%k$rAw?.$9$k5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_asis.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - asis_module</p> - - <h2>$B35MW(B</h2> - - <p>$B$3$N%b%8%e!<%k$O%O%s%I%i(B <code>send-as-is</code> - $B$rDs6!$7$^$9!#$3$N%O%s%I%i$ODL>o$N(B HTTP - $B%X%C%@$r$[$H$s$IDI2C$9$k$3$H$J$/%I%-%e%a%s%H$rAw?.$7$^$9!#(B</p> - - <p>$B$3$l$O%5!<%P$+$i$I$s$J<oN`$N%G!<%?$rAw$k$H$-$K$b;HMQ$G$-$^$9!#(B - Cgi $B%9%/%j%W%H$d(B nph $B%9%/%j%W%H$,L5$/$F$b%j%@%$%l%/%H$dB>$NFCJL$J(B - HTTP $B1~Ez$rAw$k$3$H$,$G$-$^$9!#(B</p> - - <p>$BNr;KE*$JM}M3$K$h$j!"$3$N%b%8%e!<%k$O(B mime $B%?%$%W(B - <code>httpd/send-as-is</code> $B$N%U%!%$%k$b=hM}$7$^$9!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <p>$B$3$N%b%8%e!<%k$K$O%G%#%l%/%F%#%V$O$"$j$^$;$s!#(B</p> - - <h2>$B;HMQK!(B</h2> - - <p>$B%5!<%P@_Dj%U%!%$%k$G!"%U%!%$%k$H(B <code>send-as-is</code> - $B%O%s%I%i$rNc$($P0J2<$N$h$&$K4XO"IU$1$F$/$@$5$$!#(B</p> - - <blockquote> - <code>AddHandler send-as-is .asis</code> - </blockquote> - - <p>$B3HD%;R$,(B <code>.asis</code> $B$N$9$Y$F$N%U%!%$%k$NFbMF$O(B Apache - $B$+$i%/%i%$%"%s%H$X$[$H$s$IJQ99L5$/Aw$i$l$^$9!#%/%i%$%"%s%H$K$O(B - HTTP $B%X%C%@$,I,MW$G$9$N$G!"%U%!%$%k$K=q$/$3$H$rK:$l$J$$$G$/$@$5$$!#(B - Status: $B%X%C%@$bI,MW$G$9!#%G!<%?$O(B 3 $B7e$N(B HTTP - $B1~Ez%3!<%I$H!"$=$N8e$K%F%-%9%H%a%C%;!<%8$,B3$$$?$b$N$G$J$1$l$P$J$j$^$;$s!#(B - - $B$3$l$O%/%i%$%"%s%H$K%U%!%$%k$,0\F0$7$?$3$H$rCN$i$;$k$?$a$K(B - <em>as is</em> ($B$=$N$^$^(B) $B$GAw$i$l$k%U%!%$%k$NFbMF$NNc$G$9!#(B - </p> - - <blockquote> - <code>Status: 301 Now where did I leave that URL<br /> - Location: http://xyz.abc.com/foo/bar.html<br /> - Content-type: text/html<br /> - <br /> - <HTML><br /> - <HEAD><br /> - <TITLE>Lame excuses'R'us</TITLE><br /> - </HEAD><br /> - <BODY><br /> - <H1>Fred's exceptionally wonderful page has moved - to<br /> - <A - HREF="http://xyz.abc.com/foo/bar.html">Joe's</A> - site.<br /> - </H1><br /> - </BODY><br /> - </HTML></code> - </blockquote> - - <p>$BCm0U(B: $B%5!<%P$O%/%i%$%"%s%H$KJV$5$l$k%G!<%?$K>o$K(B Date: $B$H(B Server: - $B%X%C%@$rDI2C$7$^$9$N$G!"$=$l$i$,%U%!%$%k$K=q$+$l$F$$$F$O$$$1$^$;$s!#(B - $B%5!<%P$O(B Last-Modified $B%X%C%@$rDI2C(B<em>$B$7$^$;$s(B</em>$B!#(B - $B$*$=$i$/$O$=$&$9$Y$-$G$7$g$&$1$l$I!#(B - </p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_auth.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_auth.html.en deleted file mode 100644 index 7fabe112cfa..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_auth.html.en +++ /dev/null @@ -1,322 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_auth</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_auth</h1> - - <p>This module provides for user authentication using text - files.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_auth.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - auth_module</p> - - <h2>Summary</h2> - - <p>This module allows the use of HTTP Basic Authentication to - restrict access by looking up users in plain text password and - group files. Similar functionality and greater scalability is - provided by <a href="mod_auth_dbm.html">mod_auth_dbm</a> and <a - href="mod_auth_db.html">mod_auth_db</a>. HTTP Digest - Authentication is provided by <a - href="mod_auth_digest.html">mod_auth_digest</a>.</p> - - <p><b>Note that these credential-based security mechanisms are - only as strong as your Web server's security. As a rule, they - are <i>not</i> as strong as the operating system's own security - system.</b></p> - - <h2>Directives</h2> - - <ul> - <li><a href="#authgroupfile">AuthGroupFile</a></li> - - <li><a href="#authuserfile">AuthUserFile</a></li> - - <li><a href="#authauthoritative">AuthAuthoritative</a></li> - </ul> - - <p>See also: <a href="core.html#require">require</a>, <a - href="core.html#satisfy">satisfy</a>, and <a - href="#require">mod_auth require keywords</a>.</p> - <hr /> - - <h2><a id="require" name="require"><code>mod_auth</code> - Require Keywords</a></h2> - - <p>The <code>mod_auth</code> module supports the following - keywords that can be given to the <a - href="core.html#require">Require</a> directive:</p> - - <dl compact="compact"> - <dt><code>user <i>username</i> [...]</code></dt> - - <dd>The supplied username and password must be in the <a - href="#authuserfile">AuthUserFile</a> database, and the - username must also be one of those listed on the Require - directive.</dd> - - <dt><code>group <i>groupname</i> [...]</code></dt> - - <dd>The supplied username and password must be in the <a - href="#authuserfile">AuthUserFile</a> database, and the - username must also be a member of one of the named groups in - the <a href="#authgroupfile">AuthGroupFile</a> database.</dd> - - <dt><code>valid-user</code></dt> - - <dd>The supplied username and password must be in the <a - href="#authuserfile">AuthUserFile</a> database. Any valid - username from that file will be allowed.</dd> - - <dt><code>file-owner</code></dt> - - <dd>[Available after Apache 1.3.20] The supplied username and - password must be in the <a - href="#authuserfile">AuthUserFile</a> database, and the - username must also match the system's name for the owner of - the file being requested. That is, if the operating system - say the requested file is owned by <code>jones</code>, then - the username used to access it through the Web must be - <code>jones</code> as well.</dd> - - <dt><code>file-group</code></dt> - - <dd>[Available after Apache 1.3.20] The supplied username and - password must be in the <a - href="#authuserfile">AuthUserFile</a> database, the name of - the group that owns the file must be in the <a - href="#authgroupfile">AuthGroupFile</a> database, and the - username must be a member of that group. For example, if the - operating system says the requested file is owned by group - <code>accounts</code>, the group <code>accounts</code> must - be in the AuthGroupFile database and the username used in the - request must be a member of that group.</dd> - </dl> - <hr /> - - <h2><a id="example" name="example">Example of <code>Require - file-owner</code></a></h2> - - <p>Consider a multi-user system running the Apache Web server, - with each user having his or her own files in - <code>~/public_html/private</code>. Assuming that there is a - single AuthUserFile database that lists all of their usernames, - and that their Web usernames match the ones that actually own - the files on the server, then the following stanza would allow - only the user himself access to his own files. User - <code>jones</code> would not be allowed to access files in - <code>/home/smith/public_html/private</code> unless they were - owned by <code>jones</code> instead of <code>smith</code>.</p> -<pre> - <Directory /home/*/public_html/private> - AuthType Basic - AuthName MyPrivateFile - AuthUserFile /usr/local/apache/etc/.htpasswd-allusers - Satisfy All - Require file-owner - </Directory> -</pre> - <hr /> - - <h2><a id="authgroupfile" - name="authgroupfile">AuthGroupFile</a> directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AuthGroupFile - <em>file-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_auth - - <p>The AuthGroupFile directive sets the name of a textual file - containing the list of user groups for user authentication. - <em>File-path</em> is the path to the group file. If it is not - absolute (<em>i.e.</em>, if it doesn't begin with a slash), it - is treated as relative to the ServerRoot.</p> - - <p>Each line of the group file contains a groupname followed by - a colon, followed by the member usernames separated by spaces. - Example:</p> - - <blockquote> - <code>mygroup: bob joe anne</code> - </blockquote> - Note that searching large text files is <em>very</em> - inefficient; <a - href="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a> - should be used instead. - - <p>Security: make sure that the AuthGroupFile is stored outside - the document tree of the web-server; do <em>not</em> put it in - the directory that it protects. Otherwise, clients will be able - to download the AuthGroupFile.</p> - - <p>See also <a href="core.html#authname">AuthName</a>, <a - href="core.html#authtype">AuthType</a> and <a - href="#authuserfile">AuthUserFile</a>.</p> - <hr /> - - <h2><a id="authuserfile" name="authuserfile">AuthUserFile</a> - directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AuthUserFile - <em>file-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_auth - - <p>The AuthUserFile directive sets the name of a textual file - containing the list of users and passwords for user - authentication. <em>File-path</em> is the path to the user - file. If it is not absolute (<em>i.e.</em>, if it doesn't begin - with a slash), it is treated as relative to the ServerRoot.</p> - - <p>Each line of the user file contains a username followed by a - colon, followed by the <code>crypt()</code> encrypted password. - The behavior of multiple occurrences of the same user is - undefined.</p> - - <p>The utility <a href="../programs/htpasswd.html">htpasswd</a> - which is installed as part of the binary distribution, or which - can be found in <code>src/support</code>, is used to maintain - this password file. See the <code>man</code> page for more - details. In short</p> - - <blockquote> - <code>htpasswd -c Filename username</code><br /> - Create a password file 'Filename' with 'username' as the - initial ID. It will prompt for the password. <code>htpasswd - Filename username2</code><br /> - Adds or modifies in password file 'Filename' the 'username'. - </blockquote> - - <p>Note that searching large text files is <em>very</em> - inefficient; <a - href="mod_auth_dbm.html#authdbmuserfile">AuthDBMUserFile</a> - should be used instead.</p> - - <dl> - <dt><b>Security:</b></dt> - - <dd>Make sure that the AuthUserFile is stored outside the - document tree of the web-server; do <em>not</em> put it in - the directory that it protects. Otherwise, clients may be - able to download the AuthUserFile.</dd> - - <dd>Also be aware that null usernames are permitted, and null - passwords as well (through Apache 1.3.20). If your - AuthUserFile includes a line containing only a colon (':'), a - '<code>Require valid-user</code>' will allow access if both - the username and password in the credentials are - omitted.</dd> - </dl> - See also <a href="core.html#authname">AuthName</a>, <a - href="core.html#authtype">AuthType</a> and <a - href="#authgroupfile">AuthGroupFile</a>. - <hr /> - - <h2><a id="authauthoritative" - name="authauthoritative">AuthAuthoritative</a> directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AuthAuthoritative - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> - <code>AuthAuthoritative on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_auth - - <p>Setting the AuthAuthoritative directive explicitly to - <strong>'off'</strong> allows for both authentication and - authorization to be passed on to lower level modules (as - defined in the <code>Configuration</code> and - <code>modules.c</code> files) if there is <strong>no - userID</strong> or <strong>rule</strong> matching the supplied - userID. If there is a userID and/or rule specified; the usual - password and access checks will be applied and a failure will - give an Authorization Required reply.</p> - - <p>So if a userID appears in the database of more than one - module; or if a valid <code>Require</code> directive applies to - more than one module; then the first module will verify the - credentials; and no access is passed on; regardless of the - AuthAuthoritative setting.</p> - - <p>A common use for this is in conjunction with one of the - database modules; such as <a - href="mod_auth_db.html"><code>mod_auth_db.c</code></a>, <a - href="mod_auth_dbm.html"><code>mod_auth_dbm.c</code></a>, - <code>mod_auth_msql.c</code>, and <a - href="mod_auth_anon.html"><code>mod_auth_anon.c</code></a>. - These modules supply the bulk of the user credential checking; - but a few (administrator) related accesses fall through to a - lower level with a well protected AuthUserFile.</p> - - <p><a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> By default; control is - not passed on; and an unknown userID or rule will result in an - Authorization Required reply. Not setting it thus keeps the - system secure; and forces an NCSA compliant behavior.</p> - - <p>Security: Do consider the implications of allowing a user to - allow fall-through in his .htaccess file; and verify that this - is really what you want; Generally it is easier to just secure - a single .htpasswd file, than it is to secure a database such - as mSQL. Make sure that the AuthUserFile is stored outside the - document tree of the web-server; do <em>not</em> put it in the - directory that it protects. Otherwise, clients will be able to - download the AuthUserFile.</p> - - <p>See also <a href="core.html#authname">AuthName</a>, <a - href="core.html#authtype">AuthType</a> and <a - href="#authgroupfile">AuthGroupFile</a>.</p> - - <p> <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_auth.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_auth.html.ja.jis deleted file mode 100644 index db1e32243f8..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_auth.html.ja.jis +++ /dev/null @@ -1,335 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - <title>Apache module mod_auth</title> - </head> - <!-- English revision: 1.29 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#000080" - alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_auth $B%b%8%e!<%k(B</h1> - - <p> - $B$3$N%b%8%e!<%k$O%F%-%9%H%U%!%$%k$r;H$C$F%f!<%6$NG'>Z$r9T$J$&5!G=$r(B - $BDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - mod_auth.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - auth_module</p> - - <h2>$B35MW(B</h2> - - <p> - $B$3$N%b%8%e!<%k$O%f!<%6$r%W%l!<%s%F%-%9%H$N%Q%9%o!<%I$H%0%k!<%W(B - $B%U%!%$%k$GD4$Y$k$3$H$K$h$j!"(BHTTP - $B4pK\G'>Z$G%"%/%;%9$r@)8B$9$k$3$H$r(B - $B2DG=$K$7$^$9!#F1MM$N5!G=$G%9%1!<%i%S%j%F%#$N$"$k$b$N$O(B <a - href="mod_auth_dbm.html">mod_auth_dbm</a> $B$H(B <a - href="mod_auth_db.html">mod_auth_db</a> $B$K$h$jDs6!$5$l$^$9!#(B - HTTP $B%@%$%8%'%9%HG'>Z$O(B <a - href="mod_auth_digest.html">mod_auth_digest</a> - $B$K$h$jDs6!$5$l$F$$$^$9!#(B</p> - - <p> - <b>$B$3$l$i$NG'>Z$K4p$E$$$?%;%-%e%j%F%#$N5!9=$O$;$$$<$$%&%'%V%5!<%P$N(B - $B%;%-%e%j%F%#$HF1DxEY$N6/EY$G$"$k$3$H$KCm0U$7$F$/$@$5$$!#(B - $B0lHL$K!"%*%Z%l!<%F%#%s%0%7%9%F%`$N%;%-%e%j%F%#%7%9%F%`$[$I$O(B - $B6/$/(B<i>$B$"$j$^$;$s(B</i>$B!#(B</b></p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#authgroupfile">AuthGroupFile</a></li> - - <li><a href="#authuserfile">AuthUserFile</a></li> - - <li><a href="#authauthoritative">AuthAuthoritative</a></li> - </ul> - - <p>$B;2>H(B: <a href="core.html#require">require</a>, <a - href="core.html#satisfy">satisfy</a>, <a href="#require">mod_auth - require $B%-!<%o!<%I(B</a>$B!#(B</p> - <hr /> - - <h2><a id="require" name="require"><code>mod_auth</code> Require - $B%-!<%o!<%I(B</a></h2> - - <p><code>mod_auth</code> $B%b%8%e!<%k$O(B <a - href="core.html#require">Require</a> $B%G%#%l%/%F%#%V$KBP$9$k(B - $B0J2<$N%-!<%o!<%I$r%5%]!<%H$7$^$9(B:</p> - - <dl compact="compact"> - <dt><code>user <i>username</i> [...]</code></dt> - - <dd>$BM?$($i$l$?%f!<%6L>$H%Q%9%o!<%I$O(B <a - href="#authuserfile">AuthUserFile</a> - $B%G!<%?%Y!<%9$KB8:_$9$k(B $BI,MW$,$"$j!"$5$i$K%f!<%6L>$,(B - Require $B%G%#%l%/%F%#%V$K%j%9%H(B - $B$5$l$F$$$kI,MW$,$"$j$^$9!#(B</dd> - - <dt><code>group <i>groupname</i> [...]</code></dt> - - <dd>$BM?$($i$l$?%f!<%6L>$H%Q%9%o!<%I$O(B <a - href="#authuserfile">AuthUserFile</a> - $B%G!<%?%Y!<%9$KB8:_$9$k(B $BI,MW$,$"$j!"$5$i$K%f!<%6L>$,(B - <a href="#authgroupfile">AuthGroupFile</a> - $B%G!<%?%Y!<%9$K$"$k(B - $B;XDj$5$l$?%0%k!<%W$N%a%s%P$G$"$kI,MW$,$"$j$^$9!#(B</dd> - - <dt><code>valid-user</code></dt> - - <dd>$BM?$($i$l$?%f!<%6L>$H%Q%9%o!<%I$,(B <a - href="#authuserfile">AuthUserFile</a> - $B%G!<%?%Y!<%9$KB8:_$9$k(B - $BI,MW$,$"$j$^$9!#$=$N%U%!%$%k$K$"$kM-8z$J%f!<%6L>$O%"%/%;%9$,5v2D(B - $B$5$l$^$9!#(B</dd> - - <dt><code>file-owner</code></dt> - - <dd>[Apache 1.3.20 $B$+$i(B] - $BM?$($i$l$?%f!<%6L>$H%Q%9%o!<%I$O(B <a - href="#authuserfile">AuthUserFile</a> - $B%G!<%?%Y!<%9$KB8:_$9$k(B - $BI,MW$,$"$j!"$5$i$K%f!<%6L>$,%j%/%(%9%H$5$l$?%U%!%$%k$N(B - $B%7%9%F%`$N=jM-<T$NL>A0$H0lCW$9$kI,MW$,$"$j$^$9!#$D$^$j!"(B - $B%*%Z%l!<%F%#%s%0%7%9%F%`$,%j%/%(%9%H$5$l$?%U%!%$%k$,(B - <code>jones</code> $B$G$"$k!"$H8@$C$?>l9g$O!"(BWeb - $B$rDL$7$F(B $B%"%/%;%9$9$k%f!<%6L>$b(B <code>jones</code> - $B$G$"$kI,MW$G$"$k!"(B $B$H$$$&$3$H$G$9!#(B</dd> - - <dt><code>file-group</code></dt> - - <dd>[Apache 1.3.20 $B$+$i(B] - $BM?$($i$l$?%f!<%6L>$H%Q%9%o!<%I$O(B <a - href="#authuserfile">AuthUserFile</a> - $B%G!<%?%Y!<%9$KB8:_$9$k(B - $BI,MW$,$"$j!"%U%!%$%k$r=jM-$9$k%0%k!<%WL>$,(B <a - href="#authgroupfile">AuthGroupFile</a> $B%G!<%?%Y!<%9$K(B - $B$"$kI,MW$,$"$j!"%f!<%6L>$,$=$N%0%k!<%W$N%a%s%P$G$"$kI,MW$,$"$j$^$9!#(B - $BNc$($P!"%*%Z%l!<%F%#%s%0%7%9%F%`$,%j%/%(%9%H$5$l$?%U%!%$%k$,(B - $B%0%k!<%W(B <code>accounts</code> - $B$K$h$j=jM-$5$l$F$$$k$H8@$C$?(B $B>l9g!"%0%k!<%W(B - <code>accounts</code> $B$,(B AuthGroupFile $B%G!<%?%Y!<%9$K(B - $BB0$7$F$$$kI,MW$,$"$j!"%j%/%(%9%H$K;HMQ$5$l$?%f!<%6L>$b(B - $B$=$N%0%k!<%W$N%a%s%P$G$"$kI,MW$,$"$j$^$9!#(B</dd> - </dl> - <hr /> - - <h2><a id="authgroupfile" name="authgroupfile">AuthGroupFile</a> - $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AuthGroupFile - <em>filename</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_auth - - <p>AuthGroupFile $B%G%#%l%/%F%#%V$O%f!<%6G'>Z$N$?$a$N(B - $B%f!<%6%0%k!<%W$N%j%9%H$,=q$+$l$?%F%-%9%H%U%!%$%k$NL>A0$r@_Dj$7$^$9!#(B - <em>Filename</em> - $B$O%0%k!<%W%U%!%$%k$N%Q%9$G$9!#@dBP%Q%9$G$J$$$H$-$O(B - (<em>$B$9$J$o$A(B</em>$B!"%9%i%C%7%e$G;O$^$i$J$$$H$-$O(B)$B!"(BServerRoot - $B$+$i$NAjBP%Q%9$H$7$F07$o$l$^$9!#(B</p> - - <p> - $B%0%k!<%W%U%!%$%k$N$=$l$>$l$N9T$O!"%0%k!<%WL>!"%3%m%s!"6uGr$G(B - $B6h@Z$i$l$?%0%k!<%W$KB0$9$k%f!<%6L>!"$+$i$J$j$^$9!#Nc(B:</p> - - <blockquote> - <code>mygroup: bob joe anne</code> - </blockquote> - - <p> - $BBg$-$J%F%-%9%H%U%!%$%k$rC5$9$N$O(B<em>$BHs>o(B</em>$B$K8zN($,0-$$$H$$$&$3$H$K(B - $BCm0U$7$F$/$@$5$$!#$=$N$h$&$J>l9g$O!"Be$o$j$K(B <a - href="mod_auth_dbm.html#authdbmgroupfile">AuthDBMGroupFile</a> - $B$r(B $B;H$C$F$/$@$5$$!#(B</p> - - <p>$B%;%-%e%j%F%#(B: AuthGroupFile - $B$OI,$:%&%'%V%5!<%P$N%I%-%e%a%s%H%D%j!<$N30$K(B - $BJ]4I$7$F$/$@$5$$!#$=$l$,J]8n$7$F$$$k%G%#%l%/%H%j$K$OCV$+(B<em>$B$J$$(B</em>$B$G(B - $B$/$@$5$$!#$=$&$G$J$$$H!"%/%i%$%"%s%H$,(B AuthGroupFile - $B$r%@%&%s%m!<%I(B $B$G$-$F$7$^$$$^$9!#(B</p> - - <p><a href="core.html#authname">AuthName</a>, <a - href="core.html#authtype">AuthType</a>, <a - href="#authuserfile">AuthUserFile</a> - $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="authuserfile" name="authuserfile">AuthUserFile</a> - $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AuthUserFile - <em>file-path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_auth<br /> - - - <p>AuthUserFile - $B%G%#%l%/%F%#%V$O%f!<%6G'>Z$N$?$a$N%f!<%6$H%Q%9%o!<%I$N(B - $B%j%9%H$,=q$+$l$?%F%-%9%H%U%!%$%k$rL>A0$r@_Dj$7$^$9!#(B<em>File-path</em> - $B$O(B $B%f!<%6%U%!%$%k$X$N%Q%9$G$9!#@dBP%Q%9$G$J$$$H$-$O(B - (<em>$B$9$J$o$A(B</em>$B!"(B - $B%9%i%C%7%e$G;O$^$i$J$$$H$-$O(B)$B!"(BServerRoot - $B$+$i$NAjBP%Q%9$H$7$F07$o$l$^$9!#(B</p> - - <p> - $B%f!<%6%U%!%$%k$N$=$l$>$l$N9T$O!"%f!<%6L>!"%3%m%s!"(B<code>crypt()</code> - $B$K$h$j0E9f2=$5$l$?(B - $B%Q%9%o!<%I!"$+$i$J$j$^$9!#F1$8%f!<%6$,J#?t2s8=$l$?$H$-$NF0:n$O(B - $BITDj$G$9!#(B</p> - - <p> - $B%P%$%J%jG[I[$N0lIt$H$7$F%$%s%9%H!<%k$5$l$F$$$k$+!"(B<code>src/support</code> - $B$K$"$k(B <a href="../programs/htpasswd.html">htpasswd</a> - $B%f!<%F%#%j%F%#$O!"(B - $B$3$N%Q%9%o!<%I%U%!%$%k$r0];}$9$k$?$a$K;HMQ$5$l$^$9!#>\:Y$O(B - <code>man</code> - $B%Z!<%8$r;2>H$7$F$/$@$5$$!#<jC;$+$K@bL@$9$k$H(B</p> - - <blockquote> - <code>htpasswd -c Filename username</code><br /> - $B$O(B 'username' $B$r=i4|(B ID $B$H$7$F%Q%9%o!<%I%U%!%$%k(B - 'Filename' $B$r(B - $B:n@.$7$^$9!#$3$l$O%Q%9%o!<%I$NF~NO$rB%$7$^$9!#(B <code>htpasswd - Filename username2</code><br /> - $B$O%Q%9%o!<%I%U%!%$%k(B 'Filename' $B$K(B 'username' $B$r(B - $BDI2C$9$k$+!"4{$K$"$k(B 'username' $B$r=$@5$7$^$9!#(B - </blockquote> - - <p> - $BBg$-$J%F%-%9%H%U%!%$%k$rC5$9$N$O(B<em>$BHs>o(B</em>$B$K8zN($,0-$$$H$$$&$3$H$K(B - $BCm0U$7$F$/$@$5$$!#$=$N$h$&$J>l9g$O!"Be$o$j$K(B <a - href="mod_auth_dbm.html#authdbmuserfile">AuthDBMUserFile</a> - $B$r(B $B;H$C$F$/$@$5$$!#(B</p> - - <p>$B%;%-%e%j%F%#(B: AuthUserFile - $B$OI,$:%&%'%V%5!<%P$N%I%-%e%a%s%H%D%j!<$N30$K(B - $BJ]4I$7$F$/$@$5$$!#$=$l$,J]8n$7$F$$$k(B - $B%G%#%l%/%H%j$K$OCV$+$J$$$G$/$@$5$$!#(B - $B$=$&$G$J$$$H!"%/%i%$%"%s%H$,(B AuthUserFile - $B$r%@%&%s%m!<%I$G$-$F$7$^$$$^$9!#(B</p> - - <p><a href="core.html#authname">AuthName</a>, <a - href="core.html#authtype">AuthType</a>, <a - href="#authgroupfile">AuthGroupFile</a> - $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="authauthoritative" - name="authauthoritative">AuthAuthoritative</a> - $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> AuthAuthoritative - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> - <code>AuthAuthoritative on</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> AuthConfig<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_auth - - <p>AuthAuthoritative $B%G%#%l%/%F%#%V$rL@<(E*$K(B - <strong>'off'</strong> $B$K(B $B@_Dj$9$k$H!"(BuserID - $B$K9g$&(B <strong>userID $B$,L5$$(B</strong> $B$H$-$H!"(B - $B$=$l$K9g$&(B<strong>$B%k!<%k(B</strong>$B$,L5$$$H$-$K!"G'>Z$H8"8B$NIUM?$NN>J}$r(B - (<code>$B@_Dj(B</code> $B$d(B <code>modules.c</code> - $B$GDj5A$5$l$F$$$k(B $BJ}K!$G(B) - $B2<0L$N%b%8%e!<%k$KEO$9$3$H$r2DG=$K$7$^$9!#(B userID - $B$+%k!<%k$,;XDj$5$l$F$$$k$H$-$K$O!"DL>o$HF1$8%Q%9%o!<%I$H(B - $B%"%/%;%9$N%A%'%C%/$,9T$J$o$l!"@.8y$7$J$+$C$?>l9g$O(B - Authorization Required $B1~Ez$,JV$5$l$^$9!#(B</p> - - <p>$B$G$9$+$i!"(BuserID - $B$,J#?t$N%b%8%e!<%k$N%G!<%?%Y!<%9$K8=$l$?$j!"(B $B@5$7$$(B - <code>Require</code> - $B%G%#%l%/%F%#%V$,J#?t$N%b%8%e!<%k$KE,MQ$5$l$?$j(B - $B$9$k$H$-$O!":G=i$N%b%8%e!<%k$,;q3J$rD4::$7$^$9!#(BAuthAuthoritative - $B$N(B - $B@_Dj$K4X$o$i$:!"%"%/%;%9$ND4::$OJL$N%b%8%e!<%k$K$OEO$5$l$^$;$s!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$NIaDL$NMxMQJ}K!$O!"(B<a - href="mod_auth_db.html"><code>mod_auth_db.c</code></a>, <a - href="mod_auth_dbm.html"><code>mod_auth_dbm.c</code></a>, - <code>mod_auth_msql.c</code>, <a - href="mod_auth_anon.html"><code>mod_auth_anon.c</code></a> - $B$N$h$&$J%G!<%?%Y!<%9%b%8%e!<%k$H0l=o$K;H$&$b$N$G$9!#(B - $B$3$l$i$N%b%8%e!<%k$OBgItJ,$N%f!<%6$N;q3JD4::$r9T$J$&5!G=$rDs6!$7$^$9!#(B - $B$7$+$7!">.?t$N(B ($B4IM}<T4XO"$N(B) $B%"%/%;%9$ONI$/J]8n$5$l$F$$$k(B AuthUserFile - $B$KEO$5$l$^$9!#(B</p> - - <p><a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> - $B%G%U%)%k%H$G$O@)8f$OEO$5$l$^$;$s!#(B $BCN$i$J$$(B userID - $B$d%k!<%k$N7k2L$O(B Authorization Require $B1~Ez$K$J$j$^$9!#(B - $B$G$9$+$i!"$3$N%G%#%l%/%F%#%V$r@_Dj$7$J$$$H%7%9%F%`$r0BA4$KJ]$D$3$H$,$G$-!"(B - NCSA $B$HF1$8F0:n$r$9$k$h$&$K$G$-$^$9!#(B</p> - - <dl> - <dt><b>$B%;%-%e%j%F%#(B:</b></dt> - - <dd>AuthUserFile - $B$OI,$:%&%'%V%5!<%P$N%I%-%e%a%s%H%D%j!<$N30$KJ]4I$7$F$/$@$5$$!#(B - $B$=$l$,J]8n$7$F$$$k(B - $B%G%#%l%/%H%j$K$OCV$+(B<em>$B$J$$(B</em>$B$G$/$@$5$$!#(B - $B$=$&$G$J$$$H!"%/%i%$%"%s%H$,(B AuthUserFile - $B$r%@%&%s%m!<%I$G$-$F$7$^$$$^$9!#(B</dd> - - <dd> - $B$^$?!"6u$N%f!<%6L>$d!"6u$N%Q%9%o!<%I$,5v2D$5$l$k$3$H$KCm0U$7$F$/$@$5$$(B - (Apache 1.3.20 $B$+$i(B)$B!#(B AuthUserFile $B$K%3%m%s(B - (':') $B$N$_$N9T$,$"$l$P!"(B - $BG'>Z;~$K%f!<%6L>$H%Q%9%o!<%I$,N>J}6&>JN,$5$l$?$H$-$K(B - '<code>Require valid-user</code>' - $B$O%"%/%;%9$r5v2D$7$^$9!#(B</dd> - </dl> - - <p><a href="core.html#authname">AuthName</a>, <a - href="core.html#authtype">AuthType</a>, <a - href="#authgroupfile">AuthGroupFile</a> - $B$b;2>H$7$F$/$@$5$$!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_cgi.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_cgi.html.en deleted file mode 100644 index 8b21039fb40..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_cgi.html.en +++ /dev/null @@ -1,228 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_cgi</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_cgi</h1> - - <p>This module provides for execution of CGI scripts.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_cgi.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - cgi_module</p> - - <h2>Summary</h2> - <!-- XXX: Should have references to CGI definition/RFC --> - Any file that has the mime type - <code>application/x-httpd-cgi</code> or handler - <code>cgi-script</code> (Apache 1.1 or later) will be treated - as a CGI script, and run by the server, with its output being - returned to the client. Files acquire this type either by - having a name containing an extension defined by the <a - href="mod_mime.html#addtype">AddType</a> directive, or by being - in a <a href="mod_alias.html#scriptalias">ScriptAlias</a> - directory. Files that are not in a <a - href="mod_alias.html#scriptalias">ScriptAlias</a> directory, - but which are of type <code>application/x-httpd-cgi</code> by - virtue of an <code>AddType</code> directive, will still not be - executed by the server unless <code>Options ExecCGI</code> is - enabled. See the <a - href="core.html#options"><code>Options</code></a> directive for - more details. - - <p>When the server invokes a CGI script, it will add a variable - called <code>DOCUMENT_ROOT</code> to the environment. This - variable will contain the value of the <a - href="core.html#documentroot">DocumentRoot</a> configuration - variable.</p> - - <p>For an introduction to using CGI scripts with Apache, see - our tutorial on <a href="../howto/cgi.html">Dynamic Content - with CGI</a>.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#scriptlog">ScriptLog</a></li> - - <li><a href="#scriptloglength">ScriptLogLength</a></li> - - <li><a href="#scriptlogbuffer">ScriptLogBuffer</a></li> - </ul> - - <p>See also: <a href="core.html#options">Options</a>, <a - href="mod_alias.html#scriptalias">ScriptAlias</a>, <a - href="mod_mime.html#addtype">AddType</a> and <a - href="mod_mime.html#addhandler">AddHandler</a>.</p> - - <h2>CGI Environment variables</h2> - The server will set the CGI environment variables as described - in the <a href="http://hoohoo.ncsa.uiuc.edu/cgi/">CGI - specification</a>, with the following provisions: - - <dl> - <dt>REMOTE_HOST</dt> - - <dd>This will only be set if <a - href="core.html#hostnamelookups"><code>HostnameLookups</code></a> - is set to <code>on</code> (it is off by default), and if a - reverse DNS lookup of the accessing host's address indeed - finds a host name.</dd> - - <dt>REMOTE_IDENT</dt> - - <dd>This will only be set if <a - href="core.html#identitycheck">IdentityCheck</a> is set to - <code>on</code> and the accessing host supports the ident - protocol. Note that the contents of this variable cannot be - relied upon because it can easily be faked, and if there is a - proxy between the client and the server, it is usually - totally useless.</dd> - - <dt>REMOTE_USER</dt> - - <dd>This will only be set if the CGI script is subject to - authentication.</dd> - </dl> - - <h2><a id="cgi_debug" name="cgi_debug">CGI Debugging</a></h2> - Debugging CGI scripts has traditionally been difficult, mainly - because it has not been possible to study the output (standard - output and error) for scripts which are failing to run - properly. These directives, included in Apache 1.2 and later, - provide more detailed logging of errors when they occur. - - <h2>CGI Logfile Format</h2> - When configured, the CGI error log logs any CGI which does not - execute properly. Each CGI script which fails to operate causes - several lines of information to be logged. The first two lines - are always of the format: -<pre> - %% [<em>time</em>] <em>request-line</em> - %% <em>HTTP-status</em> <em>CGI-script-filename</em> -</pre> - If the error is that CGI script cannot be run, the log file - will contain an extra two lines: -<pre> - %%error - <em>error-message</em> -</pre> - Alternatively, if the error is the result of the script - returning incorrect header information (often due to a bug in - the script), the following information is logged: -<pre> - %request - <em>All HTTP request headers received</em> - <em>POST or PUT entity (if any)</em> - %response - <em>All headers output by the CGI script</em> - %stdout - <em>CGI standard output</em> - %stderr - <em>CGI standard error</em> -</pre> - (The %stdout and %stderr parts may be missing if the script did - not output anything on standard output or standard error). - <hr /> - - <h3><a id="scriptlog" name="scriptlog">ScriptLog</a> - directive</h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ScriptLog - <em>filename</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> none<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> mod_cgi - - <p>The <tt>ScriptLog</tt> directive sets the CGI script error - logfile. If no ScriptLog is given, no error log is created. If - given, any CGI errors are logged into the filename given as - argument. If this is a relative file or path it is taken - relative to the server root.</p> - - <p>This log will be opened as the user the child processes run - as, ie. the user specified in the main <a - href="core.html#user">User</a> directive. This means that - either the directory the script log is in needs to be writable - by that user or the file needs to be manually created and set - to be writable by that user. If you place the script log in - your main logs directory, do <strong>NOT</strong> change the - directory permissions to make it writable by the user the child - processes run as.</p> - - <p>Note that script logging is meant to be a debugging feature - when writing CGI scripts, and is not meant to be activated - continuously on running servers. It is not optimized for speed - or efficiency, and may have security problems if used in a - manner other than that for which it was designed.</p> - <hr /> - - <h3><a id="scriptloglength" - name="scriptloglength">ScriptLogLength</a> directive</h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ScriptLogLength - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> 10385760<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> mod_cgi - - <p><tt>ScriptLogLength</tt> can be used to limit the size of - the CGI script logfile. Since the logfile logs a lot of - information per CGI error (all request headers, all script - output) it can grow to be a big file. To prevent problems due - to unbounded growth, this directive can be used to set an - maximum file-size for the CGI logfile. If the file exceeds this - size, no more information will be written to it.</p> - <hr /> - - <h3><a id="scriptlogbuffer" - name="scriptlogbuffer">ScriptLogBuffer</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ScriptLogBuffer - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> 1024<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> mod_cgi - - <p>The size of any PUT or POST entity body that is logged to - the file is limited, to prevent the log file growing too big - too quickly if large bodies are being received. By default, up - to 1024 bytes are logged, but this can be changed with this - directive. <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_cgi.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_cgi.html.ja.jis deleted file mode 100644 index 0253eb2c50d..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_cgi.html.ja.jis +++ /dev/null @@ -1,229 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_cgi</title> - - </head> - <!-- English revision: 1.25 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_cgi $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O(B CGI $B%9%/%j%W%H$r<B9T$9$k5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_cgi.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> cgi_module - </p> - - <h2>$B35MW(B</h2> - <!-- XXX: Should have references to CGI definition/RFC --> - <p>Mime $B%?%$%W$,(B <code>application/x-httpd-cgi</code> - $B$G$"$k$+!"%O%s%I%i(B <code>cgi-script</code> (Apache 1.1 $B0J9_(B) - $B$,;XDj$5$l$F$$$k%U%!%$%k$O(B CGI $B%9%/%j%W%H$H$7$F07$o$l!"(B - $B%5!<%P$K$h$j<B9T$5$l!"$=$N=PNO$,%/%i%$%"%s%H$KJV$5$l$^$9!#(B - $B%U%!%$%k$O!"(B<a href="mod_mime.html#addtype">AddType</a> - $B%G%#%l%/%F%#%V$K;XDj$5$l$?(B $B3HD%;R$rL>A0$K4^$`$+!"(B - <a href="mod_alias.html#scriptalias">ScriptAlias</a> - $B%G%#%l%/%H%j$KB8:_$9$k$3$H$K$h$j$3$N%?%$%W$K$J$j$^$9!#(B - <a href="mod_alias.html#scriptalias">ScriptAlias</a> - $B%G%#%l%/%H%j$K$J$/!"(B<code>AddType</code> - $B%G%#%l%/%F%#%V$K$h$j(B <code>application/x-httpd-cgi</code> - $B$N%?%$%W$r;}$D%U%!%$%k$O!"(B<code>Options ExecCGI</code> - $B$,;XDj$5$l$F$$$J$1$l$P%5!<%P$K$h$j<B9T$5$l$k$3$H$O$"$j$^$;$s!#(B - $B>\:Y$O(B <a href="core.html#options"><code>Options</code></a> - $B%G%#%l%/%F%#%V$r(B $B;2>H$7$F$/$@$5$$!#(B - </p> - - <p>$B%5!<%P$,(B CGI $B%9%/%j%W%H$r<B9T$9$k$H$-$K$O!"(B - <code>DOCUMENT_ROOT</code> - $B$H8F$P$l$kJQ?t$r4D6-$KDI2C$7$^$9!#$3$NJQ?t$O(B - <a href="core.html#documentroot">DocumentRoot</a> - $B$NCM$rJ];}$7$^$9!#(B</p> - - <p>Apache $B$G(B CGI $B%9%/%j%W%H$r;HMQ$9$k$?$a$N%$%s%H%m%@%/%7%g%s$O!"(B - <a href="../howto/cgi.html">CGI $B$K$h$kF0E*%3%s%F%s%D(B</a> - $B$r;2>H$7$F$/$@$5$$!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#scriptlog">ScriptLog</a></li> - - <li><a href="#scriptloglength">ScriptLogLength</a></li> - - <li><a href="#scriptlogbuffer">ScriptLogBuffer</a></li> - </ul> - - <p><a href="core.html#options">Options</a>, <a - href="mod_alias.html#scriptalias">ScriptAlias</a>, <a - href="mod_mime.html#addtype">AddType</a>, <a - href="mod_mime.html#addhandler">AddHandler</a> - $B$b;2>H$7$F$/$@$5$$!#(B</p> - <h2>CGI $B4D6-JQ?t(B</h2> - <p>$B%5!<%P$O(B <a href="http://hoohoo.ncsa.uiuc.edu/cgi/">CGI - $B5,3J(B</a> $B$G7h$a$i$l$F$$$k(B CGI - $B4D6-JQ?t$r@_Dj$7$^$9!#0J2<$N$b$N$O!">r7oIU$-$G@_Dj$5$l$^$9!#(B</p> - - <dl> - <dt>REMOTE_HOST</dt> - - <dd><a - href="core.html#hostnamelookups"><code>HostnameLookups</code></a> - $B$,(B <code>on</code> ($B%G%U%)%k%H$G$O(B off $B$G$9(B) - $B$G!"%"%/%;%9$7$F$$$k%[%9%H$N%"%I%l%9$N(B DNS - $B$N5U0z$-$,<B:]$K%[%9%HL>$r8+$D$1$?$H$-$K$N$_@_Dj$5$l$^$9!#(B</dd> - - <dt>REMOTE_IDENT</dt> - - <dd><a href="core.html#identitycheck">IdentityCheck</a> - $B$,(B <code>on</code> $B$K@_Dj$5$l$F$$$F!"%"%/%;%9$7$F$$$k%[%9%H$,(B - ident $B%W%m%H%3%k$r%5%]!<%H$7$F$$$k$H$-$K$N$_@_Dj$5$l$^$9!#(B - $B$3$l$O4JC1$K56$k$3$H$,$G$-!"%/%i%$%"%s%H$H%5!<%P$N4V$K(B - $B%W%m%-%7$,$"$l$P$^$C$?$/Lr$KN)$?$J$$$N$G!"(B - $B$3$NJQ?t$NCM$O?.MQ$G$-$J$$$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B - </dd> - - <dt>REMOTE_USER</dt> - - <dd>CGI - $B%9%/%j%W%H$KG'>Z$,I,MW$J$H$-$K$N$_@_Dj$5$l$^$9!#(B</dd> - </dl> - - <h2><a id="cgi_debug" name="cgi_debug">CGI $B$N%G%P%C%0(B</a></h2> - <p>CGI $B%9%/%j%W%H$N%G%P%C%0$O!"@5$7$/F0:n$7$F$$$J$$%9%/%j%W%H$N=PNO(B - ($BI8=`=PNO$H%(%i!<(B) - $B$rD4$Y$k$3$H$,$G$-$J$$$?$a$K!"Fq$7$$>uBV$,B3$$$F$$$^$7$?!#(B - $B$3$l$i$N(B Apache 1.2 $B0J9_$K$"$k(B - $B%G%#%l%/%F%#%V$O$h$j>\:Y$J%(%i!<$N%m%0<}=8$rDs6!$7$^$9!#(B</p> - - <h2>CGI $B%m%0%U%!%$%k$N=q<0(B</h2> - <p>$B@_Dj$5$l$F$$$k$H$-$K$O!"(BCGI $B%(%i!<%m%0$OE,@Z$KF0:n$7$J$$$9$Y$F$N(B - CGI $B$r%m%0<}=8$7$^$9!#$=$l$>$l$N@5$7$/F0:n$7$J$$(B CGI - $B%9%/%j%W%H$O(B $BJ#?t$N9T$K$o$?$k>pJs$,%m%0<}=8$5$l$^$9!#:G=i$N(B - 2 $B9T$O>o$K0J2<$N=q<0$G$9(B:</p> -<pre> - %% [<em>time</em>] <em>request-line</em> - %% <em>HTTP-status</em> <em>CGI-script-filename</em> -</pre> - <p>$B%(%i!<$,!"(BCGI $B%9%/%j%W%H$,<B9T$G$-$J$$$H$$$&$b$N$G$"$k>l9g$O!"(B - $B%m%0%U%!%$%k$O$5$i$K$b$&(B 2 $B9T=q$+$l$^$9(B:</p> -<pre> - %%error - <em>error-message</em> -</pre> - <p>$B$=$&$G$O$J$/!"%(%i!<$,@5$7$/$J$$%X%C%@>pJs$rJV$97k2L$G$"$k>l9g(B - ($B%9%/%j%W%H$N%P%0$G$"$k$3$H$,$h$/$"$j$^$9(B)$B!"(B - $B0J2<$N>pJs$,%m%0<}=8$5$l$^$9(B:</p> -<pre> - %request - <em>All HTTP request headers received</em> - <em>POST or PUT entity (if any)</em> - %response - <em>All headers output by the CGI script</em> - %stdout - <em>CGI standard output</em> - %stderr - <em>CGI standard error</em> -</pre> - <p>($B%9%/%j%W%H$,I8=`=PNO$dI8=`%(%i!<$K2?$b=PNO$7$J$+$C$?>l9g$O!"(B - %stdout $B$d(B %stderr $B$O$"$j$^$;$s(B)$B!#(B</p> - <hr /> - - <h3><a id="scriptlog" name="scriptlog">ScriptLog</a> - $B%G%#%l%/%F%#%V(B</h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ScriptLog - <em>filename</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> none<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> mod_cgi - <p><tt>ScriptLog</tt> $B%G%#%l%/%F%#%V$O(B CGI $B%9%/%j%W%H$N(B - $B%(%i!<%m%0%U%!%$%k$r@_Dj$7$^$9!#(BScriptLog $B$,@_Dj$5$l$F$$$J$$$H$-$O!"(B - $B%(%i!<%m%0$O:n@.$5$l$^$;$s!#@_Dj$5$l$F$$$k$H$-$O!"(BCGI - $B$N%(%i!<$O$9$Y$F0z?t$H$7$FM?$($i$l$F$$$k%U%!%$%kL>$K%m%0$5$l$^$9!#(B - $BAjBP%Q%9$G;XDj$5$l$F$$$k$H$-$O!"(B - $B%5!<%P%k!<%H$+$i$NAjBP%Q%9$H$7$F07$o$l$^$9!#(B</p> - - <p>$B$3$N%m%0$O;R%W%m%;%9$,<B9T$5$l$F$$$k%f!<%6$H$7$F%*!<%W%s$5$l$^$9!#(B - $B$9$J$o$A!"(B<a href="core.html#user">User</a> $B%G%#%l%/%F%#%V$G;XDj$5$l$?(B - $B%f!<%6$G$9!#$3$l$O!"%9%/%j%W%H%m%0$,=q$+$l$k%G%#%l%/%H%j$,$=$N%f!<%6$G(B - $B=q$-9~$_2DG=$+!"%9%/%j%W%H%U%!%$%k$,<jF0$G:n@.$5$l!"$=$N%f!<%6$G(B - $B=q$-9~$_2DG=$K$J$C$F$$$kI,MW$,$"$k$H$$$&$3$H$G$9!#%9%/%j%W%H%m%0$r(B - $B%"%/%;%9%m%0$J$I$N$?$a$N%m%0%G%#%l%/%H%j$K=q$+$l$k$h$&$K$7$?$H$-$O!"(B - $B$=$N%G%#%l%/%H%j$r;R%W%m%;%9$r<B9T$7$F$$$k%f!<%6$N8"8B$G(B - $B=q$-9~$_2DG=$K$O(B<strong>$B$7$J$$(B</strong>$B$h$&$K$7$F$/$@$5$$!#(B</p> - - <p>$B%9%/%j%W%H$N%m%0<}=8$O(B CGI $B%9%/%j%W%H$r=q$/$H$-$N(B - $B%G%P%C%0MQ$N5!G=$H$7$F0U?^$5$l$F$$$F!"DL>o$N%5!<%P$G(B - $B>o$K;HMQ$5$l$k$h$&$K$O0U?^$5$l$F$$$J$$$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B - $BB.EY$d8zN($O:GE,2=$5$l$F$*$i$:!"@_7W$5$l$?0J30$NJ}K!$G;HMQ$5$l$k$H(B - $B%;%-%e%j%F%#$NLdBj$,$"$k$+$b$7$l$^$;$s!#(B</p> - <hr /> - - <h3><a id="scriptloglength" name="scriptloglength">ScriptLogLength</a> - $B%G%#%l%/%F%#%V(B</h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ScriptLogLength - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> 10385760<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> mod_cgi - <p><tt>ScriptLogLength</tt> $B$O(B CGI $B%9%/%j%W%H$N%m%0%U%!%$%k(B - $B$NBg$-$5$r@)8B$9$k$?$a$K;HMQ$9$k$3$H$,$G$-$^$9!#%m%0%U%!%$%k$O(B - CGI $B$N%(%i!<Kh$KBgNL$N>pJs(B ($B%j%/%(%9%H$N$9$Y$F$N%X%C%@!"(B - $B$9$Y$F$N=PNO(B)$B$r%m%0$7$^$9$N$G!"$9$0$KBg$-$J%U%!%$%k$K$J$j$^$9!#(B - $B$3$NBg$-$5$N@)8B$,$J$$$3$H$K$h$kLdBj$rKI$0$?$a$K!"(B - $B$3$N%G%#%l%/%F%#%V$r;H$C$F(B CGI $B$N%m%0%U%!%$%k$N(B - $B:GBg$N%U%!%$%k%5%$%:$r@_Dj$9$k$3$H$,$G$-$^$9!#(B - $B%U%!%$%k$,$3$NBg$-$5$rD6$($?>l9g$O!"$=$l0J>e$O=q$-9~$^$l$^$;$s!#(B</p> - <hr /> - <h3><a id="scriptlogbuffer" - name="scriptlogbuffer">ScriptLogBuffer</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> ScriptLogBuffer - <em>bytes</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> 1024<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> mod_cgi - <p>$BBg$-$JK\BN$r<u$1<h$C$?$H$-$K%m%0%U%!%$%k$,$9$0$KBg$-$/$J$j$9$.$k(B - $BLdBj$rHr$1$k$?$a$K!"%U%!%$%k$K%m%0<}=8$5$l$k(B PUT $B$H(B POST - $B$NK\BN$NBg$-$5$O@)8B$5$l$F$$$^$9!#%G%U%)%k%H$G$O!"(B1024 - $B%P%$%H$^$G$,%m%0<}=8$5$l$^$9$,!"(B - $B$3$N%G%#%l%/%F%#%V$O$=$l$rJQ99$9$k$3$H$,$G$-$^$9!#(B - </p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_dir.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_dir.html.en deleted file mode 100644 index 0ca848da10e..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_dir.html.en +++ /dev/null @@ -1,125 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_dir</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_dir</h1> - - <p>This module provides for "trailing slash" redirects and - serving directory index files.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_dir.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - dir_module</p> - - <h2>Summary</h2> - The index of a directory can come from one of two sources: - - <ul> - <li>A file written by the user, typically called - <code>index.html</code>. The <a - href="#directoryindex">DirectoryIndex</a> directive sets the - name of this file. This is controlled by - <code>mod_dir</code>.</li> - - <li>Otherwise, a listing generated by the server. This is - provided by <a - href="mod_autoindex.html"><code>mod_autoindex</code></a>.</li> - </ul> - The two functions are separated so that you can completely - remove (or replace) automatic index generation should you want - to. - - <p>A "trailing slash" redirect is issued when the server - receives a request for a URL - <samp>http://servername/foo/dirname</samp> where - <samp>dirname</samp> is a directory. Directories require a - trailing slash, so <code>mod_dir</code> issues a redirect to - <samp>http://servername/foo/dirname/</samp>.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#directoryindex">DirectoryIndex</a></li> - </ul> - <hr /> - - <h2><a id="directoryindex" - name="directoryindex">DirectoryIndex</a> directive</h2> - <!--%plaintext <?INDEX {\tt DirectoryIndex} directive> --> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> DirectoryIndex - <em>local-url</em> [<em>local-url</em>] ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>DirectoryIndex - index.html</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> Indexes<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_dir - - <p>The DirectoryIndex directive sets the list of resources to - look for, when the client requests an index of the directory by - specifying a / at the end of the a directory name. - <em>Local-url</em> is the (%-encoded) URL of a document on the - server relative to the requested directory; it is usually the - name of a file in the directory. Several URLs may be given, in - which case the server will return the first one that it finds. - If none of the resources exist and the <code>Indexes</code> - option is set, the server will generate its own listing of the - directory.</p> - - <p>Example:</p> - - <blockquote> - <code>DirectoryIndex index.html</code> - </blockquote> - then a request for <code>http://myserver/docs/</code> would - return <code>http://myserver/docs/index.html</code> if it - exists, or would list the directory if it did not. - - <p>Note that the documents do not need to be relative to the - directory;</p> - - <blockquote> - <code>DirectoryIndex index.html index.txt - /cgi-bin/index.pl</code> - </blockquote> - would cause the CGI script <code>/cgi-bin/index.pl</code> to be - executed if neither <code>index.html</code> or - <code>index.txt</code> existed in a directory. - - <p> <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_dir.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_dir.html.ja.jis deleted file mode 100644 index cd47bba8427..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_dir.html.ja.jis +++ /dev/null @@ -1,124 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_dir</title> - - </head> - <!-- English revision: 1.16 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_dir $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O!"%9%i%C%7%e$G=*$o$k(B URL $B$X$N%j%/%(%9%H$,$"$C$?:]$K!"(B - $B%G%#%l%/%H%j%$%s%G%C%/%9%U%!%$%k$X%j%@%$%l%/%H$7$FDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_dir.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - dir_module</p> - - <h2>$B35MW(B</h2> - <p>$B%G%#%l%/%H%j%$%s%G%C%/%9$O!"<!$NFs$D$N$&$A$I$A$i$+$,MxMQ$5$l$^$9!#(B</p> - - <ul> - <li>$B0l$DL\$O!"%f!<%6$,:n@.$7$?%U%!%$%k$rMQ$$$k$b$N$G!"DL>o(B - <code>index.html</code> $B$H$$$&%U%!%$%kL>$r;H$$$^$9!#$3$N%U%!%$%kL>$O!"(B - <a href="#directoryindex">DirectoryIndex</a> $B%G%#%l%/%F%#%V$G(B - $B;XDj$9$k$3$H$,$G$-$^$9!#$3$N5!G=$O(B <code>mod_dir</code> - $B%b%8%e!<%k$GDs6!$5$l$^$9!#(B</li> - - <li>$B$b$&0l$D$NJ}K!$O!"(B - $B%5!<%P$K$h$C$F<+F0E*$K@8@.$5$l$k%G%#%l%/%H%j%j%9%H$rMQ$$$k>l9g$G$9!#(B - $B$3$N5!G=$O!"(B<a href="mod_autoindex.html"><code>mod_autoindex</code></a> - $B%b%8%e!<%k$K$h$jDs6!$5$l$^$9!#(B</li> - </ul> - $B<+F0E*$J%$%s%G%C%/%9@8@.5!G=$r:o=|(B ($B$b$7$/$O8r49(B) - $B$G$-$k$h$&$K!"$3$NFs$D$N5!G=$OJ,N%$5$l$F$$$^$9!#(B - - <p>$B$J$*(B <samp>http://servername/foo/dirname</samp> $B$H$$$&(B URL - $B$X$N%j%/%(%9%H$,$"$C$?:]$K!"(B<samp>dirname</samp> - $B$H$$$&%G%#%l%/%H%j$,$"$l$P!"!V:G8e$K%9%i%C%7%e$r$D$1$?7A!W$N(B URL - $B$X$N%j%@%$%l%/%H$rAw=P$7$^$9!#(B - $B%G%#%l%/%H%j$X$N%"%/%;%9$O%9%i%C%7%e$G=*$o$C$F$$$kI,MW$,$"$j!"(B - <code>mod_dir</code> $B$O!"(B<samp>http://servername/foo/dirname/</samp> - $B$X$N%j%@%$%l%/%H$rAw=P$9$k$3$H$K$J$j$^$9!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - <ul> - <li><a href="#directoryindex">DirectoryIndex</a></li> - </ul> - <hr /> - - <h2><a name="directoryindex" id="directoryindex">DirectoryIndex</a> - $B%G%#%l%/%F%#%V(B</h2> - <!--%plaintext <?INDEX {\tt DirectoryIndex} directive> --> - <p><a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> DirectoryIndex - <em>local-url</em> [<em>local-url</em>] ...<br /> - <a href="directive-dict.html#default" - rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>DirectoryIndex - index.html</code><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> Indexes<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_dir</p> - - <p> - $B%/%i%$%"%s%H$,!"%G%#%l%/%H%jL>$N:G8e$K!V(B/$B!W(B - $B$r;XDj$7$F%G%#%l%/%H%j%$%s%G%C%/%9$rMW5a$9$k>l9g$KC5$9%j%=!<%9$N%j%9%H$r(B - DirectoryIndex $B%G%#%l%/%F%#%V$G@_Dj$7$^$9!#(B<em>Local-url</em> - $B$O!"%j%/%(%9%H$5$l$?%G%#%l%/%H%j$KBP1~$9$k!"%5!<%P>e$N%I%-%e%a%s%H$N(B - (% $B%(%s%3!<%I$5$l$?(B) URL $B$G!"IaDL$O%G%#%l%/%H%jCf$N%U%!%$%k$NL>A0$G$9!#(B - $BJ#?t$N(B URL $B$,@_Dj$5$l$?>l9g$K$O!":G=i$K8+$D$+$C$?$b$N$rJV$7$^$9!#(B - $B$=$l$i$,8+$D$+$i$:!"(B<code>Indexes</code> - $B%*%W%7%g%s$,%;%C%H$5$l$F$$$k>l9g!"%G%#%l%/%H%j$N%j%9%H$r@8@.$7$^$9!#(B - </p> - - <p>$BNc(B:</p> - <blockquote> - <code>DirectoryIndex index.html</code> - </blockquote> - <code>http://myserver/docs/</code> $B$X$N%"%/%;%9$,$"$j!"(B - <code>http://myserver/docs/index.html</code> - $B$,B8:_$9$l$P!"$3$N(B URL $B$,JV$5$l$^$9!#(B - $B$b$7B8:_$7$J$1$l$P!"%G%#%l%/%H%j$N%j%9%H$,JV$5$l$^$9!#(B - - <p>$BCm(B: $B%I%-%e%a%s%H$OF1$8%G%#%l%/%H%jFb$KB8:_$9$kI,MW$"$j$^$;$s!#(B - </p> - - <blockquote> - <code>DirectoryIndex index.html index.txt - /cgi-bin/index.pl</code> - </blockquote> - $B$H$7$?>l9g!"(B<code>index.html</code> $B$H(B <code>index.txt</code> - $B$N$I$A$i$b%G%#%l%/%H%jFb$GB8:_$7$J$$>l9g!"(BCGI $B%9%/%j%W%H(B - <code>/cgi-bin/index.pl</code> $B$,<B9T$5$l$^$9!#(B - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_env.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_env.html.en deleted file mode 100644 index 4888d9af894..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_env.html.en +++ /dev/null @@ -1,142 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_env</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Apache module mod_env</h1> - - <p>This module provides for modifying the environment which is - passed to CGI scripts and SSI pages.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_env.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - env_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.1 and later.</p> - - <h2>Summary</h2> - - <p>This module allows for control of the environment that will - be provided to CGI scripts and SSI pages. Environment variables - may be passed from the shell which invoked the httpd process. - Alternatively, environment variables may be set or unset within - the configuration process.</p> - - <p>For additional information, we provide a document on <a - href="../env.html">Environment Variables in Apache</a>.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#passenv">PassEnv</a></li> - - <li><a href="#setenv">SetEnv</a></li> - - <li><a href="#unsetenv">UnsetEnv</a></li> - </ul> - <hr /> - - <h2><a id="passenv" name="passenv">PassEnv</a> directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> PassEnv - <em>env-variable</em> [<em>env-variable</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_env<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> PassEnv is only - available in Apache 1.1 and later. Directory and .htaccess context - is available in Apache 1.3.7 and later. - - <p>Specifies one or more environment variables to pass to CGI - scripts and SSI pages from the environment of the shell which - invoked the httpd process. Example:</p> -<pre> - PassEnv LD_LIBRARY_PATH -</pre> - <hr /> - - <h2><a id="setenv" name="setenv">SetEnv</a> directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> SetEnv <em>env-variable - value</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_env<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> SetEnv is only - available in Apache 1.1 and later. Directory and .htaccess context - is available in Apache 1.3.7 and later. - - <p>Sets an environment variable, which is then passed on to CGI - scripts and SSI pages. Example:</p> -<pre> - SetEnv SPECIAL_PATH /foo/bin -</pre> - <hr /> - - <h2><a id="unsetenv" name="unsetenv">UnsetEnv</a> - directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> UnsetEnv - <em>env-variable</em> [<em>env-variable</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_env<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> UnsetEnv is only - available in Apache 1.1 and later. Directory and .htaccess context - is available in Apache 1.3.7 and later. - - <p>Removes one or more environment variables from those passed - on to CGI scripts and SSI pages. Example:</p> -<pre> - UnsetEnv LD_LIBRARY_PATH -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_env.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_env.html.ja.jis deleted file mode 100644 index b36df77da35..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_env.html.ja.jis +++ /dev/null @@ -1,142 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_env</title> - - </head> - <!-- English revision: 1.22 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_env $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O(B CGI $B%9%/%j%W%H5Z$S(B SSI - $B%Z!<%8$KEO$5$l$k4D6-JQ?t$rJQ99$9$k5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_env.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - env_module<br /> - <a href="module-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> - Apache 1.1 $B0J9_$G;HMQ2DG=!#(B</p> - - <h2>$B35MW(B</h2> - - <p>$B$3$N%b%8%e!<%k$K$h$j(B CGI $B%9%/%j%W%H$H(B SSI - $B%Z!<%8$KE,MQ$5$l$k4D6-JQ?t$r@)8f$9$k$3$H$,$G$-$k$h$&$K$J$j$^$9!#(B - $B4D6-JQ?t$O(B httpd $B%W%m%;%9$r5/F0$7$?%7%'%k$+$iEO$5$l$^$9!#$^$?!"(B - $B@_Dj%U%!%$%k$G4D6-JQ?t$r@_Dj$7$?$j!":o=|$7$?$j$9$k$3$H$,$G$-$^$9!#(B - </p> - - <p>$B>\:Y$O!"(B<a href="../env.html">Apache - $B$N4D6-JQ?t(B</a>$B$r;2>H$7$F$/$@$5$$!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#passenv">PassEnv</a></li> - - <li><a href="#setenv">SetEnv</a></li> - - <li><a href="#unsetenv">UnsetEnv</a></li> - </ul> - <hr /> - - <h2><a id="passenv" name="passenv">PassEnv</a> $B%G%#%l%/%F%#%V(B</h2> - - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> PassEnv - <em>env-variable</em> [<em>env-variable</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a>$B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_env<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> PassEnv $B$O(B Apache 1.1 - $B0J9_$G$N$_;HMQ2DG=!#%G%#%l%/%H%j!"(B.htaccess $B$G$N;HMQ$O(B - Apache 1.3.7 $B0J9_$G;HMQ2DG=!#(B<br /> - - <p>httpd $B%W%m%;%9$r5/F0$7$?%7%'%k$N4D6-$+$i(B CGI $B%9%/%j%W%H$H(B - SSI $B%Z!<%8$KEO$94D6-JQ?t$r0l$D0J>e;XDj$7$^$9!#Nc(B: - </p> -<pre> - PassEnv LD_LIBRARY_PATH -</pre> - <hr /> - - <h2><a id="setenv" name="setenv">SetEnv</a> $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> SetEnv <em>variable - value</em><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a>$B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_env<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> SetEnv $B$O(B Apache 1.1 - $B0J9_$G$N$_;HMQ2DG=!#%G%#%l%/%H%j!"(B.htaccess $B$G$N;HMQ$O(B - Apache 1.3.7 $B0J9_$G;HMQ2DG=!#(B<br /> - - <p>$B4D6-JQ?t$r@_Dj$7!"$=$l$r(B CGI $B%9%/%j%W%H$H(B SSI - $B%Z!<%8$KEO$9$h$&$K$7$^$9!#Nc(B:</p> -<pre> - SetEnv SPECIAL_PATH /foo/bin -</pre> - <hr /> - - <h2><a id="unsetenv" name="unsetenv">UnsetEnv</a> - $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> UnsetEnv - <em>env-variable</em> [<em>env-variable</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a>$B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_env<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> UnsetEnv $B$O(B Apache 1.1 - $B0J9_$G$N$_;HMQ2DG=!#%G%#%l%/%H%j!"(B.htaccess $B$G$N;HMQ$O(B - Apache 1.3.7 $B0J9_$G;HMQ2DG=!#(B<br /> - - <p>CGI $B%9%/%j%W%H$H(B SSI - $B%Z!<%8$KEO$5$l$k4D6-JQ?t$+$i;XDj$5$l$?4D6-JQ?t$r<h$j=|$-$^$9!#Nc(B:</p> -<pre> - UnsetEnv LD_LIBRARY_PATH -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_info.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_info.html.en deleted file mode 100644 index 7aa1a13c4b1..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_info.html.en +++ /dev/null @@ -1,121 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_info</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_info</h1> - - <p>This module provides a comprehensive overview of the server - configuration including all installed modules and directives in - the configuration files.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_info.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - info_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.1 and later.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#addmoduleinfo">AddModuleInfo</a></li> - </ul> - - <h2>Using mod_info</h2> - - <p>To configure it, add the following to your - <code>access.conf</code> file.</p> -<pre> -<Location /server-info> -SetHandler server-info -</Location> -</pre> - You may wish to add a <a - href="core.html#limit"><Limit></a> clause inside the <a - href="core.html#location">location</a> directive to limit - access to your server configuration information. - - <p>Once configured, the server information is obtained by - accessing <tt>http://your.host.dom/server-info</tt></p> - - <blockquote> - <p><strong>Note that the configuration files are read by the - module at run-time, and therefore the display may - <em>not</em> reflect the running server's active - configuration if the files have been changed since the server - was last reloaded. Also, the configuration files must be - readable by the user as which the server is running (see the - <a href="core.html#user"><samp>User</samp></a> directive), or - else the directive settings will not be listed.</strong></p> - - <p><strong>It should also be noted that if - <samp>mod_info</samp> is compiled into the server, its - handler capability is available in <em>all</em> configuration - files, including <em>per</em>-directory files (<em>e.g.</em>, - <samp>.htaccess</samp>). This may have security-related - ramifications for your site.</strong></p> - - <p>In particular, this module can leak sensitive information - from the configuration directives of other Apache modules such as - system paths, usernames/passwords, database names, etc. Due to - the way this module works there is no way to block information - from it. Therefore, this module should ONLY be used in a controlled - environment and always with caution.</p> - - </blockquote> - <hr /> - - <h2><a id="addmoduleinfo" - name="addmoduleinfo">AddModuleInfo</a></h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AddModuleInfo - <em>module-name string</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_info<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache 1.3 and - above - - <p>This allows the content of <em>string</em> to be shown as - HTML interpreted, <strong>Additional Information</strong> for - the module <em>module-name</em>. Example:</p> - - <blockquote> -<pre> -AddModuleInfo mod_auth.c 'See <A HREF="http://www.apache.org/docs/mod/mod_auth.html">http://www.apache.org/docs/mod/mod_auth.html</A>' -</pre> - </blockquote> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_info.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_info.html.ja.jis deleted file mode 100644 index e9cfdfcb166..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_info.html.ja.jis +++ /dev/null @@ -1,120 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_info</title> - - </head> - <!-- English revision: 1.14 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_info $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O%$%s%9%H!<%k$5$l$F$$$k$9$Y$F$N%b%8%e!<%k$d!"(B - $B@_Dj%U%!%$%k$N%G%#%l%/%F%#%V$J$I!"%5!<%P$N@_Dj$NA4BNE*$J35MW$r(B - $BDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_info.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - info_module<br /> - <a href="module-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> - Apache 1.1 $B0J9_$G;HMQ2DG=!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#addmoduleinfo">AddModuleInfo</a></li> - </ul> - - <h2>mod_info $B$N;HMQK!(B</h2> - - <p>$B@_Dj$9$k$K$O!"0J2<$r(B <code>access.conf</code> - $B%U%!%$%k$K2C$($^$9!#(B</p> -<pre> -<Location /server-info> -SetHandler server-info -</Location> -</pre> - $B%5!<%P@_Dj$N>pJs$X$N%"%/%;%9$r@)8B$9$k$?$a$K!"(B - <a href="core.html#location">location</a> - $B%G%#%l%/%F%#%V$NCf$K(B <a href="core.html#limit"><Limit></a> - $B@a$rF~$l$k$H$h$$$+$b$7$l$^$;$s!#(B - - <p>$B$$$C$?$s@_Dj$9$k$H!"(B<tt>http://your.host.dom/server-info</tt> - $B$r%"%/%;%9$9$k$H%5!<%P$N>pJs$rF@$i$l$k$h$&$K$J$j$^$9!#(B</p> - - <blockquote> - <p><strong>$B$3$N%b%8%e!<%k$O<B9T;~$K@_Dj%U%!%$%k$rFI$_9~$_$^$9!#(B - $B%5!<%P$N@_Dj%U%!%$%k$,:G8e$K%5!<%P$KFI$_9~$^$l$?8e$KJQ99$5$l$F$$$k(B - $B>l9g$K$O!"I=<($5$l$F$$$kFbMF$O<B9T$5$l$F$$$k%5!<%P$N@_Dj$rH?1G$7$F(B - <em>$B$$$J$$(B</em>$B$+$b$7$l$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B - $B$^$?!"@_Dj%U%!%$%k$O%5!<%P$,<B9T$5$l$F$$$k%f!<%6$N8"8B$G(B - $BFI$_9~$_5v2D$,M?$($i$l$F$$$kI,MW$,$"$j$^$9(B - (<a href="core.html#user"><samp>User</samp></a> - $B%G%#%l%/%F%#%V$r;2>H$7$F$/$@$5$$(B)$B!#(B - $B$G$J$1$l$P!"%G%#%l%/%F%#%V$N@_Dj$OI=<($5$l$^$;$s!#(B</strong></p> - <p><strong><samp>mod_info</samp> - $B$,%5!<%P$KAH$_9~$^$l$F$$$k>l9g$O!"%G%#%l%/%H%j(B<em>$B$4$H(B</em>$B$N%U%!%$%k(B - ($BNc$($P!"(B<samp>.htaccess</samp>) $B$r4^$`$9$Y$F$N@_Dj%U%!%$%k$G(B - $B%O%s%I%i$r;HMQ2DG=$G$"$k$H$$$&$3$H$K$bCm0U$7$F$/$@$5$$!#(B - $B$3$l$O!"$"$J$?$N%5%$%H$G$O%;%-%e%j%F%#$K4XO"$7$?LdBj$,$"$k$+$b$7$l$^$;$s!#(B - </strong></p> - - <p>$BFC$K!"$3$N%b%8%e!<%k$O%7%9%F%`%Q%9!"%f!<%6L>(B/$B%Q%9%o!<%I!"(B - $B%G!<%?%Y!<%9L>$J$I!"B>$N(B Apache $B%b%8%e!<%k$N@_Dj%G%#%l%/%F%#%V$+$i(B - $B?5=E$K07$o$l$k$Y$->pJs$rO3$i$7$F$7$^$&2DG=@-$,$"$j$^$9!#(B - $B$3$N%b%8%e!<%k$,$=$N$h$&$KF0:n$9$k$?$a!">pJs$NN.=P$rKI$0J}K!$O$"$j$^$;$s!#(B - $B$G$9$+$i!"$3$N%b%8%e!<%k$O$-$A$s$H%"%/%;%9@)8f$5$l$?4D6-$G$N$_(B - $BCm0U$7$F;H$C$F$/$@$5$$!#(B</p> - - </blockquote> - <hr /> - - <h2><a id="addmoduleinfo" - name="addmoduleinfo">AddModuleInfo</a></h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> AddModuleInfo - <em>module-name string</em><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_info<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 $B0J9_!#(B - - - <p>$B$3$l$O!"(B<em>string</em> $B$NFbMF$,%b%8%e!<%k(B <em>module-name</em> - $B$N(B<strong>$BDI2C>pJs(B</strong> $B$H$7$F(B HTML - $B$H$7$F2r<a$5$l!"I=<($5$l$k$h$&$K$7$^$9!#Nc(B:</p> - - <blockquote> -<pre> -AddModuleInfo mod_auth.c 'See <A HREF="http://www.apache.org/docs/mod/mod_auth.html">http://www.apache.org/docs/mod/mod_auth.html</A>' -</pre> - </blockquote> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_log_config.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_log_config.html.en deleted file mode 100644 index 6d056156de4..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_log_config.html.en +++ /dev/null @@ -1,417 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_log_config</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_log_config</h1> - - <p>This module provides for logging of the requests made to the - server, using the Common Log Format or a user-specified - format.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> - mod_log_config.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - config_log_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Was an extension - module prior to Apache 1.2.</p> - - <h2>Summary</h2> - - <p>This module provides for flexible logging of client - requests. Logs are written in a customizable format, and may be - written directly to a file, or to an external program. - Conditional logging is provided so that individual requests may - be included or excluded from the logs based on characteristics - of the request.</p> - - <p>Three directives are provided by this module: - <code>TransferLog</code> to create a log file, - <code>LogFormat</code> to set a custom format, and - <code>CustomLog</code> to define a log file and format in one - step. The <code>TransferLog</code> and <code>CustomLog</code> - directives can be used multiple times in each server to cause - each request to be logged to multiple files.</p> - - <p>See also: <a href="../logs.html">Apache Log Files</a>.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#cookielog">CookieLog</a></li> - - <li><a href="#customlog">CustomLog</a></li> - - <li><a href="#logformat">LogFormat</a></li> - - <li><a href="#transferlog">TransferLog</a></li> - </ul> - - <h2><a id="formats" name="formats">Custom Log Formats</a></h2> - - <p>The format argument to the <code>LogFormat</code> and - <code>CustomLog</code> directives is a string. This string is - used to log each request to the log file. It can contain literal - characters copied into the log files and the C-style control - characters "\n" and "\t" to represent new-lines and tabs. - Literal quotes and back-slashes should be escaped with - back-slashes.</p> - - <p>The characteristics of the request itself are logged by - placing "<code>%</code>" directives in the format string, which are - replaced in the log entry by the values as follows:</p> -<pre> -%...a: Remote IP-address -%...A: Local IP-address -%...B: Bytes sent, excluding HTTP headers. -%...b: Bytes sent, excluding HTTP headers. In CLF format - i.e. a '-' rather than a 0 when no bytes are sent. -%...c: Connection status when response was completed. - 'X' = connection aborted before the response completed. - '+' = connection may be kept alive after the response is sent. - '-' = connection will be closed after the response is sent. -%...{FOOBAR}e: The contents of the environment variable FOOBAR -%...f: Filename -%...h: Remote host -%...H The request protocol -%...{Foobar}i: The contents of Foobar: header line(s) in the request - sent to the server. -%...l: Remote logname (from identd, if supplied) -%...m The request method -%...{Foobar}n: The contents of note "Foobar" from another module. -%...{Foobar}o: The contents of Foobar: header line(s) in the reply. -%...p: The canonical Port of the server serving the request -%...P: The process ID of the child that serviced the request. -%...q The query string (prepended with a ? if a query string exists, - otherwise an empty string) -%...r: First line of request -%...s: Status. For requests that got internally redirected, this is - the status of the *original* request --- %...>s for the last. -%...t: Time, in common log format time format (standard english format) -%...{format}t: The time, in the form given by format, which should - be in strftime(3) format. (potentially localized) -%...T: The time taken to serve the request, in seconds. -%...u: Remote user (from auth; may be bogus if return status (%s) is 401) -%...U: The URL path requested, not including any query string. -%...v: The canonical ServerName of the server serving the request. -%...V: The server name according to the UseCanonicalName setting. -</pre> - - <p>The "..." can be nothing at all (<em>e.g.</em>, <code>"%h %u - %r %s %b"</code>), or it can indicate conditions for inclusion - of the item (which will cause it to be replaced with "-" if the - condition is not met). The forms of condition are a list of - HTTP status codes, which may or may not be preceded by "!". - Thus, "%400,501{User-agent}i" logs User-agent: on 400 errors - and 501 errors (Bad Request, Not Implemented) only; - "%!200,304,302{Referer}i" logs Referer: on all requests which - did <strong>not</strong> return some sort of normal status.</p> - - <p>Note that in versions previous to 1.3.25 no escaping was performed - on the strings from <code>%...r</code>, <code>%...i</code> and - <code>%...o</code>. This was mainly to comply with the requirements of - the Common Log Format. This implied that clients could insert control - characters into the log, so you had to be quite careful when dealing - with raw log files.</p> - - <p>For security reasons starting with 1.3.25 non-printable and - other special characters are escaped mostly by using - <code>\x<var>hh</var></code> sequences, where <var>hh</var> stands for - the hexadecimal representation of the raw byte. Exceptions from this - rule are <code>"</code> and <code>\</code> which are escaped by prepending - a backslash, and all whitespace characters that are written in their - C-style notation (<code>\n</code>, <code>\t</code>, etc).</p> - - <p>Some commonly used log format strings are:</p> - - <dl> - <dt>Common Log Format (CLF)</dt> - - <dd><code>"%h %l %u %t \"%r\" %>s %b"</code></dd> - - <dt>Common Log Format with Virtual Host</dt> - - <dd><code>"%v %h %l %u %t \"%r\" %>s %b"</code></dd> - - <dt>NCSA extended/combined log format</dt> - - <dd><code>"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" - \"%{User-agent}i\""</code></dd> - - <dt>Referer log format</dt> - - <dd><code>"%{Referer}i -> %U"</code></dd> - - <dt>Agent (Browser) log format</dt> - - <dd><code>"%{User-agent}i"</code></dd> - </dl> - - <p>Note that the canonical <a - href="core.html#servername">ServerName</a> and <a - href="core.html#port">Port</a> of the server serving the - request are used for <code>%v</code> and <code>%p</code> - respectively. This happens regardless of the <a - href="core.html#usecanonicalname">UseCanonicalName</a> setting - because otherwise log analysis programs would have to duplicate - the entire vhost matching algorithm in order to decide what - host really served the request.</p> - - <h2>Security Considerations</h2> - - <p>See the <a - href="../misc/security_tips.html#serverroot">security tips</a> - document for details on why your security could be compromised - if the directory where logfiles are stored is writable by - anyone other than the user that starts the server.</p> - - <h2>Compatibility notes</h2> - - <ul> - <li>This module is based on mod_log_config distributed with - previous Apache releases, now updated to handle multiple - logs. There is now no need to rebuild Apache to change - configuration log formats.</li> - - <li>The module also implements the <code>CookieLog</code> - directive, used to log user-tracking information created by - <a href="mod_usertrack.html">mod_usertrack</a>. The use of - <code>CookieLog</code> is deprecated, and a - <code>CustomLog</code> should be defined to log user-tracking - information instead.</li> - - <li>As of Apache 1.3.5, this module allows conditional - logging based upon the setting of <a - href="../env.html">environment variables</a>. That is, you - can control whether a request should be logged or not based - upon whether an arbitrary environment variable is defined or - not. This is configurable on a per-logfile - basis.</li> - - <li>Beginning with Apache 1.3.5, the mod_log_config module - has also subsumed the <code>RefererIgnore</code> - functionality from <a - href="mod_log_referer.html">mod_log_referer</a>. The effect - of <code>RefererIgnore</code> can be achieved by combinations - of <a href="mod_setenvif.html"><code>SetEnvIf</code></a> - directives and conditional <code>CustomLog</code> - definitions.</li> - </ul> - <hr /> - - <h2><a id="cookielog" name="cookielog">CookieLog</a> - directive</h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> CookieLog - <em>filename</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_cookies<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Only available - in Apache 1.2 and above</p> - - <p>The CookieLog directive sets the filename for logging of - cookies. The filename is relative to the <a - href="core.html#serverroot">ServerRoot</a>. This directive is - included only for compatibility with <a - href="mod_cookies.html">mod_cookies</a>, and is deprecated.</p> - <hr /> - - <h2><a id="customlog" name="customlog">CustomLog</a> <a - id="customlog-conditional" - name="customlog-conditional">directive</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> CustomLog - <em>file</em>|<em>pipe</em> <em>format</em>|<em>nickname</em> - [env=[!]<em>environment-variable</em>]<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Nickname only - available in Apache 1.3 or later. Conditional logging available - in 1.3.5 or later.<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_log_config</p> - - <p>The <code>CustomLog</code> directive is used to log requests - to the server. A log format is specified, and the logging can - optionally be made conditional on request characteristics using - environment variables.</p> - - <p>The first argument, which specifies the location to which - the logs will be written, can take one of the following two - types of values:</p> - - <dl> - <dt><em>file</em></dt> - - <dd>A filename, relative to the <a - href="core.html#serverroot">ServerRoot</a>.</dd> - - <dt><em>pipe</em></dt> - - <dd>The pipe character "<code>|</code>", followed by the path - to a program to receive the log information on its standard - input. <strong>Security:</strong> if a program is used, then - it will be run as the user who started httpd. This will be - root if the server was started by root; be sure that the - program is secure.</dd> - </dl> - - <p>The second argument specifies what will be written to the - log file. It can specify either a <em>nickname</em> defined by - a previous <a href="#logformat">LogFormat</a> directive, or it - can be an explicit <em>format</em> string as described in the - <a href="#formats">log formats</a> section.</p> - - <p>For example, the following two sets of directives have - exactly the same effect:</p> -<pre> - # CustomLog with format nickname - LogFormat "%h %l %u %t \"%r\" %>s %b" common - CustomLog logs/access_log common - - # CustomLog with explicit format string - CustomLog logs/access_log "%h %l %u %t \"%r\" %>s %b" -</pre> - - <p>The third argument is optional and controls - whether or not to log a particular request based on the - presence or absence of a particular variable in the server - environment. If the specified <a href="../env.html">environment - variable</a> is set for the request (or is not set, in the case - of a '<code>env=!<em>name</em></code>' clause), then the - request will be logged.</p> - - <p>Environment variables can be set on a per-request - basis using the <a href="mod_setenvif.html">mod_setenvif</a> - and/or <a href="mod_rewrite.html">mod_rewrite</a> modules. For - example, if you want to record requests for all GIF - images on your server in a separate logfile but not in your main - log, you can use:</p> -<pre> - SetEnvIf Request_URI \.gif$ gif-image - CustomLog gif-requests.log common env=gif-image - CustomLog nongif-requests.log common env=!gif-image -</pre> - <hr /> - - <h2><a id="logformat" name="logformat">LogFormat</a> - directive</h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LogFormat - <em>format</em>|<em>nickname</em> [<em>nickname</em>]<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>LogFormat "%h %l - %u %t \"%r\" %>s %b"</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Nickname only - available in Apache 1.3 or later<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_log_config</p> - - <p>This directive specifies the format of the access log - file.</p> - - <p>The <code>LogFormat</code> directive can take one of two - forms. In the first form, where only one argument is specified, - this directive sets the log format which will be used by logs - specified in subsequent <a href="#transferlog">TransferLog</a> - directives. The single argument can specify an explicit - <em>format</em> as discussed in the <a href="#formats">custom log - formats</a> section above. Alternatively, it can use a - <em>nickname</em> to refer to a log format defined in a - previous <code>LogFormat</code> directive as described - below.</p> - - <p>The second form of the <code>LogFormat</code> directive - associates an explicit <em>format</em> with a - <em>nickname</em>. This <em>nickname</em> can then be used in - subsequent <code>LogFormat</code> or <a - href="#customlog">CustomLog</a> directives rather than - repeating the entire format string. A <samp>LogFormat</samp> - directive which defines a nickname <strong>does nothing - else</strong> -- that is, it <em>only</em> defines the - nickname, it doesn't actually apply the format and make it the - default. Therefore, it will not affect subsequent <a - href="#transferlog">TransferLog</a> directives.</p> - - <p>For example:</p> - - <code>LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common</code> - - <hr /> - - <h2><a id="transferlog" name="transferlog">TransferLog</a> - directive</h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> TransferLog - <em>file</em>|<em>pipe</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> none<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_log_config</p> - - <p>This directive has exactly the same arguments and effect as - the <a href="#customlog">CustomLog</a> directive, with the - exception that it does not allow the log format to be specified - explicitly or for conditional logging of requests. Instead, the - log format is determined by the most recently specified <a - href="#logformat">LogFormat</a> directive that does not define - a nickname. Common Log Format is used if no other format has - been specified.</p> - - <p>Example:</p> -<pre> - LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" - TransferLog logs/access_log -</pre> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_log_config.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_log_config.html.ja.jis deleted file mode 100644 index 1e6893e8305..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_log_config.html.ja.jis +++ /dev/null @@ -1,419 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - <title>Apache module mod_log_config</title> - </head> - <!-- English revision: 1.56 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#000080" - alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_log_config $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O%5!<%P$X$N%j%/%(%9%H$r(B Common Log Format - $B$d%f!<%6$K;XDj$5$l$?=q<0$rMQ$$$F(B - $B%m%0<}=8$9$k5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - mod_log_config.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - config_log_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 $B$h$jA0$O(B - extension $B%b%8%e!<%k$G$7$?!#(B</p> - - <h2>$B35MW(B</h2> - - <p> - $B$3$N%b%8%e!<%k$O%/%i%$%"%s%H$N%j%/%(%9%H$r=@Fp$K%m%0<}=8$9$k5!G=$r(B - $BDs6!$7$^$9!#%m%0$O%+%9%?%^%$%:2DG=$J=q<0$G=q$+$l!"%U%!%$%k$KD>@\(B - $B=q$$$?$j!"30It%W%m%0%i%`$KEO$7$?$j$9$k$3$H$,$G$-$^$9!#8D!9$N%j%/%(%9%H$r(B - $BFCD'$K1~$8$F%m%0$K=q$$$?$j=q$+$J$+$C$?$j$G$-$k$h$&$K!">r7o$K$h$k(B - $B%m%0<}=8$bDs6!$5$l$F$$$^$9!#(B</p> - - <p>$B$3$N%b%8%e!<%k$O;0$D$N%G%#%l%/%F%#%VDs6!$7$^$9(B: - $B%m%0%U%!%$%k$r:n@.$9$k$?$a$N(B <code>TransferLog</code>, - $B?7$7$$=q<0$r(B $BDj5A$9$k(B <code>LogFormat</code>, - $B%m%0%U%!%$%k$H(B $B=q<0$r0lEY$KDj5A$9$k(B <code>CustomLog</code> - $B$G$9!#(B - $B3F%j%/%(%9%H$,J#?t2s%m%0<}=8$5$l$k$h$&$K$9$k$?$a$K(B - <code>TransferLog</code> $B%G%#%l%/%F%#%V$H(B <code>CustomLog</code> - $B%G%#%l%/%F%#%V$OJ#?t2s;HMQ$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$B;2>H(B: <a href="../logs.html">Apache - $B%m%0%U%!%$%k(B</a>$B!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#cookielog">CookieLog</a></li> - - <li><a href="#customlog">CustomLog</a></li> - - <li><a href="#logformat">LogFormat</a></li> - - <li><a href="#transferlog">TransferLog</a></li> - </ul> - - <h2><a id="formats" name="formats">$B%+%9%?%`%m%0=q<0(B</a></h2> - - <p><code>LogFormat</code> $B%G%#%l%/%F%#%V$H(B <code>CustomLog</code> - $B%G%#%l%/%F%#%V$N=q<0$r;XDj$9$k0z?t$OJ8;zNs$G$9!#$3$NJ8;zNs$r;H$C$F$=$l$>$l$N(B - $B%j%/%(%9%H$,%m%0%U%!%$%k$K%m%0<}=8$5$l$^$9!#$=$NJ8;zNs$K$O(B - $B%m%0%U%!%$%k$K$=$N$^$^(B - $B=q$+$l$kJ8;zNs$d!"$=$l$>$l2~9T$H%?%V$r8=$9(B C $B8@8l(B - $B7A<0$N@)8fJ8;z(B "\n" $B$H(B "\t" - $B$H$r4^$a$k$3$H$,$G$-$^$9!#$=$N$^$^=PNO$5$;$?$$0zMQId$H%P%C%/%9%i%C%7%e$O(B - $B%P%C%/%9%i%C%7%e$G%(%9%1!<%W$9$kI,MW$,$"$j$^$9!#(B</p> - - <p>$B%j%/%(%9%H$NFCD'$=$N$b$N$O(B "<code>%</code>" - $B%G%#%l%/%F%#%V$r=q<0$NJ8;zNs$K=q$/$3$H$G(B - $B%m%0<}=8$5$l$^$9!#(B"%" - $B%G%#%l%/%F%#%V$O%m%0%(%s%H%jCf$G$O0J2<$N$h$&$J(B - $BCM$GCV49$5$l$^$9(B:</p> - -<pre> -%...a: $B%j%b!<%H(B IP $B%"%I%l%9(B -%...A: $B%m!<%+%k(B IP $B%"%I%l%9(B -%...B: HTTP $B%X%C%@0J30$NAw$i$l$?%P%$%H?t(B -%...b: HTTP $B%X%C%@0J30$NAw$i$l$?%P%$%H?t!#(BCLF $B=q<0!#(B - $B$9$J$o$A!"(B1 $B%P%$%H$bAw$i$l$J$+$C$?$H$-$O(B 0 $B$G$O$J$/!"(B'-' $B$K$J$k(B -%...c: $B1~Ez$,=*N;$7$?$H$-$N@\B3%9%F!<%?%9!#(B - 'X' = $B1~Ez$,=*N;$9$kA0$K@\B3$,0[>o=*N;(B - '+' = $B1~Ez$,Aw$i$l$?8e$K@\B3$r;}B3$9$k$3$H$,2DG=(B - '-' = $B1~Ez$,Aw$i$l$?8e$K@\B3$O@Z$i$l$k(B -%...{FOOBAR}e: $B4D6-JQ?t(B FOOBAR $B$NFbMF(B -%...f: $B%U%!%$%kL>(B -%...h: $B%j%b!<%H%[%9%H(B -%...H $B%j%/%(%9%H%W%m%H%3%k(B -%...{Foobar}i: $B%5!<%P$KAw$i$l$?%j%/%(%9%H$N(B Foobar: $B%X%C%@$NFbMF(B -%...l: ($B$b$7$"$l$P!"(Bidentd $B$+$i$N(B) $B%j%b!<%H%m%0L>(B -%...m $B%j%/%(%9%H%a%=%C%I(B -%...{Foobar}n: $BB>$N%b%8%e!<%k$+$i$N%a%b(B "Foobar" $B$NFbMF(B -%...{Foobar}o: $B1~Ez$N(B Foobar: $B%X%C%@$NFbMF(B -%...p: $B%j%/%(%9%H$r07$C$F$$$k%5!<%P$N@5<0$J%]!<%H(B -%...P: $B%j%/%(%9%H$r07$C$?;R%W%m%;%9$N%W%m%;%9(B ID -%...q $BLd$$9g$;J8;zNs(B ($BB8:_$9$k>l9g$OA0$K(B ? $B$,DI2C$5$l$k!#$=$&$G$J$$(B - $B>l9g$O6uJ8;zNs(B) -%...r: $B%j%/%(%9%H$N:G=i$N9T(B -%...s: $B%9%F!<%?%9!#FbIt$G%j%@%$%l%/%H$5$l$?%j%/%(%9%H$O!"85!9$N(B - $B%j%/%(%9%H$N%9%F!<%?%9(B --- $B:G8e$N%9%F!<%?%9$O(B %...>s -%...t: $B;~9o!#(BCLF $B$N;~9o$N=q<0(B ($BI8=`$N1Q8l$N=q<0(B) -%...{format}t: format $B$GM?$($i$l$?=q<0$K$h$k;~9o!#(Bformat $B$O(B strftime (3) $B$N(B - $B=q<0$G$"$kI,MW$,$"$k!#(B($BCO0h2=$5$l$F$$$k2DG=@-$,$"$k(B) -%...T: $B%j%/%(%9%H$r07$&$N$K$+$+$C$?;~4V!"ICC10L(B -%...u: $B%j%b!<%H%f!<%6(B (auth $B$K$h$k$b$N!#%9%F!<%?%9(B (%s) $B$,(B 401 $B$N$H$-$O(B - $B0UL#$,$J$$2DG=@-$,$"$k(B) -%...U: $B%j%/%(%9%H$5$l$?(B URL $B%Q%9$G!"%/%(%jJ8;zNs$O4^$^$J$$(B -%...v: $B%j%/%(%9%H$r07$C$F$$$k%5!<%P$N@5<0$J(B ServerName -%...V: UseCanonicalName $B$N@_Dj$K$h$k%5!<%PL>(B -</pre> - - <p>"..." $B$O2?$b$J$$$+(B (<em>$BNc$($P(B</em>$B!"(B<code>"%h %u %r %s %b"</code> $B$N$h$&$K(B)$B!"(B - $B$=$N9`L\$r4^$a$k$+$I$&$+$N>r7o(B ($B$b$7>r7o$K9g$o$J$+$C$?$H$-$O(B - $B$=$N9`L\$O(B "-" $B$K$J$j$^$9(B) $B$K$9$k$3$H$,$G$-$^$9!#>r7o$N7A<0$O(B - HTTP $B%9%F!<%?%9%3!<%I$N%j%9%H$G!"A0$K(B "!" $B$rIU$1$k$3$H$b$G$-$^$9!#(B - $B$G$9$+$i!"(B"%400,501{User-agent}i" $B$O(B 400 $B%(%i!<$H(B 501 $B%(%i!<(B - (Bad Request $B$H(B Not Implemented) $B$N$H$-$N$_(B User-agent: $B$r%m%0<}=8$7$^$9!#(B - "%!200,304,302{Referer}i" $B$OIaDL$N%9%F!<%?%9$r(B<strong>$BJV$5$J$+$C$?(B</strong> - $B$9$Y$F$N%j%/%(%9%H$G(B Referer: $B$r%m%0<}=8$7$^$9!#(B</p> - - <p>1.3.25 $B$h$jA0$N%P!<%8%g%s$G$O!"(B<code>%...r</code>, <code>%...i</code>, - <code>%...o</code> $B$NJ8;zNs$O(B - $B%(%9%1!<%W$5$l$F$$$J$+$C$?$3$H$K(B - $BCm0U$7$F$/$@$5$$!#$3$l$O<g$K(B Common Log Format $B$+$i$NMW5a$K$h$k$b$N$G$9!#(B - $B$3$l$O!"%/%i%$%"%s%H$,%m%0$K@)8fJ8;z$rA^F~$9$k$3$H$,$G$-$k$H$$$&$3$H$G!"(B - $B@8$N%m%0%U%!%$%k$r07$&$H$-$K$OHs>o$KCm0U$,I,MW$G$7$?!#(B</p> - - <p>$B%;%-%e%j%F%#>e$NM}M3$K$h$j(B 1.3.25 $B$h$j0u;zIT2DG=$JJ8;z$H(B - $BB>$NFCJL$JJ8;z$O!"$[$H$s$I(B <code>\x<var>hh</var></code> $B$H$$$&(B - $BJ8;zNs$G%(%9%1!<%W$5$l$k$h$&$K$J$j$^$7$?!#$3$3$G!"(B<var>hh</var> $B$O(B - $B$=$N$^$^$N%P%$%H$NCM$N(B 16 $B?J$G$NCM$G$9!#$3$N5,B'$NNc30$K$O!"(B - $B%P%C%/%9%i%C%7%e$r;H$C$F%(%9%1!<%W$5$l$k(B <code>"</code> $B$H(B <code>\</code> $B$H!"(B - C $B7A<0$NI=5-K!$,;H$o$l$k6uGrJ8;z(B (<code>\n</code>, <code>\t</code> $B$J$I(B) $B$,(B - $B$"$j$^$9!#(B</p> - - <p>$B$h$/;H$o$l$k%U%)!<%^%C%HJ8;zNs$O(B:</p> - - <dl> - <dt>Common Log Format (CLF)</dt> - - <dd><code>"%h %l %u %t \"%r\" %>s %b"</code></dd> - - <dt>$B%P!<%A%c%k%[%9%HIU$-(B Common Log Format</dt> - - <dd><code>"%v %h %l %u %t \"%r\" %>s %b"</code></dd> - - <dt>NCSA extended/combined $B%m%0=q<0(B</dt> - - <dd><code>"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" - \"%{User-agent}i\""</code></dd> - - <dt>Referer $B%m%0=q<0(B</dt> - - <dd><code>"%{Referer}i -> %U"</code></dd> - - <dt>Agent ($B%V%i%&%6(B) $B%m%0=q<0(B</dt> - - <dd><code>"%{User-agent}i"</code></dd> - </dl> - - <p><code>%v</code> $B$H(B <code>%p</code> $B$K$O$=$l$>$l!"(B - $B%j%/%(%9%H$r07$C$F$$$k%5!<%P$N@55,2=$5$l$?(B - <a href="core.html#servername">ServerName</a> $B$H(B <a - href="core.html#port">Port</a> $B$,;H$o$l$k$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B - $B$3$l$O(B <a href="core.html#usecanonicalname">UseCanonicalName</a> $B$N(B - $B@_Dj$K4X$o$i$:!">o$K$=$&$J$j$^$9!#$=$&$7$J$$$H$I$N(B - $B%[%9%H$,<B:]$K%j%/%(%9%H$r07$C$?$N$+$rCN$k$?$a$K!"(B - $B%m%02r@O%W%m%0%i%`$,%P!<%A%c%k%[%9%H$N%^%C%A%s%0$r$H$k%"%k%4%j%:%`A4BN$r(B - $B:F<BAu$7$J$1$l$P$J$i$J$/$J$k$+$i$G$9!#(B</p> - - <h2>$B%;%-%e%j%F%#$K4X$7$F(B</h2> - - <p>$B%m%0%U%!%$%k$,J]B8$5$l$F$$$k%G%#%l%/%H%j$,%5!<%P$r5/F0$7$?0J30$N%f!<%6$G(B - $B=q$-9~$_2DG=$J$H$-$K%;%-%e%j%F%#$NLdBj$,H/@8$9$kM}M3$N>\:Y$O(B<a - href="../misc/security_tips.html#serverroot">$B%;%-%e%j%F%#$N$3$D(B</a> - $B$r;2>H$7$F$/$@$5$$!#(B</p> - - <h2>$B8_49@-$K4X$7$F(B</h2> - - <ul> - <li>$B$3$N%b%8%e!<%k$O0JA0$N(B Apache - $B$N%j%j!<%9$GG[I[$5$l$F$$$?(B mod_log_config - $B$r4p$K$7$F!"J#?t$N%m%0$r07$($k$h$&$K99?7$5$l$?$b$N$G$9!#(B - $B@_Dj2DG=$J%m%0$N=q<0$r;H$&$?$a$K(B Apache $B$r%S%k%I(B - $B$7D>$9I,MW$O$J$/$J$j$^$7$?!#(B</li> - - <li>$B$3$N%b%8%e!<%k$O(B <a - href="mod_usertrack.html">mod_usertrack</a> $B$K$h$j(B - $B:n$i$l$?%f!<%6DI@WMQ$N>pJs$N%m%0<}=8$r9T$J$&$?$a$K;H$o$l$F$$$?(B - <code>CookieLog</code> - $B%G%#%l%/%F%#%V$b<BAu$7$F$$$^$9!#(B<code>CookieLog</code> - $B%G%#%l%/%F%#%V$N;HMQ$OHs?d>)$G!"(B - $B%f!<%6DI@WMQ$N>pJs$b%m%0<}=8$9$k$h$&$K@_Dj$7$?(B - <code>CustomLog</code> $B$r;H$&$3$H$,?d>)$5$l$F$$$^$9!#(B</li> - - <li>Apache 1.3.5 $B$N;~E@$G!"$3$N%b%8%e!<%k$O(B <a - href="../env.html">$B4D6-JQ?t(B</a> - $B$N@_Dj$K4p$E$$$F>r7oIU$-%m%.%s%0$,$G$-$k$h$&$K$J$j$^$7$?!#$9$J$o$A!"(B - $B%j%/%(%9%H$,%m%0<}=8$5$l$k$+$I$&$+$rG$0U$N4D6-JQ?t$,Dj5A$5$l$F$$$k$+(B - $B$I$&$+$K$h$jJQ99$9$k$3$H$,$G$-$k$H$$$&$3$H$G$9!#$3$l$O(B - $B%m%0%U%!%$%k$4$H$K@_Dj2DG=$G$9!#(B</li> - - <li>Apache 1.3.5 $B$+$i!"(Bmod_log_config $B%b%8%e!<%k$O(B <a - href="mod_log_referer.html">mod_log_referer</a> $B$N(B - <code>RefererIgnore</code> $B5!G=$b4^$`$h$&$K$J$j$^$7$?!#(B - <code>RefererIgnore</code> $B$N8z2L$O(B <a - href="mod_setenvif.html"><code>SetEnvIf</code></a> - $B%G%#%l%/%F%#%V$H(B <code>CustomLog</code> - $B$N>r7oIU$-$N@_Dj$K$h$jC#@.$G$-$^$9!#(B</li> - </ul> - - <hr /> - <h2><a id="cookielog" name="cookielog">CookieLog</a> - $B%G%#%l%/%F%#%V(B</h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> CookieLog - <em>filename</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_cookies<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 - $B0J9_$G$N$_;HMQ2DG=(B</p> - - <p>CookieLog - $B%G%#%l%/%F%#%V$O%/%C%-!<$N%m%.%s%0$N$?$a$N%U%!%$%kL>$r(B - $B@_Dj$7$^$9!#(Bfilename $B$O(B <a - href="core.html#serverroot">ServerRoot</a> - $B$+$i$NAjBP%Q%9$G$9!#$3$N%G%#%l%/%F%#%V$O(B <a - href="mod_cookies.html">mod_cookies</a> $B$H$N8_49@-$N$?$a$@$1$K(B - $BB8:_$7!";HMQ$O?d>)$5$l$F$$$^$;$s!#(B</p> - - <hr /> - <h2><a id="customlog" name="customlog">CustomLog</a> <a - id="customlog-conditional" - name="customlog-conditional">$B%G%#%l%/%F%#%V(B</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> CustomLog - <em>file</em>|<em>pipe</em> <em>format</em>|<em>nickname</em> - [env=[!]<em>environment-variable</em>]<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Nickname $B$O(B Apache - 1.3 $B0J9_$G$N$_;HMQ2DG=!#(B $B>r7oIU$-%m%.%s%0$O(B 1.3.5 - $B0J9_$G;HMQ2DG=!#(B<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_log_config</p> - - <p><code>CustomLog</code> $B%G%#%l%/%F%#%V$O%5!<%P$X$N%j%/%(%9%H$r(B - $B%m%0<}=8$9$k$?$a$K;H$o$l$^$9!#%m%0$N=q<0$,;XDj$5$l!"(B - $B4D6-JQ?t$r;H$C$F%m%.%s%0$,>r7o$K1~$8$F9T$J$o$l$k$h$&$K$9$k$3$H$b$G$-$^$9!#(B</p> - - <p>$B%m%0$,=q$+$l$k>l=j$r;XDj$9$k:G=i$N0z?t$O0J2<$NFs$D$N7A<0$NCM$r(B - $B$H$k$3$H$,$G$-$^$9(B:</p> - - <dl> - <dt><em>file</em></dt> - - <dd><a href="core.html#serverroot">ServerRoot</a> - $B$+$i$NAjBP%Q%9$GI=$5$l$k%U%!%$%kL>!#(B</dd> - - <dt><em>pipe</em></dt> - - <dd>$B%Q%$%WJ8;z(B "<code>|</code>" $B$H!"$=$N8e$KI8=`F~NO$+$i%m%0$N(B - $B>pJs$r<u$1$H$k%W%m%0%i%`$X$N%Q%9$,B3$$$?$b$N!#(B - <strong>$B%;%-%e%j%F%#(B:</strong> $B$b$7%W%m%0%i%`$,;HMQ$5$l$?>l9g!"(B - httpd $B$,5/F0$5$l$?%f!<%6$H$7$F<B9T$5$l$^$9!#$3$l$O%5!<%P$,(B - root $B$K$h$C$F5/F0$5$l$?>l9g$O(B root $B$K$J$j$^$9!#%W%m%0%i%`$,(B - $B0BA4$G$"$k$h$&$KN10U$7$F$/$@$5$$!#(B</dd> - </dl> - - <p>$BFs$D$a$N0z?t$O%m%0%U%!%$%k$K2?$,=q$+$l$k$+$r;XDj$7$^$9!#(B - $BA0$K$"$k(B <a href="#logformat">LogFormat</a> $B%G%#%l%/%F%#%V$K$h$j(B - $BDj5A$5$l$?(B <em>$B%K%C%/%M!<%`(B</em> $B$+!"(B<a href="#formats">$B%m%0$N=q<0(B</a> - $B$N$H$3$m$G@bL@$5$l$F$$$k!"L@<(E*$J(B<em>$B%U%)!<%^%C%H(B</em>$BJ8;zNs$N(B - $B$I$A$i$+$r;XDj$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$BNc$($P!"0J2<$NFs$D$N%G%#%l%/%F%#%V72$OA4$/F1$88z2L$r$b$?$i$7$^$9(B:</p> - -<pre> - # CustomLog with format nickname - LogFormat "%h %l %u %t \"%r\" %>s %b" common - CustomLog logs/access_log common - - # CustomLog with explicit format string - CustomLog logs/access_log "%h %l %u %t \"%r\" %>s %b" -</pre> - - <p>$B;0$DL\$N0z?t$O>JN,2DG=$G!"%5!<%P$N4D6-$K$"$kJQ?t$,$"$k$+$J$$$+$K(B - $B1~$8$F%j%/%(%9%H$r%m%0<}=8$9$k$+$I$&$+$r@)8f$9$k$?$a$K;H$&$3$H$,$G$-$^$9!#(B - $B;XDj$5$l$?(B<a href="../env.html">$B4D6-JQ?t(B</a>$B$,%j%/%(%9%H$KBP$7$F(B - $B@_Dj$5$l$F$$$?>l9g(B ('<code>env=!<em>name</em></code>' $BJ8$,;H$o$l$?$H$-$O(B - $B@_Dj$5$l$F$$$J$$>l9g(B)$B!"%j%/%(%9%H$,%m%0<}=8$5$l$^$9!#(B</p> - - <p>$B4D6-JQ?t$O(B <a href="mod_setenvif.html">mod_setenvif</a> $B%b%8%e!<%k$H(B - <a href="mod_rewrite.html">mod_rewrite</a> $B%b%8%e!<%k$NN>J}$b$7$/$O(B - $BJRJ}$rMQ$$$F%j%/%(%9%H$4$H$K@_Dj$9$k$3$H$,$G$-$^$9!#(B - $BNc$($P!"%5!<%P$K$"$k$9$Y$F$N(B GIF $B2hA|$X$N%j%/%(%9%H$rJL$N%m%0%U%!%$%k(B - $B$K$O5-O?$7$?$$$1$l$I!"%a%$%s%m%0$K$O5-O?$7$?$/$J$$!"$H$$$&$H$-$O(B - $B0J2<$N$b$N$r;H$&$3$H$,$G$-$^$9(B:</p> - -<pre> - SetEnvIf Request_URI \.gif$ gif-image - CustomLog gif-requests.log common env=gif-image - CustomLog nongif-requests.log common env=!gif-image -</pre> - - <hr /> - <h2><a id="logformat" name="logformat">LogFormat</a> - $B%G%#%l%/%F%#%V(B</h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> LogFormat - <em>format</em>|<em>nickname</em> [<em>nickname</em>]<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>LogFormat "%h - %l %u %t \"%r\" %>s %b"</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> $B%K%C%/%M!<%`$O(B - Apache 1.3 $B0J9_$G$N$_;HMQ2DG=(B<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_log_config</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O%"%/%;%9%m%0%U%!%$%k$N=q<0$r;XDj$7$^$9!#(B</p> - - <p><code>LogFormat</code> $B%G%#%l%/%F%#%V$OFs$D$N7A<0$N$I$A$i$+$r(B - $B$H$k$3$H$,$G$-$^$9!#:G=i$N7A<0$G$O0l$D$N0z?t$N$_$,;XDj$5$l!"(B - $BB3$/(B <a href="#transferlog">TransferLog</a> - $B$G;XDj$5$l$?%m%0$G;H$o$l$k%m%0$N=q<0$r@_Dj$7$^$9!#$3$NC1FH$N0z?t$G$O(B - $B>e$N(B<a href="#formats">$B%+%9%?%`%m%0=q<0(B</a>$B$G@bL@$5$l$F$$$k$h$&$K(B - <em>$B%U%)!<%^%C%H(B</em>$B$rL@<(E*$K;XDj$9$k$3$H$,$G$-$^$9!#(B - $B$b$7$/$O!"2<$G@bL@$5$l$F$$$k$h$&$KA0$K(B <code>LogFormat</code> - $B%G%#%l%/%F%#%V$GDj5A$5$l$?%m%0$N=q<0$r(B<em>$B%K%C%/%M!<%`(B</em>$B$r;H$C$F(B - $B;2>H$9$k$3$H$b$G$-$^$9!#(B</p> - - <p><code>LogFormat</code> $B%G%#%l%/%F%#%V$NFs$D$a$N7A<0$O(B - <em>$B%U%)!<%^%C%H(B</em>$B$K(B<em>$B%K%C%/%M!<%`(B</em>$B$rM?$($^$9!#(B - $B%U%)!<%^%C%HJ8;zNsA4BN$r:F$S=q$/$+$o$j$K!"(B - $B$3$N(B<em>$B%K%C%/%M!<%`(B</em>$B$rB3$-$N(B <code>LogFormat</code> $B%G%#%l%/%F%#%V$d(B - <a href="#customlog">CustomLog</a> $B%G%#%l%/%F%#%V$G;H$&$3$H$,$G$-$^$9!#(B - $B%K%C%/%M!<%`$rDj5A$9$k(B <samp>LogFormat</samp> $B%G%#%l%/%F%#%V$O(B - <strong>$BB>$K$O2?$b$7$^$;$s(B</strong> -- $B$9$J$o$A!"%K%C%/%M!<%`$rDj5A(B - $B$9$k$@$1$G!"<B:]$K=q<0$rE,MQ$7$F%G%U%)%k%H$K$9$k$H$$$&$3$H$O9T$J$$$^$;$s!#(B - $B$G$9$+$i!"$3$l$OB3$/(B <a href="#transferlog">TransferLog</a> - $B%G%#%l%/%F%#%V$K$O1F6A$rM?$($^$;$s!#(B</p> - - - <p>$BNc(B:</p> - - <code>LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common</code> - - <hr /> - <h2><a id="transferlog" - name="transferlog">TransferLog</a>$B%G%#%l%/%F%#%V(B</h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>$B9=J8(B:</strong></a> TransferLog - <em>file</em>|<em>pipe</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> none<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_log_config</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O!"%m%0=q<0$rD>@\;XDj$G$-$J$$$3$H$H!"(B - $B>r7oIU$-%m%.%s%0$,L5$$$3$H$r=|$/$H!"(B<a - href="#customlog">CustomLog</a> $B$HA4$/F1$80z?t$H8z2L$,$"$j$^$9!#(B - $BD>@\%m%0=q<0$r;XDj$9$kBe$o$j$K!"%m%0$N=q<0$O$=$3$^$G$G0lHV:G8e$K;XDj$5$l$?(B - $B%K%C%/%M!<%`$rDj5A$7$J$$(B - <a href="#logformat">LogFormat</a> $B%G%#%l%/%F%#%V(B - $B$GDj5A$5$l$?$b$N$r;H$$$^$9!#(B - $B$b$7B>$N=q<0$,A4$/;XDj$5$l$F$$$J$$$H$-$O(B Common Log Format - $B$,;H$o$l$^$9!#(B</p> - - <p>$BNc(B:</p> - -<pre> - LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" - TransferLog logs/access_log -</pre> - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_mime.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_mime.html.en deleted file mode 100644 index ef3c5415c26..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_mime.html.en +++ /dev/null @@ -1,687 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_mime</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Module mod_mime</h1> - - <p>This module provides for determining the types of files from - the filename and for association of handlers with files.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_mime.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - mime_module</p> - - <h2>Summary</h2> - This module is used to determine various bits of "meta - information" about documents. This information relates to the - content of the document and is returned to the browser or used - in content-negotiation within the server. In addition, a - "handler" can be set for a document, which determines how the - document will be processed within the server. - - <p>The directives <a href="#addcharset">AddCharset</a>, <a - href="#addencoding">AddEncoding</a>, <a - href="#addhandler">AddHandler</a>, <a - href="#addlanguage">AddLanguage</a> and <a - href="#addtype">AddType</a> are all used to map file extensions - onto the meta-information for that file. Respectively they set - the character set, content-encoding, handler, content-language, - and MIME-type (content-type) of documents. The directive <a - href="#typesconfig">TypesConfig</a> is used to specify a file - which also maps extensions onto MIME types. The directives <a - href="#forcetype">ForceType</a> and <a - href="#sethandler">SetHandler</a> are used to associated all - the files in a given location (<em>e.g.</em>, a particular - directory) onto a particular MIME type or handler.</p> - - <p>Note that changing the type or encoding of a file does not - change the value of the <code>Last-Modified</code> header. - Thus, previously cached copies may still be used by a client or - proxy, with the previous headers.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#addcharset">AddCharset</a></li> - - <li><a href="#addencoding">AddEncoding</a></li> - - <li><a href="#addhandler">AddHandler</a></li> - - <li><a href="#addlanguage">AddLanguage</a></li> - - <li><a href="#addtype">AddType</a></li> - - <li><a href="#defaultlanguage">DefaultLanguage</a></li> - - <li><a href="#forcetype">ForceType</a></li> - - <li><a href="#removeencoding">RemoveEncoding</a></li> - - <li><a href="#removehandler">RemoveHandler</a></li> - - <li><a href="#removetype">RemoveType</a></li> - - <li><a href="#sethandler">SetHandler</a></li> - - <li><a href="#typesconfig">TypesConfig</a></li> - </ul> - - <p>See also: <a - href="mod_mime_magic.html#mimemagicfile">MimeMagicFile</a>.</p> - - <h2><a id="multipleext" name="multipleext">Files with Multiple - Extensions</a></h2> - Files can have more than one extension, and the order of the - extensions is <em>normally</em> irrelevant. For example, if the - file <code>welcome.html.fr</code> maps onto content type - text/html and language French then the file - <code>welcome.fr.html</code> will map onto exactly the same - information. The only exception to this is if an extension is - given which Apache does not know how to handle. In this case it - will "forget" about any information it obtained from extensions - to the left of the unknown extension. So, for example, if the - extensions fr and html are mapped to the appropriate language - and type but extension xxx is not assigned to anything, then - the file <code>welcome.fr.xxx.html</code> will be associated - with content-type text/html but <em>no</em> language. - - <p>If more than one extension is given which maps onto the same - type of meta-information, then the one to the right will be - used. For example, if ".gif" maps to the MIME-type image/gif - and ".html" maps to the MIME-type text/html, then the file - <code>welcome.gif.html</code> will be associated with the - MIME-type "text/html".</p> - - <p>Care should be taken when a file with multiple extensions - gets associated with both a MIME-type and a handler. This will - usually result in the request being by the module associated - with the handler. For example, if the <code>.imap</code> - extension is mapped to the handler "imap-file" (from mod_imap) - and the <code>.html</code> extension is mapped to the MIME-type - "text/html", then the file <code>world.imap.html</code> will be - associated with both the "imap-file" handler and "text/html" - MIME-type. When it is processed, the "imap-file" handler will - be used, and so it will be treated as a mod_imap imagemap - file.</p> - <hr /> - - <h2><a id="addcharset" name="addcharset">AddCharset</a> - directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AddCharset <em>charset - extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime <br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> AddCharset is - only available in Apache 1.3.10 and later - - <p>The AddCharset directive maps the given filename extensions - to the specified content charset. <i>charset</i> is the MIME - charset parameter of filenames containing <i>extension</i>. - This mapping is added to any already in force, overriding any - mappings that already exist for the same <i>extension</i>.</p> - - <p>Example:</p> -<pre> - AddLanguage ja .ja - AddCharset EUC-JP .euc - AddCharset ISO-2022-JP .jis - AddCharset SHIFT_JIS .sjis -</pre> - - <p>Then the document <code>xxxx.ja.jis</code> will be treated - as being a Japanese document whose charset is ISO-2022-JP (as - will the document <code>xxxx.jis.ja</code>). The AddCharset - directive is useful for both to inform the client about the - character encoding of the document so that the document can be - interpreted and displayed appropriately, and for <a - href="../content-negotiation.html">content negotiation</a>, - where the server returns one from several documents based on - the client's charset preference.</p> - - <p>The <em>extension</em> argument is case-insensitive, and can - be specified with or without a leading dot.</p> - - <p><strong>See also</strong>: <a - href="mod_negotiation.html">mod_negotiation</a></p> - <hr /> - - <h2><a id="addencoding" name="addencoding">AddEncoding</a> - directive</h2> - <!--%plaintext <?INDEX {\tt AddEncoding} directive> --> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AddEncoding - <em>MIME-enc extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime - - <p>The AddEncoding directive maps the given filename extensions - to the specified encoding type. <em>MIME-enc</em> is the MIME - encoding to use for documents containing the - <em>extension</em>. This mapping is added to any already in - force, overriding any mappings that already exist for the same - <em>extension</em>. Example:</p> - - <blockquote> - <code>AddEncoding x-gzip .gz<br /> - AddEncoding x-compress .Z</code> - </blockquote> - This will cause filenames containing the .gz extension to be - marked as encoded using the x-gzip encoding, and filenames - containing the .Z extension to be marked as encoded with - x-compress. - - <p>Old clients expect <code>x-gzip</code> and - <code>x-compress</code>, however the standard dictates that - they're equivalent to <code>gzip</code> and - <code>compress</code> respectively. Apache does content - encoding comparisons by ignoring any leading <code>x-</code>. - When responding with an encoding Apache will use whatever form - (<em>i.e.</em>, <code>x-foo</code> or <code>foo</code>) the - client requested. If the client didn't specifically request a - particular form Apache will use the form given by the - <code>AddEncoding</code> directive. To make this long story - short, you should always use <code>x-gzip</code> and - <code>x-compress</code> for these two specific encodings. More - recent encodings, such as <code>deflate</code> should be - specified without the <code>x-</code>.</p> - - <p>The <em>extension</em> argument is case-insensitive, and can - be specified with or without a leading dot.</p> - - <p><strong>See also</strong>: <a href="#multipleext">Files with - multiple extensions</a></p> - <hr /> - - <h2><a id="addhandler" name="addhandler">AddHandler</a> - directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AddHandler - <em>handler-name extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> AddHandler is - only available in Apache 1.1 and later - - <p>AddHandler maps the filename extensions <em>extension</em> - to the <a href="../handler.html">handler</a> - <em>handler-name</em>. This mapping is added to any already in - force, overriding any mappings that already exist for the same - <em>extension</em>. For example, to activate CGI scripts with - the file extension "<code>.cgi</code>", you might use:</p> -<pre> - AddHandler cgi-script .cgi -</pre> - - <p>Once that has been put into your srm.conf or httpd.conf - file, any file containing the "<code>.cgi</code>" extension - will be treated as a CGI program.</p> - - <p>The <em>extension</em> argument is case-insensitive, and can - be specified with or without a leading dot.</p> - - <p><strong>See also</strong>: <a href="#multipleext">Files with - multiple extensions</a>, <a href="#sethandler">SetHandler</a></p> - <hr /> - - <h2><a id="addlanguage" name="addlanguage">AddLanguage</a> - directive</h2> - <!--%plaintext <?INDEX {\tt AddLanguage} directive> --> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AddLanguage - <em>MIME-lang extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime - - <p>The AddLanguage directive maps the given filename extension - to the specified content language. <em>MIME-lang</em> is the - MIME language of filenames containing <em>extension</em>. This - mapping is added to any already in force, overriding any - mappings that already exist for the same - <em>extension</em>.</p> - - <p>Example:</p> - - <blockquote> - <code>AddEncoding x-compress .Z<br /> - AddLanguage en .en<br /> - AddLanguage fr .fr<br /> - </code> - </blockquote> - - <p>Then the document <code>xxxx.en.Z</code> will be treated as - being a compressed English document (as will the document - <code>xxxx.Z.en</code>). Although the content language is - reported to the client, the browser is unlikely to use this - information. The AddLanguage directive is more useful for <a - href="../content-negotiation.html">content negotiation</a>, - where the server returns one from several documents based on - the client's language preference.</p> - - <p>If multiple language assignments are made for the same - extension, the last one encountered is the one that is used. - That is, for the case of:</p> -<pre> - AddLanguage en .en - AddLanguage en-uk .en - AddLanguage en-us .en -</pre> - - <p>documents with the extension "<code>.en</code>" would be - treated as being "<code>en-us</code>".</p> - - <p>The <em>extension</em> argument is case-insensitive, and can - be specified with or without a leading dot.</p> - - <p><strong>See also</strong>: <a href="#multipleext">Files with - multiple extensions</a>, <a - href="#defaultlanguage">DefaultLanguage</a><br /> - <strong>See also</strong>: <a - href="./mod_negotiation.html">mod_negotiation</a></p> - <hr /> - - <h2><a id="addtype" name="addtype">AddType</a> directive</h2> - <!--%plaintext <?INDEX {\tt AddType} directive> --> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> AddType <em>MIME-type - extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime - - <p>The AddType directive maps the given filename extensions - onto the specified content type. <em>MIME-type</em> is the MIME - type to use for filenames containing <em>extension</em>. This - mapping is added to any already in force, overriding any - mappings that already exist for the same <em>extension</em>. - This directive can be used to add mappings not listed in the - MIME types file (see the <code><a - href="#typesconfig">TypesConfig</a></code> directive). - Example:</p> - - <blockquote> - <code>AddType image/gif .gif</code> - </blockquote> - It is recommended that new MIME types be added using the - AddType directive rather than changing the <a - href="#typesconfig">TypesConfig</a> file. - - <p>Note that, unlike the NCSA httpd, this directive cannot be - used to set the type of particular files.</p> - - <p>The <em>extension</em> argument is case-insensitive, and can - be specified with or without a leading dot.</p> - - <p><strong>See also</strong>: <a href="#multipleext">Files with - multiple extensions</a></p> - <hr /> - - <h2><a id="defaultlanguage" - name="defaultlanguage">DefaultLanguage</a> directive</h2> - <!--%plaintext <?INDEX {\tt DefaultLanguage} directive> --> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> DefaultLanguage - <em>MIME-lang</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> DefaultLanguage - is only available in Apache 1.3.4 and later. - - <p>The DefaultLanguage directive tells Apache that all files in - the directive's scope (<em>e.g.</em>, all files covered by the - current <code><Directory></code> container) that don't - have an explicit language extension (such as <samp>.fr</samp> - or <samp>.de</samp> as configured by <samp>AddLanguage</samp>) - should be considered to be in the specified <em>MIME-lang</em> - language. This allows entire directories to be marked as - containing Dutch content, for instance, without having to - rename each file. Note that unlike using extensions to specify - languages, <samp>DefaultLanguage</samp> can only specify a - single language.</p> - - <p>For example:</p> - - <code>DefaultLanguage fr</code> - - <p>If no <samp>DefaultLanguage</samp> directive is in force, - and a file does not have any language extensions as configured - by <samp>AddLanguage</samp>, then that file will be considered - to have no language attribute.</p> - - <p><strong>See also</strong>: <a - href="./mod_negotiation.html">mod_negotiation</a><br /> - <strong>See also</strong>: <a href="#multipleext">Files with - multiple extensions</a></p> - <hr /> - - <h2><a id="forcetype" name="forcetype">ForceType</a> - directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> ForceType - <em>media-type</em>|None<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> ForceType is - only available in Apache 1.1 and later. - - <p>When placed into an <code>.htaccess</code> file or a - <code><Directory></code> or <code><Location></code> - section, this directive forces all matching files to be served - as the content type given by <em>media type</em>. For example, - if you had a directory full of GIF files, but did not want to - label them all with ".gif", you might want to use:</p> -<pre> - ForceType image/gif -</pre> - - <p>Note that this will override any filename extensions that - might determine the media type.</p> - - <p>You can override any <directive>ForceType</directive> setting - by using the value of <code>none</code>:</p> - -<pre> - # force all files to be image/gif: - <Location /images> - ForceType image/gif - </Location> - - # but normal mime-type associations here: - <Location /images/mixed> - ForceType none - </Location> -</pre> - - <p><strong>See also</strong>: <a - href="#addtype">AddType</a></p> - - <hr /> - - <h2><a id="removeencoding" - name="removeencoding">RemoveEncoding</a> directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RemoveEncoding - <em>extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> virtual host, directory, - .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> RemoveEncoding - is only available in Apache 1.3.13 and later. - - <p>The <samp>RemoveEncoding</samp> directive removes any - encoding associations for files with the given extensions. This - allows <code>.htaccess</code> files in subdirectories to undo - any associations inherited from parent directories or the - server config files. An example of its use might be:</p> - - <dl> - <dt><code>/foo/.htaccess:</code></dt> - - <dd><code>AddEncoding x-gzip .gz</code><br /> - <code>AddType text/plain .asc</code><br /> - <code><Files *.gz.asc></code><br /> - <code> RemoveEncoding - .gz</code><br /> - <code></Files></code></dd> - </dl> - - <p>This will cause <code>foo.gz</code> to mark as being encoded - with the gzip method, but <code>foo.gz.asc</code> as an - unencoded plaintext file.</p> - - <p><b>Note:</b>RemoveEncoding directives are processed - <i>after</i> any <a href="#addencoding">AddEncoding</a> - directives, so it is possible they - may undo the effects of the latter if both occur within the - same directory configuration.</p> - - <p>The <em>extension</em> argument is case-insensitive, and can - be specified with or without a leading dot.</p> - <hr /> - - <h2><a id="removehandler" - name="removehandler">RemoveHandler</a> directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RemoveHandler - <em>extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> virtual host, directory, - .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> RemoveHandler is - only available in Apache 1.3.4 and later. - - <p>The <samp>RemoveHandler</samp> directive removes any handler - associations for files with the given extensions. This allows - <code>.htaccess</code> files in subdirectories to undo any - associations inherited from parent directories or the server - config files. An example of its use might be:</p> - - <dl> - <dt><code>/foo/.htaccess:</code></dt> - - <dd><code>AddHandler server-parsed .html</code></dd> - - <dt><code>/foo/bar/.htaccess:</code></dt> - - <dd><code>RemoveHandler .html</code></dd> - </dl> - - <p>This has the effect of returning <samp>.html</samp> files in - the <samp>/foo/bar</samp> directory to being treated as normal - files, rather than as candidates for parsing (see the <a - href="mod_include.html"><samp>mod_include</samp></a> - module).</p> - - <p>The <em>extension</em> argument is case-insensitive, and can - be specified with or without a leading dot.</p> - <hr /> - - <h2><a id="removetype" name="removetype">RemoveType</a> - directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RemoveType - <em>extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> virtual host, directory, - .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> RemoveType is - only available in Apache 1.3.13 and later. - - <p>The <samp>RemoveType</samp> directive removes any MIME type - associations for files with the given extensions. This allows - <code>.htaccess</code> files in subdirectories to undo any - associations inherited from parent directories or the server - config files. An example of its use might be:</p> - - <dl> - <dt><code>/foo/.htaccess:</code></dt> - - <dd><code>RemoveType .cgi</code></dd> - </dl> - - <p>This will remove any special handling of <code>.cgi</code> - files in the <code>/foo/</code> directory and any beneath it, - causing the files to be treated as being of the <a - href="core.html#defaulttype">default type</a>.</p> - - <p><b>Note:</b><code>RemoveType</code> directives are processed - <i>after</i> any <code>AddType</code> directives, so it is - possible they may undo the effects of the latter if both occur - within the same directory configuration.</p> - - <p>The <em>extension</em> argument is case-insensitive, and can - be specified with or without a leading dot.</p> - <hr /> - - <h2><a id="sethandler" name="sethandler">SetHandler</a> - directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> SetHandler - <em>handler-name</em>|None<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> SetHandler is - only available in Apache 1.1 and later. - - <p>When placed into an <code>.htaccess</code> file or a - <code><Directory></code> or <code><Location></code> - section, this directive forces all matching files to be parsed - through the <a href="../handler.html">handler</a> given by - <em>handler-name</em>. For example, if you had a directory you - wanted to be parsed entirely as imagemap rule files, regardless - of extension, you might put the following into an - <code>.htaccess</code> file in that directory:</p> -<pre> - SetHandler imap-file -</pre> - - <p>Another example: if you wanted to have the server display a - status report whenever a URL of - <code>http://servername/status</code> was called, you might put - the following into access.conf: (See <a - href="mod_status.html">mod_status</a> for more details.)</p> -<pre> - <Location /status> - SetHandler server-status - </Location> -</pre> - - <p>You can override an earlier defined <code>SetHandler</code> - directive by using the value <code>None</code>.</p> - - <p><strong>See also</strong>: <a href="#addhandler">AddHandler</a></p> - <hr /> - - <h2><a id="typesconfig" name="typesconfig">TypesConfig</a> - directive</h2> - <!--%plaintext <?INDEX {\tt TypesConfig} directive> --> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> TypesConfig - <em>file-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>TypesConfig - conf/mime.types</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_mime - - <p>The TypesConfig directive sets the location of the MIME - types configuration file. <em>Filename</em> is relative to the - <a href="core.html#serverroot">ServerRoot</a>. This file sets - the default list of mappings from filename extensions to - content types; changing this file is not recommended. Use the - <a href="#addtype">AddType</a> directive instead. The file - contains lines in the format of the arguments to an AddType - command:</p> - - <blockquote> - <em>MIME-type extension extension ...</em> - </blockquote> - The extensions are lower-cased. Blank lines, and lines - beginning with a hash character (`#') are ignored. - - <p> <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_mime.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_mime.html.ja.jis deleted file mode 100644 index eaf912c21c9..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_mime.html.ja.jis +++ /dev/null @@ -1,690 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_mime</title> - - </head> - <!-- English revision: 1.51 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_mime $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O!"%U%!%$%k$N%?%$%W$r%U%!%$%kL>$+$i7hDj$9$k5!G=$H!"(B - $B%U%!%$%k$K%O%s%I%i$r4XO"IU$1$k5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_mime.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> mime_module - </p> - - <h2>$B35MW(B</h2> - - $B$3$N%b%8%e!<%k$O!"%I%-%e%a%s%H$N$$$m$$$m$J!V%a%?>pJs!W(B - $B$r7hDj$9$k$?$a$K;HMQ$5$l$^$9!#$3$N>pJs$O(B - $B%I%-%e%a%s%H$N%3%s%F%s%D$K4XO"$7$F$$$k$b$N$G!"%V%i%&%6$KJV$5$l$?$j!"(B - $B%5!<%PFb$G%3%s%F%s%H%M%4%7%(!<%7%g%s$K;H$o$l$?$j$7$^$9!#(B - $B$5$i$K!"!V%O%s%I%i!W$r%I%-%e%a%s%H$KBP$7$F@_Dj$9$k$3$H$,$G$-$^$9!#(B - $B%O%s%I%i$O%5!<%PFb$G%I%-%e%a%s%H$r$I$N$h$&$K=hM}$9$k$+$r7hDj$7$^$9!#(B - - <p>$B%G%#%l%/%F%#%V(B <a href="#addcharset">AddCharset</a>, - <a href="#addencoding">AddEncoding</a>, <a href="#addhandler" - >AddHandler</a>, <a href="#addlanguage">AddLanguage</a>, <a - href="#addtype">AddType</a> $B$O$9$Y$F!"(B - $B%U%!%$%k$N3HD%;R$r%a%?>pJs$K%^%C%W$9$k$?$a$K;HMQ$5$l$^$9!#(B - $B$=$l$>$l!"%I%-%e%a%s%H$NJ8;z%;%C%H(B ($BLuCm(B: charset)$B!"(Bcontent-encoding, - $B%O%s%I%i!"(Bcontent-language, MIME $B%?%$%W(B (content-type) $B$r@_Dj$7$^$9!#(B - $B%G%#%l%/%F%#%V(B <a href="#typesconfig">TypesConfig</a> $B$O3HD%;R$r(B - MIME $B%?%$%W$K%^%C%W$9$k%U%!%$%k$r;XDj$9$k$?$a$K;HMQ$5$l$^$9!#(B - $B%G%#%l%/%F%#%V(B <a href="#forcetype">ForceType</a> $B$H(B <a - href="#sethandler">SetHandler</a> $B$O!"M?$($i$l$?>l=j(B - (<em>$BNc$($P(B</em>$B!"FCDj$N%G%#%l%/%H%j(B) $B$K$"$k$9$Y$F$N%U%!%$%k$rFCDj$N(B - MIME $B%?%$%W$d%O%s%I%i$K4XO"IU$1$k$?$a$K;HMQ$5$l$^$9!#(B</p> - - <p>$B%U%!%$%k$N%?%$%W$d%(%s%3!<%G%#%s%0$rJQ$($F$b(B <code>Last-Modified</code> - $B%X%C%@$NCM$OJQ$o$i$J$$$3$H$KCm0U$7$F$/$@$5$$!#$G$9$+$i!"(B - $B$=$l$i$rJQ99$7$?>l9g$O!"%/%i%$%"%s%H$d%W%m%-%7$G0JA0$K%-%c%C%7%e$5$l$?(B - $B%3%T!<$,$=$N$H$-$N%X%C%@$H$H$b$K;H$o$l$k2DG=@-$,$"$j$^$9!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#addcharset">AddCharset</a></li> - - <li><a href="#addencoding">AddEncoding</a></li> - - <li><a href="#addhandler">AddHandler</a></li> - - <li><a href="#addlanguage">AddLanguage</a></li> - - <li><a href="#addtype">AddType</a></li> - - <li><a href="#defaultlanguage">DefaultLanguage</a></li> - - <li><a href="#forcetype">ForceType</a></li> - - <li><a href="#removeencoding">RemoveEncoding</a></li> - - <li><a href="#removehandler">RemoveHandler</a></li> - - <li><a href="#removetype">RemoveType</a></li> - - <li><a href="#sethandler">SetHandler</a></li> - - <li><a href="#typesconfig">TypesConfig</a></li> - </ul> - - <p>$B;2>H(B: <a - href="mod_mime_magic.html#mimemagicfile">MimeMagicFile</a></p> - - <h2><a id="multipleext" - name="multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a></h2> - - $B%U%!%$%k$OJ#?t$N3HD%;R$r;}$D$3$H$,$G$-!"3HD%;R$N=gHV$O(B<em - >$BDL>o$O(B</em>$B4X78$"$j$^$;$s!#$?$H$($P!"(B<code>welcome.html.fr</code> - $B%U%!%$%k$,%3%s%F%s%H%?%$%W$O(B text/html - $B$K!"8@8l$O%U%i%s%98l$K%^%C%W$5$l$k>l9g!"(B<code>welcome.fr.html</code> - $B$b$^$C$?$/F1$8>pJs$K%^%C%W$5$l$^$9!#(B - $BM#0l$NNc30$O!"M?$($i$l$?3HD%;R$N07$$J}$r(B Apache - $B$,CN$i$J$$>l9g$G$9!#$=$N>l9g!"(BApache - $B$OCN$i$J$$3HD%;R$N:8$K$"$k$9$Y$F$N3HD%;R$r!VK:$l!W$^$9!#(B - $B$G$9$+$i!"$?$H$($P!"3HD%;R(B fr $B$H(B html - $B$,E,@Z$J8@8l$H%?%$%W$K%^%C%W$5$l$F$$$k$1$l$I$b!"3HD%;R(B xxx - $B$O2?$K$b3d$jEv$F$i$l$F$$$J$$$H$$$&>l9g$K$O!"(B<code - >welcome.fr.xxx.html</code> $B%U%!%$%k$O%3%s%F%s%H%?%$%W(B text/html - $B$K4XO"IU$1$i$l$^$9$,!"8@8l$K$O4XO"IU$1$i$l(B<em>$B$^$;$s(B</em>$B!#(B - - <p>$BF1$8%a%?>pJs$K%^%C%W$5$l$k3HD%;R$,J#?t$"$k$H$-$K$O!"(B - $B1&B&$K$"$k$b$N$,;HMQ$5$l$^$9!#$?$H$($P!"(B".gif" $B$,(B MIME $B%?%$%W(B - image/gif $B$K%^%C%W$5$l!"(B".html" $B$,(B MIME $B%?%$%W(B text/html - $B$K%^%C%W$5$l$k>l9g$O!"%U%!%$%k(B <code>welcome.gif.html</code> $B$O(B - MIME $B%?%$%W(B "text/html" $B$K4XO"IU$1$i$l$^$9!#(B</p> - - <p>$BJ#?t$N3HD%;R$N$"$k%U%!%$%k$,(B MIME - $B%?%$%W$H%O%s%I%i$NN>J}$K4XO"IU$1$i$l$F$$$k$H$-$OCm0U$9$kI,MW$,$"$j$^$9!#(B - $B$=$N>l9g!"IaDL$O%j%/%(%9%H$,%O%s%I%i$K4XO"IU$1$i$l$?(B - $B%b%8%e!<%k$K$h$C$F07$o$l$k$3$H$K$J$j$^$9!#$?$H$($P!"3HD%;R(B - <code>.imap</code> $B$,(B (mod_imap $B$N(B) "imap-file" $B$K%^%C%W$5$l$F$$$F!"(B - <code>.html</code> $B$,(B MIME $B%?%$%W(B "text/html" - $B$K%^%C%W$5$l$F$$$k$H$-$O!"%U%!%$%k(B <code>world.imap.html</code> $B$O(B - "imap-file" $B%O%s%I%i$H(B "text/html" MIME - $B%?%$%W$K4XO"IU$1$i$l$^$9!#%U%!%$%k$,=hM}$5$l$k$H$-$O(B "imap-file" - $B%O%s%I%i$,;HMQ$5$l$^$9$N$G!"$=$N%U%!%$%k$O(B mod_imap - $B$N%$%a!<%8%^%C%W%U%!%$%k$H$7$F07$o$l$k$3$H$K$J$j$^$9!#(B</p> - <hr /> - - <h2><a id="addcharset" name="addcharset">AddCharset</a> - $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> AddCharset <em>charset - extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"(B $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> AddCharset $B$O(B - Apache 1.3.10 $B0J9_$G$N$_;HMQ2DG=!#(B - - <p>AddCharset $B%G%#%l%/%F%#%V$O!"M?$($i$l$?3HD%;R$r;XDj$5$l$?(B - charset $B$K%^%C%W$7$^$9!#(B<em>charset</em> $B$O!"3HD%;R(B - <em>extension</em> $B$r4^$s$G$$$k%U%!%$%kL>$N(B MIME charset - $B%Q%i%a!<%?$G$9!#?7$7$$%^%C%T%s%0$O4{$K$"$k$b$N$KDI2C$5$l!"F1$83HD%;R(B - <em>extension</em> $B$N$?$a$K4{$KB8:_$9$k%^%C%T%s%0$r>e=q$-$7$^$9!#(B</p> - - <p>$BNc(B:</p> -<pre> - AddLanguage ja .ja - AddCharset EUC-JP .euc - AddCharset ISO-2022-JP .jis - AddCharset SHIFT_JIS .sjis -</pre> - - <p>$B$3$N>l9g!"%I%-%e%a%s%H(B <code>xxxx.ja.jis</code> $B$O(B charset $B$,(B - ISO-2022-JP $B$NF|K\8l$N%I%-%e%a%s%H$H$7$F07$o$l$^$9(B - (<code>xxxx.jis.ja</code> $B$bF1MM(B)$B!#(BAddCharset - $B%G%#%l%/%F%#%V$O!"%I%-%e%a%s%H$,E,@Z$K2r<a$5$lI=<($5$l$k$h$&$K!"(B - $B%I%-%e%a%s%H$N(B charset $B$N>pJs$r%/%i%$%"%s%H$K65$($k$?$a$KLr$KN)$A$^$9!#(B - $B$^$?!"%5!<%P$,%/%i%$%"%s%H$N(B charset - $B$NM%@hEY$K4p$E$$$FJ#?t$N%I%-%e%a%s%H$NCf$+$i%I%-%e%a%s%H$rA*$V(B<a - href="../content-negotiation.html" - >$B%3%s%F%s%H%M%4%7%(!<%7%g%s(B</a>$B$N$?$a$K$bLr$KN)$A$^$9!#(B</p> - - <p>$B0z?t(B <em>extension</em>$B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B - $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> - - <p><strong>$B;2>H(B</strong>: <a - href="mod_negotiation.html">mod_negotiation</a></p> - <hr /> - - <h2><a id="addencoding" - name="addencoding">AddEncoding</a> $B%G%#%l%/%F%#%V(B</h2> - <!--%plaintext <?INDEX {\tt AddEncoding} directive> --> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> AddEncoding - <em>MIME-enc extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"(B $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - - <p>AddEncoding $B%G%#%l%/%F%#%V$O!"M?$($i$l$?3HD%;R$r;XDj$5$l$?(B - $B%(%s%3!<%G%#%s%0$K%^%C%W$7$^$9!#(B<em>MIME-enc</em> $B$O!"3HD%;R(B - <em>extension</em> $B$r4^$s$@%I%-%e%a%s%H$K;HMQ$9$k(B MIME - $B%(%s%3!<%G%#%s%0$G$9!#$3$N?7$7$$%^%C%T%s%0$O4{$K$"$k$b$N$KDI2C$5$l!"(B - $BF1$83HD%;R(B <em>extension</em> - $B$N$?$a$K4{$KB8:_$9$k%^%C%T%s%0$r>e=q$-$7$^$9!#Nc(B:</p> - - <blockquote> - <code>AddEncoding x-gzip .gz<br /> - AddEncoding x-compress .Z</code> - </blockquote> - $B$3$l$O!"3HD%;R(B .gz $B$r4^$`%U%!%$%kL>$,(B x-gzip - $B%(%s%3!<%G%#%s%0$r;H$C$F%(%s%3!<%I$5$l$F$$$k$3$H$H!"3HD%;R(B .Z - $B$r4^$`%U%!%$%kL>$,(B x-compress - $B$G%(%s%3!<%I$5$l$F$$$k$3$H$r<($7$^$9!#(B - - <p>$B8E$$%/%i%$%"%s%H$O(B <code>x-zip</code> $B$H(B <code>x-compress</code> - $B$,JV$C$F$/$k$3$H$r4|BT$7$^$9$,!"I8=`5,3J$G$O$=$l$>$l(B - <code>gzip</code> $B$H(B <code>compress</code> - $B$HEy2A$G$"$k$3$H$K$J$C$F$$$^$9!#(BApache - $B$O!"%3%s%F%s%H%(%s%3!<%G%#%s%0$NHf3S$r$9$k$H$-$K$O!"@hF,$K$"$k(B - <code>x-</code> $B$rL5;k$7$^$9!#(BApache - $B$,%(%s%3!<%G%#%s%0IU$-$G1~Ez$rJV$9$H$-$O!"%/%i%$%"%s%H$,MW5a$7$?7A<0(B - (<em>$B$9$J$o$A(B</em>$B!"(B<code>x-foo</code> $B$d(B <code>foo</code>) - $B$r;HMQ$7$^$9!#MW$9$k$K!"$3$NFs$D$N%(%s%3!<%G%#%s%0$N>l9g$O>o$K(B - <code>x-gzip</code> $B$H(B <code>x-compress</code> - $B$r;H$&$Y$-$G$"$k!"$H$$$&$3$H$G$9!#(B<code>deflate</code> - $B$N$h$&$J$h$j?7$7$$%(%s%3!<%G%#%s%0$G$O!"(B<code>x-</code> - $B$J$7$G;XDj$7$F$/$@$5$$!#(B - </p> - - <p>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B - $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> - - <p><strong>$B;2>H(B</strong>: <a - href="#multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a></p> - <hr /> - - <h2><a id="addhandler" name="addhandler">AddHandler</a> - $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> AddHandler - <em>handler-name extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> AddHandler $B$O(B - Apache 1.1 $B0J9_$G$N$_;HMQ2DG=!#(B<br /> - <p>AddHandler $B$O!"3HD%;R(B <em>extension</em> $B$r(B<a - href="../handler.html">$B%O%s%I%i(B</a> <em>handler-name</em> - $B$K%^%C%W$7$^$9!#$3$N?7$7$$%^%C%T%s%0$O4{$K$"$k$b$N$KDI2C$5$l!"(B - $BF1$83HD%;R(B <em>extension</em> - $B$N$?$a$K4{$KB8:_$9$k%^%C%T%s%0$r>e=q$-$7$^$9!#$?$H$($P!"3HD%;R(B - "<code>.cgi</code>" $B$G=*$o$k%U%!%$%k$r(B CGI - $B%9%/%j%W%H$H$7$F07$$$?$$$H$-$O!"0J2<$N@_Dj$r$7$^$9!#(B</p> -<pre> - AddHandler cgi-script .cgi -</pre> - - <p>$B$3$l$r(B srm.conf $B$+(B httpd.conf $B%U%!%$%k$K5-=R$9$k$3$H$G!"3HD%;R(B - "<code>.cgi</code>" $B$r4^$`%U%!%$%k$O(B CGI $B%W%m%0%i%`$H$7$F07$o$l$^$9!#(B - </p> - - <p>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B - $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> - - <p><strong>$B;2>H(B</strong>: <a - href="#multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a>$B!"(B - <a href="#sethandler">SetHandler</a></p> - <hr /> - - <h2><a id="addlanguage" name="addlanguage">AddLanguage</a> - $B%G%#%l%/%F%#%V(B</h2> - <!--%plaintext <?INDEX {\tt AddLanguage} directive> --> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> AddLanguage <em>MIME-lang - extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - - <p>AddLanguage $B%G%#%l%/%F%#%V$O!"M?$($i$l$?3HD%;R$r;XDj$5$l$?(B - content language $B$K%^%C%W$7$^$9!#(B<em>MIME-lang</em> $B$O!"3HD%;R(B - <em>extension</em> $B$r4^$s$G$$$k%U%!%$%kL>$N(B MIME $B$K$*$1$k8@8l$G$9!#(B - $B$3$N?7$7$$%^%C%T%s%0$O4{$K$"$k$b$N$KDI2C$5$l!"F1$83HD%;R(B - <em>extension</em> $B$N$?$a$K4{$KB8:_$9$k%^%C%T%s%0$r>e=q$-$7$^$9!#(B - </p> - - <p>$BNc(B:</p> - - <blockquote> - <code>AddEncoding x-compress .Z<br /> - AddLanguage en .en<br /> - AddLanguage fr .fr<br /> - </code> - </blockquote> - - <p>$B$3$N>l9g!"(B<code>xxxx.en.Z</code> $B%I%-%e%a%s%H$O(B compress - $B$5$l$?1Q8l$N%I%-%e%a%s%H$H$7$F07$o$l$^$9(B (<code>xxxx.Z.en</code> - $B$bF1MM(B)$B!#(Bcontent language $B$O%/%i%$%"%s%H$KDLCN$5$l$^$9$,!"(B - $B%V%i%&%6$,$3$N>pJs$r;H$&$3$H$O$*$=$i$/$"$j$^$;$s!#(BAddLanguage - $B%G%#%l%/%F%#%V$O!"%5!<%P$,%/%i%$%"%s%H$N8@8l$NM%@hEY$K4p$E$$$FJ#?t$N(B - $B%I%-%e%a%s%H$NCf$+$i%I%-%e%a%s%H$rA*$V(B<a - href="../content-negotiation.html" - >$B%3%s%F%s%H%M%4%7%(!<%7%g%s(B</a>$B$N$?$a$K$h$jLr$KN)$A$^$9!#(B</p> - - <p>$BJ#?t$N8@8l$,F1$83HD%;R$K3d$jEv$F$i$l$F$$$k$H$-$O!"(B - $B:G8e$N$b$N$,;HMQ$5$l$^$9!#$9$J$o$A!"<!$N$h$&$J>l9g!"(B</p> - -<pre> - AddLanguage en .en - AddLanguage en-uk .en - AddLanguage en-us .en -</pre> - - <p>$B3HD%;R(B "<code>.en</code>" $B$N$"$k%I%-%e%a%s%H$O(B - "<code>en-us</code>" $B$H$7$F07$o$l$^$9!#(B</p> - - <p>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B - $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> - - <p><strong>$B;2>H(B</strong>: <a - href="#multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a>$B!"(B - <a href="#defaultlanguage">DefaultLanguage</a><br /> - <strong>$B;2>H(B</strong>: <a - href="./mod_negotiation.html">mod_negotiation</a> - </p> - <hr /> - - <h2><a id="addtype" name="addtype">AddType</a> $B%G%#%l%/%F%#%V(B</h2> - <!--%plaintext <?INDEX {\tt AddType} directive> --> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> AddType <em>MIME-type - extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime - - <p>AddType $B%G%#%l%/%F%#%V$O!"(B - $BM?$($i$l$?3HD%;R$r;XDj$5$l$?%3%s%F%s%H%?%$%W$K%^%C%W$7$^$9!#(B - <em>MIME-type</em> $B$O3HD%;R(B <em>extension</em> - $B$r4^$s$@%I%-%e%a%s%H$K;HMQ$9$k(B MIME $B%?%$%W$G$9!#(B - $B$3$N?7$7$$%^%C%T%s%0$O4{$K$"$k$b$N$KDI2C$5$l!"F1$83HD%;R(B - <em>extension</em> $B$N$?$a$K4{$KB8:_$9$k%^%C%T%s%0$r>e=q$-$7$^$9!#(B - $B$3$N%G%#%l%/%F%#%V$O(B MIME $B%?%$%W%U%!%$%k(B (<code><a - href="#typesconfig">TypesConfig</a></code> $B%G%#%l%/%F%#%V$r;2>H(B) - $B$K$J$$%^%C%T%s%0$rDI2C$9$k$?$a$K;HMQ$9$k$3$H$,$G$-$^$9!#Nc(B:</p> - - <blockquote> - <code>AddType image/gif .gif</code> - </blockquote> - $B?7$7$$(B MIME $B%?%$%W$O!"(B<a href="#typesconfig">TypesConfig</a> - $B%U%!%$%k$rJQ99$9$k$N$G$O$J$/!"(BAddType - $B%G%#%l%/%F%#%V$r;H$C$FDI2C$9$k$3$H$,?d>)$5$l$F$$$^$9!#(B - - <p>NCSA httpd $B$H$O0c$C$F!"$3$N%G%#%l%/%F%#%V$OFCDj$N%U%!%$%k$N(B - $B%?%$%W$r@_Dj$9$k$3$H$O$G$-$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B</p> - - <p>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B - $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> - - <p><strong>$B;2>H(B</strong>: <a - href="#multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a></p> - <hr /> - - <h2><a id="defaultlanguage" - name="defaultlanguage">DefaultLanguage</a> $B%G%#%l%/%F%#%V(B</h2> - <!--%plaintext <?INDEX {\tt DefaultLanguage} directive> --> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> DefaultLanguage <em>MIME-lang</em><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> DefaultLanguage $B$O(B - Apache 1.3.4 $B0J9_$G$N$_;HMQ2DG=!#(B<br /> - - <p>DefaultLanguage $B%G%#%l%/%F%#%V$O!"(BApache - $B$,%G%#%l%/%F%#%V$N%9%3!<%W(B (<em>$BNc$($P(B</em>$B!"$=$N;~E@$N(B - <code><Directory></code> $B$NHO0O(B) $B$K$"$k!"L@<(E*$J8@8l3HD%;R(B - (<samp>AddLanguage</samp> $B$G@_Dj$5$l$k(B <samp>.fr</samp> $B$d(B - <samp>.de</samp>) $B$N$J$$A4$F$N%U%!%$%k$r!";XDj$5$l$?(B - <em>MIME-lang</em> $B8@8l$G$"$k$H$_$J$9$h$&$K$7$^$9!#(B - $B$3$l$K$h$j!"$9$Y$F$N%U%!%$%kL>$rJQ$($k$3$H$J$/!"(B - $B%G%#%l%/%H%j$,%*%i%s%@8l$N%3%s%F%s%H$r4^$s$G$$$k!"(B - $B$H$$$&$h$&$J$3$H$r;XDj$9$k$3$H$,$G$-$^$9!#(B - $B3HD%;R$r;HMQ$7$F8@8l$r;XDj$9$kJ}K!$H0c$$!"(B - <samp>DefaultLanguage</samp> - $B$O0l$D$N8@8l$7$+;XDj$G$-$J$$$3$H$KCm0U$7$F$/$@$5$$!#(B</p> - - <p>$BNc$($P(B:</p> - - <code>DefaultLanguage fr</code> - - <p><samp>DefaultLanguage</samp> - $B%G%#%l%/%F%#%V$,M-8z$G$J$/!"%U%!%$%k$K(B <samp>AddLanguage</samp> - $B$G@_Dj$5$l$?8@8l$N3HD%;R$,$J$$$H$-$O!"(B - $B%U%!%$%k$K$O8@8lB0@-$,$J$$$H$_$J$5$l$^$9!#(B</p> - - <p><strong>$B;2>H(B</strong>: <a - href="./mod_negotiation.html">mod_negotiation</a><br /> - <strong>$B;2>H(B</strong>: <a - href="#multipleext">$BJ#?t$N3HD%;R$N$"$k%U%!%$%k(B</a></p> - <hr /> - - <h2><a id="forcetype" name="forcetype">ForceType</a> - $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> ForceType - <em>media-type</em>|None<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> ForceType $B$O(B - Apache 1.1 $B0J9_$G$N$_;HMQ2DG=!#(B - - <p><code>.htaccess</code> $B$d(B <code><Directory></code> - $B%;%/%7%g%s!"(B<code><Location></code> $B%;%/%7%g%s$K=q$+$l$?>l9g!"(B - $B$3$N%G%#%l%/%F%#%V$O$=$3$K$"$k$9$Y$F$N%U%!%$%k$,(B <em>media type</em> - $B$G;XDj$5$l$?%3%s%F%s%H%?%$%W$H$7$F07$o$l$k$3$H$r6/@)$7$^$9!#$?$H$($P!"(B - GIF $B%U%!%$%k$P$+$j$N%G%#%l%/%H%j$,$"$C$F!"$9$Y$F$N%U%!%$%k$r(B ".gif" - $B$G=*$o$i$;$?$/$O$J$$$H$-$K!"0J2<$N$b$N$r;HMQ$7$^$9(B:</p> -<pre> - ForceType image/gif -</pre> - - <p>$B$3$l$O!"%a%G%#%"%?%$%W$r7hDj$9$k$+$b$7$l$J$$$9$Y$F$N3HD%;R$r(B - $B>e=q$-$9$k$3$H$KCm0U$7$F$/$@$5$$!#(B</p> - - <p>$BCM$r(B <code>none</code> $B$K@_Dj$9$k$3$H$G!"(B - $B0JA0$N(B <directive>ForceType</directive> $B$N$9$Y$F$N@_Dj$r>e=q$-$9$k$3$H$b(B - $B$G$-$^$9(B:</p> - -<pre> - # force all files to be image/gif: - <Location /images> - ForceType image/gif - </Location> - - # but normal mime-type associations here: - <Location /images/mixed> - ForceType none - </Location> -</pre> - - - <p><strong>$B;2>H(B</strong>: <a - href="#addtype">AddType</a></p> - <hr /> - - <h2><a id="removeencoding" - name="removeencoding">RemoveEncoding</a> $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> RemoveEncoding - <em>extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> RemoveEncoding $B$O(B - Apache 1.3.13 $B0J9_$G$N$_;HMQ2DG=!#(B - - <p><samp>RemoveEncoding</samp> $B%G%#%l%/%F%#%V$O!"(B - $BM?$($i$l$?3HD%;R$K4XO"IU$1$i$l$?%(%s%3!<%G%#%s%0$r<h$j>C$7$^$9!#(B - $B$3$l$K$h$j!"%5%V%G%#%l%/%H%j$K$"$k(B <code>.htaccess</code> - $B%U%!%$%k$,?F%G%#%l%/%H%j$d%5!<%P$N@_Dj%U%!%$%k$+$i7Q>5$7$?4XO"IU$1$r(B - $B<h$j>C$9$3$H$,$G$-$^$9!#$?$H$($P(B:</p> - - <dl> - <dt><code>/foo/.htaccess:</code></dt> - - <dd><code>AddEncoding x-gzip .gz</code><br /> - <code>AddType text/plain .asc</code><br /> - <code><Files *.gz.asc></code><br /> - <code> RemoveEncoding - .gz</code><br /> - <code></Files></code></dd> - </dl> - <p>$B$3$l$O!"(B<code>foo.gz</code> $B$O(B gzip - $B$G%(%s%3!<%I$5$l$F$$$k$3$H$r;XDj$7$^$9$,!"(B<code>foo.gz.asc</code> - $B$O%(%s%3!<%I$5$l$F$$$J$$%W%l!<%s%F%-%9%H$N(B - $B%U%!%$%k$G$"$k$H$$$&$3$H$r;XDj$7$^$9!#(B</p> - - <p><strong>$BCm0U(B:</strong> RemoveEncoding $B$O(B - <a href="#addencoding">AddEncoding</a> - $B%G%#%l%/%F%#%V$N(B<em>$B8e(B</em>$B$G=hM}$5$l$^$9$N$G!"(B - $BF1$8%G%#%l%/%H%j$N@_DjCf$KN>J}$,8=$l$k$H!"(B - $B8e<T$N8z2L$,BG$A>C$5$l$k2DG=@-$,$"$j$^$9!#(B</p> - - <p>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B - $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> - <hr /> - - <h2><a id="removehandler" - name="removehandler">RemoveHandler</a> $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> RemoveHandler - <em>extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> RemoveHandler $B$O(B - Apache 1.3.4 $B0J9_$G$N$_;HMQ2DG=!#(B - - <p><samp>RemoveHandler</samp> $B%G%#%l%/%F%#%V(B - $B$OM?$($i$l$?3HD%;R$K4XO"IU$1$i$l$?%O%s%I%i$r<h$j>C$7$^$9!#(B - $B$3$l$K$h$j!"%5%V%G%#%l%/%H%j$K$"$k(B <code>.htaccess</code> - $B%U%!%$%k$,?F%G%#%l%/%H%j$d%5!<%P$N@_Dj%U%!%$%k(B - $B$+$i7Q>5$7$?4XO"IU$1$r<h$j>C$9$3$H$,$G$-$^$9!#$?$H$($P(B:</p> - - <dl> - <dt><code>/foo/.htaccess:</code></dt> - - <dd><code>AddHandler server-parsed .html</code></dd> - - <dt><code>/foo/bar/.htaccess:</code></dt> - - <dd><code>RemoveHandler .html</code></dd> - </dl> - - <p>$B$3$l$O!"(B<samp>/foo/bar</samp> $B%G%#%l%/%H%j$N(B <samp>.html</samp> - $B%U%!%$%k$O(B SSI $B$G$O$J$/(B (<a - href="mod_include.html"><samp>mod_include</samp></a> $B%b%8%e!<%k;2>H(B)$B!"(B - $BIaDL$N%U%!%$%k$H$7$F07$o$l$k$h$&$K$9$k8z2L$,$"$j$^$9!#(B - </p> - - <p>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B - $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> - <hr /> - - <h2><a id="removetype" - name="removetype">RemoveType</a> $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> RemoveType - <em>extension</em> [<em>extension</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> RemoveType $B$O(B - Apache 1.3.13 $B0J9_$G$N$_;HMQ2DG=!#(B - - <p><samp>RemoveType</samp> $B%G%#%l%/%F%#%V$OM?$($i$l$?3HD%;R$N(B - MIME $B%?%$%W$N4XO"IU$1$r<h$j>C$7$^$9!#$3$l$K$h$j!"(B - $B%5%V%G%#%l%/%H%j$K$"$k(B <code>.htaccess</code> - $B%U%!%$%k$,?F%G%#%l%/%H%j$d%5!<%P$N@_Dj%U%!%$%k$+$i7Q>5$7$?(B - $B4XO"IU$1$r<h$j>C$9$3$H$,$G$-$^$9!#$?$H$($P(B:</p> - - <dl> - <dt><code>/foo/.htaccess:</code></dt> - - <dd><code>RemoveType .cgi</code></dd> - </dl> - - <p>$B$3$l$O(B <code>/foo/</code> $B%G%#%l%/%H%j0J2<$N(B <code>.cgi</code> - $B%U%!%$%k$NFCJL$J07$$$r<h$j>C$7$^$9!#%U%!%$%k$O(B<a - href="core.html#defaulttype" - >$B%G%U%)%k%H%?%$%W(B</a>$B$H$7$F07$o$l$^$9!#(B</p> - - <p><strong>$BCm0U(B:</strong> <code>RemoveType</code> $B%G%#%l%/%F%#%V$O(B - <code>AddType</code> $B%G%#%l%/%F%#%V$N(B<em>$B8e(B</em>$B$K=hM}$5$l$^$9$N$G!"(B - $BN>J}$,F1$8%G%#%l%/%H%j$N@_DjCf$K8=$l$?>l9g!"(B - $B8e<T$N8z2L$,BG$A>C$5$l$k2DG=@-$,$"$j$^$9!#(B</p> - - <p>$B0z?t(B <em>extension</em> $B$OBgJ8;z>.J8;z$r6hJL$;$:!"(B - $B:G=i$N%I%C%H$O$"$C$F$b$J$/$F$b9=$$$^$;$s!#(B</p> - <hr /> - - <h2><a id="sethandler" name="sethandler">SetHandler</a> - $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> SetHandler - <em>handler-name</em>|None<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> SetHandler $B$O(B - Apache 1.1 $B0J9_$G$N$_;HMQ2DG=!#(B - - <p><code>.htaccess</code> $B$d(B <code><Directory></code> - $B%;%/%7%g%s!"(B<code><Location></code> $B%;%/%7%g%s$K=q$+$l$?>l9g!"(B - $B$3$N%G%#%l%/%F%#%V$O$=$3$K$"$k$9$Y$F$N%U%!%$%k$,(B - <em>handler-name</em> $B$G;XDj$5$l$?(B<a href="../handler.html" - >$B%O%s%I%i(B</a>$B$G07$o$l$k$3$H$r6/@)$7$^$9!#Nc$($P!"3HD%;R$K4X$o$i$:!"(B - $B%G%#%l%/%H%jA4BN$,%$%a!<%8%^%C%W%U%!%$%k$H$7$F2r@O$7$FM_$7$$>l9g$K$O!"(B - $B0J2<$r$=$N%G%#%l%/%H%j$N(B <code>.htaccess</code> - $B%U%!%$%k$K5-=R$7$^$9(B:</p> -<pre> - SetHandler imap-file -</pre> - - <p>$BJL$NNc(B: URL <code>http://servername/status</code> - $B$,;XDj$5$l$?$H$-$K%5!<%P$,>uBVJs9p$r$9$k$h$&$K$7$?$$$H$-$O!"0J2<$r(B - httpd.conf $B$K5-=R$7$^$9(B: ($B>\:Y$O(B <a - href="mod_status.html">mod_status</a> $B$r;2>H!#(B) - </p> -<pre> - <Location /status> - SetHandler server-status - </Location> -</pre> - - <p>$BCM$r(B <code>None</code> $B$K$9$k$3$H$G!"(B - $B0JA0$N(B <code>SetHandler</code> $B%G%#%l%/%F%#%V$NDj5A$r>e=q$-$9$k$3$H$,(B - $B$G$-$^$9!#(B</p> - - <p><strong>$B;2>H(B</strong>: <a href="#addhandler">AddHandler</a></p> - - <hr /> - - <h2><a id="typesconfig" name="typesconfig">TypesConfig</a> - $B%G%#%l%/%F%#%V(B</h2> - <!--%plaintext <?INDEX {\tt TypesConfig} directive> --> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> TypesConfig - <em>filename</em><br /> - <a href="directive-dict.html#default" - rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>TypesConfig - conf/mime.types</code><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_mime - - <p>TypesConfig $B%G%#%l%/%F%#%V$O!"(BMIME - $B%?%$%W@_Dj%U%!%$%k$N0LCV$r@_Dj$7$^$9!#(B<em>filename</em> $B$O(B - <a href="core.html#serverroot">ServerRoot</a> $B$+$i$NAjBP%Q%9$G$9!#(B - $B$3$N%U%!%$%k$O%U%!%$%k$N3HD%;R$+$i%3%s%F%s%H%?%$%W$X$N(B - $B%G%U%)%k%H$N%^%C%T%s%0$r@_Dj$7$^$9!#(B - $B$3$N%U%!%$%k$rJQ99$9$k$3$H$O?d>)$5$l$F$$$^$;$s!#Be$o$j$K(B - <a href="#addtype">AddType</a> $B%G%#%l%/%F%#%V$r;HMQ$7$F$/$@$5$$!#(B - $B%U%!%$%k$O!"(BAddType $B%3%^%s%I$N0z?t$HF1$87A<0$N9T$G9=@.$5$l$^$9!#(B</p> - - <blockquote> - <em>MIME-type extension extension ...</em> - </blockquote> - $B3HD%;R$O>.J8;z$KJQ49$5$l$^$9!#6u9T$H%O%C%7%eJ8;z(B ('#') - $B$G;O$^$k9T$OL5;k$5$l$^$9!#(B - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_negotiation.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_negotiation.html.en deleted file mode 100644 index 18c12e6c673..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_negotiation.html.en +++ /dev/null @@ -1,230 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_negotiation</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_negotiation</h1> - - <p>This module provides for <a - href="../content-negotiation.html">content negotiation</a>.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> - mod_negotiation.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - negotiation_module</p> - - <h2>Summary</h2> - Content negotiation, or more accurately content selection, is - the selection of the document that best matches the clients - capabilities, from one of several available documents. There - are two implementations of this. - - <ul> - <li>A type map (a file with the handler - <code>type-map</code>) which explicitly lists the files - containing the variants.</li> - - <li>A MultiViews search (enabled by the MultiViews <a - href="core.html#options">Option</a>, where the server does an - implicit filename pattern match, and choose from amongst the - results.</li> - </ul> - - <h2>Directives</h2> - - <ul> - <li><a - href="#cachenegotiateddocs">CacheNegotiatedDocs</a></li> - - <li><a href="#languagepriority">LanguagePriority</a></li> - </ul> - <strong>See also</strong>: <a - href="./mod_mime.html#defaultlanguage">DefaultLanguage</a>, <a - href="./mod_mime.html#addencoding">AddEncoding</a>, <a - href="./mod_mime.html#addlanguage">AddLanguage</a>, <a - href="./mod_mime.html#addtype">AddType</a>, and <a - href="core.html#options">Options</a>. - - <h2>Type maps</h2> - A type map has the same format as RFC822 mail headers. It - contains document descriptions separated by blank lines, with - lines beginning with a hash character ('#') treated as - comments. A document description consists of several header - records; records may be continued on multiple lines if the - continuation lines start with spaces. The leading space will be - deleted and the lines concatenated. A header record consists of - a keyword name, which always ends in a colon, followed by a - value. Whitespace is allowed between the header name and value, - and between the tokens of value. The headers allowed are: - - <dl> - <dt>Content-Encoding:</dt> - - <dd>The encoding of the file. Apache only recognizes - encodings that are defined by an <a - href="mod_mime.html#addencoding">AddEncoding</a> directive. - This normally includes the encodings <code>x-compress</code> - for compress'd files, and <code>x-gzip</code> for gzip'd - files. The <code>x-</code> prefix is ignored for encoding - comparisons.</dd> - - <dt>Content-Language:</dt> - - <dd>The language of the variant, as an Internet standard - language tag (RFC 1766). An example is <code>en</code>, - meaning English.</dd> - - <dt>Content-Length:</dt> - - <dd>The length of the file, in bytes. If this header is not - present, then the actual length of the file is used.</dd> - - <dt>Content-Type:</dt> - - <dd> - The MIME media type of the document, with optional - parameters. Parameters are separated from the media type - and from one another by a semi-colon, with a syntax of - <code>name=value</code>. Common parameters include: - - <dl> - <dt>level</dt> - - <dd>an integer specifying the version of the media type. - For <code>text/html</code> this defaults to 2, otherwise - 0.</dd> - - <dt>qs</dt> - - <dd>a floating-point number with a value in the range 0.0 - to 1.0, indicating the relative 'quality' of this variant - compared to the other available variants, independent of - the client's capabilities. For example, a jpeg file is - usually of higher source quality than an ascii file if it - is attempting to represent a photograph. However, if the - resource being represented is ascii art, then an ascii - file would have a higher source quality than a jpeg file. - All qs values are therefore specific to a given - resource.</dd> - </dl> - Example: - - <blockquote> - <code>Content-Type: image/jpeg; qs=0.8</code> - </blockquote> - </dd> - - <dt>URI:</dt> - - <dd>The path to the file containing this variant, relative to - the map file.</dd> - </dl> - - <h2>MultiViews</h2> - A MultiViews search is enabled by the MultiViews <a - href="core.html#options">Option</a>. If the server receives a - request for <code>/some/dir/foo</code> and - <code>/some/dir/foo</code> does <em>not</em> exist, then the - server reads the directory looking for all files named - <code>foo.*</code>, and effectively fakes up a type map which - names all those files, assigning them the same media types and - content-encodings it would have if the client had asked for one - of them by name. It then chooses the best match to the client's - requirements, and returns that document. - <hr /> - - <h2><a id="cachenegotiateddocs" - name="cachenegotiateddocs">CacheNegotiatedDocs</a> - directive</h2> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> - CacheNegotiatedDocs<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_negotiation<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> - CacheNegotiatedDocs is only available in Apache 1.1 and later. - - <p>If set, this directive allows content-negotiated documents - to be cached by proxy servers. This could mean that clients - behind those proxys could retrieve versions of the documents - that are not the best match for their abilities, but it will - make caching more efficient.</p> - - <p>This directive only applies to requests which come from - HTTP/1.0 browsers. HTTP/1.1 provides much better control over - the caching of negotiated documents, and this directive has no - effect in responses to HTTP/1.1 requests.</p> - <hr /> - - <h2><a id="languagepriority" - name="languagepriority">LanguagePriority</a> directive</h2> - <!--%plaintext <?INDEX {\tt LanguagePriority} directive> --> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LanguagePriority - <em>MIME-lang</em> [<em>MIME-lang</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_negotiation - - <p>The LanguagePriority sets the precedence of language - variants for the case where the client does not express a - preference, when handling a MultiViews request. The list of - <em>MIME-lang</em> are in order of decreasing preference. - Example:</p> - - <blockquote> - <code>LanguagePriority en fr de</code> - </blockquote> - For a request for <code>foo.html</code>, where - <code>foo.html.fr</code> and <code>foo.html.de</code> both - existed, but the browser did not express a language preference, - then <code>foo.html.fr</code> would be returned. - - <p>Note that this directive only has an effect if a 'best' - language cannot be determined by any other means. Correctly - implemented HTTP/1.1 requests will mean this directive has no - effect.</p> - - <p><strong>See also</strong>: <a - href="./mod_mime.html#defaultlanguage">DefaultLanguage</a> and - <a href="./mod_mime.html#addlanguage">AddLanguage</a> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_negotiation.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_negotiation.html.ja.jis deleted file mode 100644 index 5e71a2be426..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_negotiation.html.ja.jis +++ /dev/null @@ -1,228 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_negotiation</title> - - </head> - <!-- English revision: 1.18 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_negotiation $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O(B <a href="../content-negotiation.html" - >$B%3%s%F%s%H%M%4%7%(!<%7%g%s(B</a>$B$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - mod_negotiation.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - negotiation_module</p> - - <h2>$B35MW(B</h2> - $B%3%s%F%s%H%M%4%7%(!<%7%g%s!"$h$j@53N$K$O%3%s%F%s%D$NA*Br5!G=$O!"(B - $BJ#?tMQ0U$5$l$F$$$k%I%-%e%a%s%H$+$i!"%/%i%$%"%s%H$NG=NO$K0lHV9g$C$?(B - $B%I%-%e%a%s%H$rA*Br$9$k5!G=$G$9!#$3$N<BAu$OFs$D$"$j$^$9!#(B - - - <ul> - <li>$B%?%$%W%^%C%W(B (<code>type-map</code> - $B%O%s%I%i$G07$o$l$k%U%!%$%k(B)$B!#$3$l$O(B variants - $B$r4^$s$G$$$k%U%!%$%k$rL@<(E*$K;XDj$7$^$9!#(B</li> - - <li>MultiViews $B$NC5:w(B (MultiViews <a - href="core.html#options">$B%*%W%7%g%s(B</a> $B$G;HMQ$9$k$h$&$K$J$j$^$9(B)$B!#(B - $B%5!<%P$,0EL[$NFb$K%U%!%$%kL>$N%Q%?!<%s%^%C%A$r9T$J$$!"(B - $B$=$N7k2L$+$iA*Br$7$^$9!#(B</li> - </ul> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#cachenegotiateddocs">CacheNegotiatedDocs</a></li> - - - <li><a href="#languagepriority">LanguagePriority</a></li> - </ul> - <a href="./mod_mime.html#defaultlanguage">DefaultLanguage</a>, - <a href="./mod_mime.html#addencoding">AddEncoding</a>, - <a href="./mod_mime.html#addlanguage">AddLanguage</a>, - <a href="./mod_mime.html#addtype">AddType</a>, - <a href="core.html#options">Options</a> - <strong>$B$b;2>H$7$F$/$@$5$$(B</strong>$B!#(B - - <h2>$B%?%$%W%^%C%W(B</h2> - - $B%?%$%W%^%C%W$O(B RFC 822 $B$N%a!<%k%X%C%@$HF1$8=q<0$G$9!#(B - $B%I%-%e%a%s%H$N5-=R$,6u9T$GJ,N%$5$l$F=q$+$l$F$$$F!"%O%C%7%eJ8;z(B - ('#') $B$G;O$^$k9T$O%3%a%s%H$H$7$F07$o$l$^$9!#(B - $B%I%-%e%a%s%H$N@bL@$OJ#?t$N%X%C%@%l%3!<%I$+$i9=@.$5$l$^$9!#(B - $B%l%3!<%I$O!"B3$-$N9T$,6uGr$G;O$^$C$F$$$k$HJ#?t$N9T$K$^$?$,$j$^$9!#(B - $B:G=i$N6uGr$,>C5n$5$l$F!"A0$N9T$H$D$J$2$F(B 1 $B9T$H$7$F07$o$l$^$9!#(B - $B%X%C%@%l%3!<%I$O%-!<%o!<%IL>$N8e$KCM$,B3$/$H$$$&7A<0$G!"(B - $B%-!<%o!<%IL>$O>o$K%3%m%s$G=*$o$j$^$9!#6uGr$O%X%C%@L>$HCM$N4V!"(B - $BCM$N%H!<%/%s$N4V$KF~$l$k$3$H$,$G$-$^$9!#(B - $B;HMQ2DG=$J%X%C%@$O0J2<$N$H$*$j$G$9(B: - <dl> - <dt>Content-Encoding:</dt> - <dd>$B%U%!%$%k$N%(%s%3!<%G%#%s%0!#(BApache $B$O(B <a - href="mod_mime.html#addencoding">AddEncoding</a> - $B$GDj5A$5$l$?%(%s%3!<%G%#%s%0$@$1$rG'<1$7$^$9!#DL>o(B compress - $B$5$l$?%U%!%$%k$N$?$a$N(B <code>x-compress</code> $B$H(B gzip - $B$5$l$?%U%!%$%k$N$?$a$N(B <code>x-gzip</code> $B$r4^$_$^$9!#(B - $B%(%s%3!<%G%#%s%0$NHf3S$r$9$k$H$-$O!"@\F,<-(B <code>x-</code> - $B$OL5;k$5$l$^$9!#(B</dd> - - - <dt>Content-Language:</dt> - - <dd>$B%$%s%?!<%M%C%HI8=`$N8@8l%?%0(B (RFC 1766) - $B$GDj5A$5$l$F$$$k8@8l$N<oN`!#Nc$($P!"(B<code>en</code> - $B$O1Q8l$rI=$7$^$9!#(B</dd> - - <dt>Content-Length:</dt> - - <dd>$B%U%!%$%k$ND9$5(B ($B%P%$%H?t(B)$B!#(B - $B$3$N%X%C%@$,$J$$>l9g!"%U%!%$%k$N<B:]$ND9$5$,;HMQ$5$l$^$9!#(B</dd> - - <dt>Content-Type:</dt> - - <dd>$B%I%-%e%a%s%H$N(B MIME - $B%a%G%#%"%?%$%W!"%*%W%7%g%J%k$J%Q%i%a!<%?IU$-!#%Q%i%a!<%?$N9=J8$O(B - <code>name=value</code> - $B$G!"%a%G%#%"%?%$%W$dB>$N%Q%i%a!<%?$H$O%;%_%3%m%s$GJ,N%$5$l$^$9!#(B - $B6&DL$N%Q%i%a!<%?$O0J2<$N$H$*$j(B: - - <dl> - <dt>level</dt> - - <dd>$B%a%G%#%"%?%$%W$N%P!<%8%g%s$r<($9@0?t!#(B - <code>text/html</code> $B$G$O(B 2 $B$,%G%U%)%k%H$G!"$=$NB>$N>l9g$O(B - 0 $B$,%G%U%)%k%H$G$9!#(B</dd> - - <dt>qs</dt> - - <dd>$B%/%i%$%"%s%H$NG=NO$K4X78$J$/!"(Bvariant - $B$rB>$HHf3S$7$?$H$-$NAjBPE*$J!VIJ<A!W$G!"(B0.0 $B$+$i(B 1.0 - $B$NHO0O$NIbF0E@>.?t!#(B - $BNc$($P!"<L??$rI=8=$7$h$&$H$7$F$$$k$H$-$OIaDL$O(B JPEG - $B%U%!%$%k$NJ}$,(B ASCII $B%U%!%$%k$h$j$b9b$$IJ<A$K$J$j$^$9!#(B - $B$7$+$7!"%j%=!<%9$,(B ASCII $B%"!<%H$GI=8=$5$l$F$$$k$H$-$O!"(BASCII - $B%U%!%$%k$NJ}$,(B JPEG - $B%U%!%$%k$h$j$b9b$$IJ<A$K$J$j$^$9!#$3$N$h$&$K!"(Bqs - $B$O%j%=!<%9Kh$KFCM-$NCM$r<h$j$^$9!#(B - </dd> - </dl> - $BNc(B: - - <blockquote> - <code>Content-Type: image/jpeg; qs=0.8</code> - </blockquote> - </dd> - - <dt>URI:</dt> - - <dd>$B%^%C%W%U%!%$%k$+$iAjBP%Q%9$GI=$o$7$?!"(Bvariant - $B$N$"$k%U%!%$%k$X$N%Q%9(B</dd> - </dl> - - <h2>MultiViews</h2> - MultiViews $BC5:w$O!"(BMultiviews <a href="core.html#options" - >$B%*%W%7%g%s(B</a>$B$K$h$jM-8z$K$J$j$^$9!#%5!<%P$,(B <code>/some/dir/foo</code> - $B$X$N%j%/%(%9%H$r<u$1<h$j!"(B<code>/some/dir/foo</code> $B$,B8:_(B - <em>$B$7$J$$(B</em>$B>l9g!"%5!<%P$O%G%#%l%/%H%j$rFI$s$G!"(B - <code>foo.*</code> $B$K$"$F$O$^$kA4$F$N%U%!%$%k$rC5$7!"(B - $B;v<B>e$=$l$i$N%U%!%$%k$r%^%C%W$9$k%?%$%W%^%C%W$r:n$j$^$9!#(B - $B$=$N$H$-!"%a%G%#%"%?%$%W$H%3%s%F%s%H%(%s%3!<%G%#%s%0$O!"(B - $B$=$N%U%!%$%kL>$rD>@\;XDj$7$?$H$-$HF1$8$b$N$,3d$jEv$F$i$l$^$9!#(B - $B$=$l$+$i%/%i%$%"%s%H$NMW5a$K0lHV9g$&$b$N$rA*$S!"(B - $B$=$N%I%-%e%a%s%H$rJV$7$^$9!#(B - <hr /> - - <h2><a id="cachenegotiateddocs" - name="cachenegotiateddocs">CacheNegotiatedDocs</a> - $B%G%#%l%/%F%#%V(B</h2> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> CacheNegotiatedDocs<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> - mod_negotiation<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> - CacheNegotiatedDocs $B$O(B Apache 1.1 $B0J9_$G$N$_;HMQ2DG=!#(B<br /> - <p>$B$3$N%G%#%l%/%F%#%V$,@_Dj$5$l$F$$$k$H!"%3%s%F%s%H%M%4%7%(!<%7%g%s(B - $B$r$7$?7k2L$N%I%-%e%a%s%H$N%-%c%C%7%e$r5v2D$7$^$9!#(B - $B$3$l$O!"%W%m%-%7$N8e$m$K$$$k%/%i%$%"%s%H$,G=NO$K0lHV9g$C$?(B - $B%I%-%e%a%s%H$G$O$J$/!"(B - $B%-%c%C%7%e$r$h$j8z2LE*$K$9$k$b$N$rF@$k2DG=@-$,$"$k$H$$$&$3$H$G$9!#(B</p> - - <p>$B$3$N%G%#%l%/%F%#%V$O(B HTTP/1.0 $B%V%i%&%6$+$i$N%j%/%(%9%H(B - $B$N$_$KE,MQ$5$l$^$9!#(BHTTP/1.1 $B$O!"(B - $B8r>D$5$l$?%I%-%e%a%s%H$N%-%c%C%7%e$KBP$7$F$:$C$H$h$$@)8f$,2DG=$J$N$G!"(B - $B$3$N%G%#%l%/%F%#%V$O(B HTTP/1.1 $B$N%j%/%(%9%H$K$O1F6A$7$^$;$s!#(B</p> - <hr /> - - <h2><a id="languagepriority" - name="languagepriority">LanguagePriority</a> $B%G%#%l%/%F%#%V(B</h2> - <!--%plaintext <?INDEX {\tt LanguagePriority} directive> --> - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> LanguagePriority - <em>MIME-lang</em> [<em>MIME-lang</em>] ...<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_negotiation - - <p>LanguagePriority $B$O!"(BMultiViews - $B%j%/%(%9%H$r07$&$H$-$K!"%/%i%$%"%s%H$,M%@h=g0L$rDs6!$7$F$$$J$$>l9g$N(B - $B8@8l$NM%@h=g0L$r@_Dj$7$^$9!#(B<em>MIME-lang</em> - $B$N%j%9%H$,M%@hEY$N9_=g$KJB$S$^$9!#(B - $BNc(B:</p> - - <blockquote> - <code>LanguagePriority en fr de</code> - </blockquote> - <code>foo.html</code> $B$,%j%/%(%9%H$5$l!"(B<code>foo.html.fr</code> - $B$H(B <code>foo.html.de</code> $B$,N>J}B8:_$7!"(B - $B%V%i%&%6$,8@8l$NM%@h=g0L$rDs6!$7$F$J$$>l9g$O(B - <code>foo.html.fr</code> $B$,JV$5$l$^$9!#(B - - <p>$B$3$N%G%#%l%/%F%#%V$OB>$NJ}K!$G!V:GA1!W(B - $B$N8@8l$,7hDj$G$-$J$$$H$-$N$_8z2L$,$"$k$3$H$KCm0U$7$F$/$@$5$$!#(B - HTTP/1.1 $B%j%/%(%9%H$,@5$7$/<BAu$5$l$F$$$k>l9g$K$O!"(B - $B$3$N%G%#%l%/%F%#%V$OL58z$K$J$j$^$9!#(B</p> - - <p><a href="./mod_mime.html#defaultlanguage">DefaultLanguage</a>, - <a href="./mod_mime.html#addlanguage">AddLanguage</a> - <strong>$B$b;2>H$7$F$/$@$5$$(B</strong>$B!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_rewrite.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_rewrite.html.en deleted file mode 100644 index 9478e661e9a..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_rewrite.html.en +++ /dev/null @@ -1,2103 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!--%hypertext --> -<!-- mod_rewrite.html --> -<!-- Documentation for the mod_rewrite Apache module --> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_rewrite</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <blockquote> - <!-- page indentation --> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - <br /> - - - <h1 align="CENTER">Module mod_rewrite<br /> - URL Rewriting Engine</h1> - - <p>This module provides a rule-based rewriting engine to - rewrite requested URLs on the fly.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> - mod_rewrite.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - rewrite_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.2 and later.</p> - <hr noshade="noshade" size="1" /> - <br /> - - - <h2>Summary</h2> - - <blockquote> - <blockquote> - <blockquote> - <em>``The great thing about mod_rewrite is it gives you - all the configurability and flexibility of Sendmail. - The downside to mod_rewrite is that it gives you all - the configurability and flexibility of Sendmail.''</em> - - - <div align="RIGHT"> - -- Brian Behlendorf<br /> - Apache Group - </div> - </blockquote> - </blockquote> - </blockquote> - - <blockquote> - <blockquote> - <blockquote> - <em>`` Despite the tons of examples and docs, - mod_rewrite is voodoo. Damned cool voodoo, but still - voodoo. ''</em> - - <div align="RIGHT"> - -- Brian Moore<br /> - bem@news.cmc.net - </div> - </blockquote> - </blockquote> - </blockquote> - Welcome to mod_rewrite, the Swiss Army Knife of URL - manipulation! - - <p>This module uses a rule-based rewriting engine (based on a - regular-expression parser) to rewrite requested URLs on the - fly. It supports an unlimited number of rules and an - unlimited number of attached rule conditions for each rule to - provide a really flexible and powerful URL manipulation - mechanism. The URL manipulations can depend on various tests, - for instance server variables, environment variables, HTTP - headers, time stamps and even external database lookups in - various formats can be used to achieve a really granular URL - matching.</p> - - <p>This module operates on the full URLs (including the - path-info part) both in per-server context - (<code>httpd.conf</code>) and per-directory context - (<code>.htaccess</code>) and can even generate query-string - parts on result. The rewritten result can lead to internal - sub-processing, external request redirection or even to an - internal proxy throughput.</p> - - <p>But all this functionality and flexibility has its - drawback: complexity. So don't expect to understand this - entire module in just one day.</p> - - <p>This module was invented and originally written in April - 1996<br /> - and gifted exclusively to the The Apache Group in July 1997 - by</p> - - <blockquote> - <a href="http://www.engelschall.com/"><code>Ralf S. - Engelschall</code></a><br /> - <a - href="mailto:rse@engelschall.com"><code>rse@engelschall.com</code></a><br /> - <a - href="http://www.engelschall.com/"><code>www.engelschall.com</code></a> - </blockquote> - <hr noshade="noshade" size="1" /> - - <h2>Table Of Contents</h2> - - <p><strong>Internal Processing</strong></p> - - <ul> - <li><a href="#InternalAPI">API Phases</a></li> - - <li><a href="#InternalRuleset">Ruleset Processing</a></li> - - <li><a href="#InternalBackRefs">Regex Back-Reference - Availability</a></li> - </ul> - - <p><strong>Configuration Directives</strong></p> - - <ul> - <li><a href="#RewriteEngine">RewriteEngine</a></li> - - <li><a href="#RewriteOptions">RewriteOptions</a></li> - - <li><a href="#RewriteLog">RewriteLog</a></li> - - <li><a href="#RewriteLogLevel">RewriteLogLevel</a></li> - - <li><a href="#RewriteLock">RewriteLock</a></li> - - <li><a href="#RewriteMap">RewriteMap</a></li> - - <li><a href="#RewriteBase">RewriteBase</a></li> - - <li><a href="#RewriteCond">RewriteCond</a></li> - - <li><a href="#RewriteRule">RewriteRule</a></li> - </ul> - <strong>Miscellaneous</strong> - - <ul> - <li><a href="#EnvVar">Environment Variables</a></li> - - <li><a href="#Solutions">Practical Solutions</a></li> - </ul> - <hr noshade="noshade" size="1" /> - - <center> - <h1><a id="Internal" name="Internal">Internal - Processing</a></h1> - </center> - <hr noshade="noshade" size="1" /> - - <p>The internal processing of this module is very complex but - needs to be explained once even to the average user to avoid - common mistakes and to let you exploit its full - functionality.</p> - - <h2><a id="InternalAPI" name="InternalAPI">API - Phases</a></h2> - - <p>First you have to understand that when Apache processes a - HTTP request it does this in phases. A hook for each of these - phases is provided by the Apache API. Mod_rewrite uses two of - these hooks: the URL-to-filename translation hook which is - used after the HTTP request has been read but before any - authorization starts and the Fixup hook which is triggered - after the authorization phases and after the per-directory - config files (<code>.htaccess</code>) have been read, but - before the content handler is activated.</p> - - <p>So, after a request comes in and Apache has determined the - corresponding server (or virtual server) the rewriting engine - starts processing of all mod_rewrite directives from the - per-server configuration in the URL-to-filename phase. A few - steps later when the final data directories are found, the - per-directory configuration directives of mod_rewrite are - triggered in the Fixup phase. In both situations mod_rewrite - rewrites URLs either to new URLs or to filenames, although - there is no obvious distinction between them. This is a usage - of the API which was not intended to be this way when the API - was designed, but as of Apache 1.x this is the only way - mod_rewrite can operate. To make this point more clear - remember the following two points:</p> - - <ol> - <li>Although mod_rewrite rewrites URLs to URLs, URLs to - filenames and even filenames to filenames, the API - currently provides only a URL-to-filename hook. In Apache - 2.0 the two missing hooks will be added to make the - processing more clear. But this point has no drawbacks for - the user, it is just a fact which should be remembered: - Apache does more in the URL-to-filename hook than the API - intends for it.</li> - - <li> - Unbelievably mod_rewrite provides URL manipulations in - per-directory context, <em>i.e.</em>, within - <code>.htaccess</code> files, although these are reached - a very long time after the URLs have been translated to - filenames. It has to be this way because - <code>.htaccess</code> files live in the filesystem, so - processing has already reached this stage. In other - words: According to the API phases at this time it is too - late for any URL manipulations. To overcome this chicken - and egg problem mod_rewrite uses a trick: When you - manipulate a URL/filename in per-directory context - mod_rewrite first rewrites the filename back to its - corresponding URL (which is usually impossible, but see - the <code>RewriteBase</code> directive below for the - trick to achieve this) and then initiates a new internal - sub-request with the new URL. This restarts processing of - the API phases. - - <p>Again mod_rewrite tries hard to make this complicated - step totally transparent to the user, but you should - remember here: While URL manipulations in per-server - context are really fast and efficient, per-directory - rewrites are slow and inefficient due to this chicken and - egg problem. But on the other hand this is the only way - mod_rewrite can provide (locally restricted) URL - manipulations to the average user.</p> - </li> - </ol> - - <p>Don't forget these two points!</p> - - <h2><a id="InternalRuleset" name="InternalRuleset">Ruleset - Processing</a></h2> - Now when mod_rewrite is triggered in these two API phases, it - reads the configured rulesets from its configuration - structure (which itself was either created on startup for - per-server context or during the directory walk of the Apache - kernel for per-directory context). Then the URL rewriting - engine is started with the contained ruleset (one or more - rules together with their conditions). The operation of the - URL rewriting engine itself is exactly the same for both - configuration contexts. Only the final result processing is - different. - - <p>The order of rules in the ruleset is important because the - rewriting engine processes them in a special (and not very - obvious) order. The rule is this: The rewriting engine loops - through the ruleset rule by rule (<code>RewriteRule</code> - directives) and when a particular rule matches it optionally - loops through existing corresponding conditions - (<code>RewriteCond</code> directives). For historical reasons - the conditions are given first, and so the control flow is a - little bit long-winded. See Figure 1 for more details.</p> - - <div align="CENTER"> - <table cellspacing="0" cellpadding="2" border="0"> - <tr> - <td bgcolor="#CCCCCC"><img - src="../images/mod_rewrite_fig1.gif" width="428" - height="385" - alt="[Needs graphics capability to display]" /></td> - </tr> - - <tr> - <td align="CENTER"><strong>Figure 1:</strong> The - control flow through the rewriting ruleset</td> - </tr> - </table> - </div> - - <p>As you can see, first the URL is matched against the - <em>Pattern</em> of each rule. When it fails mod_rewrite - immediately stops processing this rule and continues with the - next rule. If the <em>Pattern</em> matches, mod_rewrite looks - for corresponding rule conditions. If none are present, it - just substitutes the URL with a new value which is - constructed from the string <em>Substitution</em> and goes on - with its rule-looping. But if conditions exist, it starts an - inner loop for processing them in the order that they are - listed. For conditions the logic is different: we don't match - a pattern against the current URL. Instead we first create a - string <em>TestString</em> by expanding variables, - back-references, map lookups, <em>etc.</em> and then we try - to match <em>CondPattern</em> against it. If the pattern - doesn't match, the complete set of conditions and the - corresponding rule fails. If the pattern matches, then the - next condition is processed until no more conditions are - available. If all conditions match, processing is continued - with the substitution of the URL with - <em>Substitution</em>.</p> - - <h2><a id="quoting" name="quoting">Quoting Special - Characters</a></h2> - - <p>As of Apache 1.3.20, special characters in - <i>TestString</i> and <i>Substitution</i> strings can be - escaped (that is, treated as normal characters without their - usual special meaning) by prefixing them with a slosh ('\') - character. In other words, you can include an actual - dollar-sign character in a <i>Substitution</i> string by - using '<code>\$</code>'; this keeps mod_rewrite from trying - to treat it as a backreference.</p> - - <h2><a id="InternalBackRefs" name="InternalBackRefs">Regex - Back-Reference Availability</a></h2> - One important thing here has to be remembered: Whenever you - use parentheses in <em>Pattern</em> or in one of the - <em>CondPattern</em>, back-references are internally created - which can be used with the strings <code>$N</code> and - <code>%N</code> (see below). These are available for creating - the strings <em>Substitution</em> and <em>TestString</em>. - Figure 2 shows to which locations the back-references are - transfered for expansion. - - <div align="CENTER"> - <table cellspacing="0" cellpadding="2" border="0"> - <tr> - <td bgcolor="#CCCCCC"><img - src="../images/mod_rewrite_fig2.gif" width="381" - height="179" - alt="[Needs graphics capability to display]" /></td> - </tr> - - <tr> - <td align="CENTER"><strong>Figure 2:</strong> The - back-reference flow through a rule</td> - </tr> - </table> - </div> - - <p>We know this was a crash course on mod_rewrite's internal - processing. But you will benefit from this knowledge when - reading the following documentation of the available - directives.</p> - <hr noshade="noshade" size="1" /> - - <center> - <h1><a id="Configuration" - name="Configuration">Configuration Directives</a></h1> - </center> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteEngine" - name="RewriteEngine">RewriteEngine</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RewriteEngine - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>RewriteEngine - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, - virtual host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache - 1.2<br /> - - - <p>The <code>RewriteEngine</code> directive enables or - disables the runtime rewriting engine. If it is set to - <code>off</code> this module does no runtime processing at - all. It does not even update the <code>SCRIPT_URx</code> - environment variables.</p> - - <p>Use this directive to disable the module instead of - commenting out all the <code>RewriteRule</code> - directives!</p> - - <p>Note that, by default, rewrite configurations are not - inherited. This means that you need to have a - <code>RewriteEngine on</code> directive for each virtual host - in which you wish to use it.</p> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteOptions" - name="RewriteOptions">RewriteOptions</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RewriteOptions - <em>Option</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>RewriteOptions - MaxRedirects=10</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, - virtual host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache - 1.2; <code>MaxRedirects</code> is available in Apache 1.3.28 and - later<br /> - - - <p>The <code>RewriteOptions</code> directive sets some - special options for the current per-server or per-directory - configuration. The <em>Option</em> strings can be one of the - following:</p> - - <dl> - <dt><code>inherit</code></dt> - <dd>This forces the current configuration to inherit the - configuration of the parent. In per-virtual-server context - this means that the maps, conditions and rules of the main - server are inherited. In per-directory context this means - that conditions and rules of the parent directory's - <code>.htaccess</code> configuration are inherited.</dd> - - <dt><code>MaxRedirects=<var>number</var></code></dt> - <dd>In order to prevent endless loops of internal redirects - issued by per-directory <code>RewriteRule</code>s, - <code>mod_rewrite</code> aborts the request after reaching a - maximum number of such redirects and responds with an 500 Internal - Server Error. If you really need more internal redirects than 10 - per request, you may increase the default to the desired value.</dd> - </dl> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteLog" name="RewriteLog">RewriteLog</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RewriteLog - <em>file-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>None</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, - virtual host<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> <em>Not - applicable</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache - 1.2<br /> - - - <p>The <code>RewriteLog</code> directive sets the name of the - file to which the server logs any rewriting actions it - performs. If the name does not begin with a slash - ('<code>/</code>') then it is assumed to be relative to the - <em>Server Root</em>. The directive should occur only once - per server config.</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Note</strong>: To disable the logging of - rewriting actions it is not recommended to set - <em>file-path</em> to <code>/dev/null</code>, because - although the rewriting engine does not then output to a - logfile it still creates the logfile output internally. - <strong>This will slow down the server with no advantage - to the administrator!</strong> To disable logging either - remove or comment out the <code>RewriteLog</code> - directive or use <code>RewriteLogLevel 0</code>!</td> - </tr> - </table> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Security</strong>: See the <a - href="../misc/security_tips.html">Apache Security - Tips</a> document for details on why your security could - be compromised if the directory where logfiles are stored - is writable by anyone other than the user that starts the - server.</td> - </tr> - </table> - - <p><strong>Example:</strong></p> - - <blockquote> -<pre> -RewriteLog "/usr/local/var/apache/logs/rewrite.log" -</pre> - </blockquote> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteLogLevel" - name="RewriteLogLevel">RewriteLogLevel</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RewriteLogLevel - <em>Level</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> - <code>RewriteLogLevel 0</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, - virtual host<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> <em>Not - applicable</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache - 1.2<br /> - - - <p>The <code>RewriteLogLevel</code> directive sets the - verbosity level of the rewriting logfile. The default level 0 - means no logging, while 9 or more means that practically all - actions are logged.</p> - - <p>To disable the logging of rewriting actions simply set - <em>Level</em> to 0. This disables all rewrite action - logs.</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Notice:</strong> Using a high value for - <em>Level</em> will slow down your Apache server - dramatically! Use the rewriting logfile at a - <em>Level</em> greater than 2 only for debugging!</td> - </tr> - </table> - - <p><strong>Example:</strong></p> - - <blockquote> -<pre> -RewriteLogLevel 3 -</pre> - </blockquote> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteLock" - name="RewriteLock">RewriteLock</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RewriteLock - <em>file-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>None</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> <em>Not - applicable</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache - 1.3<br /> - - - <p>This directive sets the filename for a synchronization - lockfile which mod_rewrite needs to communicate with - <samp>RewriteMap</samp> <em>programs</em>. Set this lockfile - to a local path (not on a NFS-mounted device) when you want - to use a rewriting map-program. It is not required for other - types of rewriting maps.</p> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteMap" name="RewriteMap">RewriteMap</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RewriteMap - <em>MapName</em> <em>MapType</em>:<em>MapSource</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> not used per - default<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, - virtual host<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> <em>Not - applicable</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache 1.2 - (partially), Apache 1.3<br /> - - - <p>The <code>RewriteMap</code> directive defines a - <em>Rewriting Map</em> which can be used inside rule - substitution strings by the mapping-functions to - insert/substitute fields through a key lookup. The source of - this lookup can be of various types.</p> - - <p>The <a id="mapfunc" name="mapfunc"><em>MapName</em></a> is - the name of the map and will be used to specify a - mapping-function for the substitution strings of a rewriting - rule via one of the following constructs:</p> - - <blockquote> - <strong><code>${</code> <em>MapName</em> <code>:</code> - <em>LookupKey</em> <code>}</code><br /> - <code>${</code> <em>MapName</em> <code>:</code> - <em>LookupKey</em> <code>|</code> <em>DefaultValue</em> - <code>}</code></strong> - </blockquote> - When such a construct occurs the map <em>MapName</em> is - consulted and the key <em>LookupKey</em> is looked-up. If the - key is found, the map-function construct is substituted by - <em>SubstValue</em>. If the key is not found then it is - substituted by <em>DefaultValue</em> or by the empty string - if no <em>DefaultValue</em> was specified. - - <p>The following combinations for <em>MapType</em> and - <em>MapSource</em> can be used:</p> - - <ul> - <li> - <strong>Standard Plain Text</strong><br /> - MapType: <code>txt</code>, MapSource: Unix filesystem - path to valid regular file - - <p>This is the standard rewriting map feature where the - <em>MapSource</em> is a plain ASCII file containing - either blank lines, comment lines (starting with a '#' - character) or pairs like the following - one per - line.</p> - - <blockquote> - <strong><em>MatchingKey</em> - <em>SubstValue</em></strong> - </blockquote> - - <p>Example:</p> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -## -## map.txt -- rewriting map -## - -Ralf.S.Engelschall rse # Bastard Operator From Hell -Mr.Joe.Average joe # Mr. Average -</pre> - </td> - </tr> - </table> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -RewriteMap real-to-user txt:/path/to/file/map.txt -</pre> - </td> - </tr> - </table> - </li> - - <li> - <strong>Randomized Plain Text</strong><br /> - MapType: <code>rnd</code>, MapSource: Unix filesystem - path to valid regular file - - <p>This is identical to the Standard Plain Text variant - above but with a special post-processing feature: After - looking up a value it is parsed according to contained - ``<code>|</code>'' characters which have the meaning of - ``or''. In other words they indicate a set of - alternatives from which the actual returned value is - chosen randomly. Although this sounds crazy and useless, - it was actually designed for load balancing in a reverse - proxy situation where the looked up values are server - names. Example:</p> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -## -## map.txt -- rewriting map -## - -static www1|www2|www3|www4 -dynamic www5|www6 -</pre> - </td> - </tr> - </table> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -RewriteMap servers rnd:/path/to/file/map.txt -</pre> - </td> - </tr> - </table> - </li> - - <li> - <strong>Hash File</strong><br /> - MapType: <code>dbm</code>, MapSource: Unix filesystem - path to valid regular file - - <p>Here the source is a binary NDBM format file - containing the same contents as a <em>Plain Text</em> - format file, but in a special representation which is - optimized for really fast lookups. You can create such a - file with any NDBM tool or with the following Perl - script:</p> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -#!/path/to/bin/perl -## -## txt2dbm -- convert txt map to dbm format -## - -use NDBM_File; -use Fcntl; - -($txtmap, $dbmmap) = @ARGV; - -open(TXT, "<$txtmap") or die "Couldn't open $txtmap!\n"; -tie (%DB, 'NDBM_File', $dbmmap,O_RDWR|O_TRUNC|O_CREAT, 0644) or die "Couldn't create $dbmmap!\n"; - -while (<TXT>) { - next if (/^\s*#/ or /^\s*$/); - $DB{$1} = $2 if (/^\s*(\S+)\s+(\S+)/); -} - -untie %DB; -close(TXT); -</pre> - </td> - </tr> - </table> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -$ txt2dbm map.txt map.db -</pre> - </td> - </tr> - </table> - </li> - - <li> - <strong>Internal Function</strong><br /> - MapType: <code>int</code>, MapSource: Internal Apache - function - - <p>Here the source is an internal Apache function. - Currently you cannot create your own, but the following - functions already exists:</p> - - <ul> - <li><strong>toupper</strong>:<br /> - Converts the looked up key to all upper case.</li> - - <li><strong>tolower</strong>:<br /> - Converts the looked up key to all lower case.</li> - - <li><strong>escape</strong>:<br /> - Translates special characters in the looked up key to - hex-encodings.</li> - - <li><strong>unescape</strong>:<br /> - Translates hex-encodings in the looked up key back to - special characters.</li> - </ul> - </li> - - <li> - <strong>External Rewriting Program</strong><br /> - MapType: <code>prg</code>, MapSource: Unix filesystem - path to valid regular file - - <p>Here the source is a program, not a map file. To - create it you can use the language of your choice, but - the result has to be a executable (<em>i.e.</em>, either - object-code or a script with the magic cookie trick - '<code>#!/path/to/interpreter</code>' as the first - line).</p> - - <p>This program is started once at startup of the Apache - servers and then communicates with the rewriting engine - over its <code>stdin</code> and <code>stdout</code> - file-handles. For each map-function lookup it will - receive the key to lookup as a newline-terminated string - on <code>stdin</code>. It then has to give back the - looked-up value as a newline-terminated string on - <code>stdout</code> or the four-character string - ``<code>NULL</code>'' if it fails (<em>i.e.</em>, there - is no corresponding value for the given key). A trivial - program which will implement a 1:1 map (<em>i.e.</em>, - key == value) could be:</p> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -#!/usr/bin/perl -$| = 1; -while (<STDIN>) { - # ...put here any transformations or lookups... - print $_; -} -</pre> - </td> - </tr> - </table> - - <p>But be very careful:<br /> - </p> - - <ol> - <li>``<em>Keep it simple, stupid</em>'' (KISS), because - if this program hangs it will hang the Apache server - when the rule occurs.</li> - - <li>Avoid one common mistake: never do buffered I/O on - <code>stdout</code>! This will cause a deadloop! Hence - the ``<code>$|=1</code>'' in the above example...</li> - - <li>Use the <samp>RewriteLock</samp> directive to - define a lockfile mod_rewrite can use to synchronize - the communication to the program. By default no such - synchronization takes place.</li> - </ol> - </li> - </ul> - The <code>RewriteMap</code> directive can occur more than - once. For each mapping-function use one - <code>RewriteMap</code> directive to declare its rewriting - mapfile. While you cannot <strong>declare</strong> a map in - per-directory context it is of course possible to - <strong>use</strong> this map in per-directory context. - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Note:</strong> For plain text and DBM format - files the looked-up keys are cached in-core until the - <code>mtime</code> of the mapfile changes or the server - does a restart. This way you can have map-functions in - rules which are used for <strong>every</strong> request. - This is no problem, because the external lookup only - happens once!</td> - </tr> - </table> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteBase" - name="RewriteBase">RewriteBase</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RewriteBase - <em>URL-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>default is the - physical directory path</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> directory, - .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> - <em>FileInfo</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache - 1.2<br /> - - - <p>The <code>RewriteBase</code> directive explicitly sets the - base URL for per-directory rewrites. As you will see below, - <code>RewriteRule</code> can be used in per-directory config - files (<code>.htaccess</code>). There it will act locally, - <em>i.e.</em>, the local directory prefix is stripped at this - stage of processing and your rewriting rules act only on the - remainder. At the end it is automatically added back to the - path.</p> - - <p>When a substitution occurs for a new URL, this module has - to re-inject the URL into the server processing. To be able - to do this it needs to know what the corresponding URL-prefix - or URL-base is. By default this prefix is the corresponding - filepath itself. <strong>But at most websites URLs are NOT - directly related to physical filename paths, so this - assumption will usually be wrong!</strong> There you have to - use the <code>RewriteBase</code> directive to specify the - correct URL-prefix.</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Notice:</strong> If your webserver's URLs are - <strong>not</strong> directly related to physical file - paths, you have to use <code>RewriteBase</code> in every - <code>.htaccess</code> files where you want to use - <code>RewriteRule</code> directives.</td> - </tr> - </table> - - <p><strong>Example:</strong></p> - - <blockquote> - Assume the following per-directory config file: - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -# -# /abc/def/.htaccess -- per-dir config file for directory /abc/def -# Remember: /abc/def is the physical path of /xyz, <em>i.e.</em>, the server -# has a 'Alias /xyz /abc/def' directive <em>e.g.</em> -# - -RewriteEngine On - -# let the server know that we were reached via /xyz and not -# via the physical path prefix /abc/def -RewriteBase /xyz - -# now the rewriting rules -RewriteRule ^oldstuff\.html$ newstuff.html -</pre> - </td> - </tr> - </table> - - <p>In the above example, a request to - <code>/xyz/oldstuff.html</code> gets correctly rewritten to - the physical file <code>/abc/def/newstuff.html</code>.</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td> - <font size="-1"><strong>Note - For Apache - hackers:</strong><br /> - The following list gives detailed information about - the internal processing steps:</font> -<pre> -<font size="-1">Request: - /xyz/oldstuff.html - -Internal Processing: - /xyz/oldstuff.html -> /abc/def/oldstuff.html (per-server Alias) - /abc/def/oldstuff.html -> /abc/def/newstuff.html (per-dir RewriteRule) - /abc/def/newstuff.html -> /xyz/newstuff.html (per-dir RewriteBase) - /xyz/newstuff.html -> /abc/def/newstuff.html (per-server Alias) - -Result: - /abc/def/newstuff.html -</font> -</pre> - <font size="-1">This seems very complicated but is - the correct Apache internal processing, because the - per-directory rewriting comes too late in the - process. So, when it occurs the (rewritten) request - has to be re-injected into the Apache kernel! BUT: - While this seems like a serious overhead, it really - isn't, because this re-injection happens fully - internally to the Apache server and the same - procedure is used by many other operations inside - Apache. So, you can be sure the design and - implementation is correct.</font> - </td> - </tr> - </table> - </blockquote> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteCond" - name="RewriteCond">RewriteCond</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RewriteCond - <em>TestString</em> <em>CondPattern</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>None</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, - virtual host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> - <em>FileInfo</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache 1.2 - (partially), Apache 1.3<br /> - - - <p>The <code>RewriteCond</code> directive defines a rule - condition. Precede a <code>RewriteRule</code> directive with - one or more <code>RewriteCond</code> directives. The - following rewriting rule is only used if its pattern matches - the current state of the URI <strong>and</strong> if these - additional conditions apply too.</p> - - <p><em>TestString</em> is a string which can contains the - following expanded constructs in addition to plain text:</p> - - <ul> - <li> - <strong>RewriteRule backreferences</strong>: These are - backreferences of the form - - <blockquote> - <strong><code>$N</code></strong> - </blockquote> - (0 <= N <= 9) which provide access to the grouped - parts (parenthesis!) of the pattern from the - corresponding <code>RewriteRule</code> directive (the one - following the current bunch of <code>RewriteCond</code> - directives). - </li> - - <li> - <strong>RewriteCond backreferences</strong>: These are - backreferences of the form - - <blockquote> - <strong><code>%N</code></strong> - </blockquote> - (1 <= N <= 9) which provide access to the grouped - parts (parentheses!) of the pattern from the last matched - <code>RewriteCond</code> directive in the current bunch - of conditions. - </li> - - <li> - <strong>RewriteMap expansions</strong>: These are - expansions of the form - - <blockquote> - <strong><code>${mapname:key|default}</code></strong> - </blockquote> - See <a href="#mapfunc">the documentation for - RewriteMap</a> for more details. - </li> - - <li> - <strong>Server-Variables</strong>: These are variables of - the form - - <blockquote> - <strong><code>%{</code> <em>NAME_OF_VARIABLE</em> - <code>}</code></strong> - </blockquote> - where <em>NAME_OF_VARIABLE</em> can be a string taken - from the following list: - - <table bgcolor="#F0F0F0" cellspacing="0" cellpadding="5"> - <tr> - <td valign="TOP"> - <strong>HTTP headers:</strong> - - <p><font size="-1">HTTP_USER_AGENT<br /> - HTTP_REFERER<br /> - HTTP_COOKIE<br /> - HTTP_FORWARDED<br /> - HTTP_HOST<br /> - HTTP_PROXY_CONNECTION<br /> - HTTP_ACCEPT<br /> - </font></p> - </td> - - <td valign="TOP"> - <strong>connection & request:</strong> - - <p><font size="-1">REMOTE_ADDR<br /> - REMOTE_HOST<br /> - REMOTE_USER<br /> - REMOTE_IDENT<br /> - REQUEST_METHOD<br /> - SCRIPT_FILENAME<br /> - PATH_INFO<br /> - QUERY_STRING<br /> - AUTH_TYPE<br /> - </font></p> - </td> - </tr> - - <tr> - <td valign="TOP"> - <strong>server internals:</strong> - - <p><font size="-1">DOCUMENT_ROOT<br /> - SERVER_ADMIN<br /> - SERVER_NAME<br /> - SERVER_ADDR<br /> - SERVER_PORT<br /> - SERVER_PROTOCOL<br /> - SERVER_SOFTWARE<br /> - </font></p> - </td> - - <td valign="TOP"> - <strong>system stuff:</strong> - - <p><font size="-1">TIME_YEAR<br /> - TIME_MON<br /> - TIME_DAY<br /> - TIME_HOUR<br /> - TIME_MIN<br /> - TIME_SEC<br /> - TIME_WDAY<br /> - TIME<br /> - </font></p> - </td> - - <td valign="TOP"> - <strong>specials:</strong> - - <p><font size="-1">API_VERSION<br /> - THE_REQUEST<br /> - REQUEST_URI<br /> - REQUEST_FILENAME<br /> - IS_SUBREQ<br /> - </font></p> - </td> - </tr> - </table> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td> - <p><strong>Notice:</strong> These variables all - correspond to the similarly named HTTP - MIME-headers, C variables of the Apache server or - <code>struct tm</code> fields of the Unix system. - Most are documented elsewhere in the Manual or in - the CGI specification. Those that are special to - mod_rewrite include:</p> - - <dl> - <dt><code>IS_SUBREQ</code></dt> - - <dd>Will contain the text "true" if the request - currently being processed is a sub-request, - "false" otherwise. Sub-requests may be generated - by modules that need to resolve additional files - or URIs in order to complete their tasks.</dd> - - <dt><code>API_VERSION</code></dt> - - <dd>This is the version of the Apache module API - (the internal interface between server and - module) in the current httpd build, as defined in - include/ap_mmn.h. The module API version - corresponds to the version of Apache in use (in - the release version of Apache 1.3.14, for - instance, it is 19990320:10), but is mainly of - interest to module authors.</dd> - - <dt><code>THE_REQUEST</code></dt> - - <dd>The full HTTP request line sent by the - browser to the server (e.g., "<code>GET - /index.html HTTP/1.1</code>"). This does not - include any additional headers sent by the - browser.</dd> - - <dt><code>REQUEST_URI</code></dt> - - <dd>The resource requested in the HTTP request - line. (In the example above, this would be - "/index.html".)</dd> - - <dt><code>REQUEST_FILENAME</code></dt> - - <dd>The full local filesystem path to the file or - script matching the request.</dd> - </dl> - </td> - </tr> - </table> - </li> - </ul> - - <p>Special Notes:</p> - - <ol> - <li>The variables SCRIPT_FILENAME and REQUEST_FILENAME - contain the same value, <em>i.e.</em>, the value of the - <code>filename</code> field of the internal - <code>request_rec</code> structure of the Apache server. - The first name is just the commonly known CGI variable name - while the second is the consistent counterpart to - REQUEST_URI (which contains the value of the - <code>uri</code> field of <code>request_rec</code>).</li> - - <li>There is the special format: - <code>%{ENV:variable}</code> where <em>variable</em> can be - any environment variable. This is looked-up via internal - Apache structures and (if not found there) via - <code>getenv()</code> from the Apache server process.</li> - - <li>There is the special format: - <code>%{HTTP:header}</code> where <em>header</em> can be - any HTTP MIME-header name. This is looked-up from the HTTP - request. Example: <code>%{HTTP:Proxy-Connection}</code> is - the value of the HTTP header - ``<code>Proxy-Connection:</code>''.</li> - - <li>There is the special format - <code>%{LA-U:variable}</code> for look-aheads which perform - an internal (URL-based) sub-request to determine the final - value of <em>variable</em>. Use this when you want to use a - variable for rewriting which is actually set later in an - API phase and thus is not available at the current stage. - For instance when you want to rewrite according to the - <code>REMOTE_USER</code> variable from within the - per-server context (<code>httpd.conf</code> file) you have - to use <code>%{LA-U:REMOTE_USER}</code> because this - variable is set by the authorization phases which come - <em>after</em> the URL translation phase where mod_rewrite - operates. On the other hand, because mod_rewrite implements - its per-directory context (<code>.htaccess</code> file) via - the Fixup phase of the API and because the authorization - phases come <em>before</em> this phase, you just can use - <code>%{REMOTE_USER}</code> there.</li> - - <li>There is the special format: - <code>%{LA-F:variable}</code> which performs an internal - (filename-based) sub-request to determine the final value - of <em>variable</em>. Most of the time this is the same as - LA-U above.</li> - </ol> - - <p><em>CondPattern</em> is the condition pattern, - <em>i.e.</em>, a regular expression which is applied to the - current instance of the <em>TestString</em>, <em>i.e.</em>, - <em>TestString</em> is evaluated and then matched against - <em>CondPattern</em>.</p> - - <p><strong>Remember:</strong> <em>CondPattern</em> is a - standard <em>Extended Regular Expression</em> with some - additions:</p> - - <ol> - <li>You can prefix the pattern string with a - '<code>!</code>' character (exclamation mark) to specify a - <strong>non</strong>-matching pattern.</li> - - <li> - There are some special variants of <em>CondPatterns</em>. - Instead of real regular expression strings you can also - use one of the following: - - <ul> - <li>'<strong><CondPattern</strong>' (is lexically - lower)<br /> - Treats the <em>CondPattern</em> as a plain string and - compares it lexically to <em>TestString</em>. True if - <em>TestString</em> is lexically lower than - <em>CondPattern</em>.</li> - - <li>'<strong>>CondPattern</strong>' (is lexically - greater)<br /> - Treats the <em>CondPattern</em> as a plain string and - compares it lexically to <em>TestString</em>. True if - <em>TestString</em> is lexically greater than - <em>CondPattern</em>.</li> - - <li>'<strong>=CondPattern</strong>' (is lexically - equal)<br /> - Treats the <em>CondPattern</em> as a plain string and - compares it lexically to <em>TestString</em>. True if - <em>TestString</em> is lexically equal to - <em>CondPattern</em>, i.e the two strings are exactly - equal (character by character). If <em>CondPattern</em> - is just <samp>""</samp> (two quotation marks) this - compares <em>TestString</em> to the empty string.</li> - - <li>'<strong>-d</strong>' (is - <strong>d</strong>irectory)<br /> - Treats the <em>TestString</em> as a pathname and tests - if it exists and is a directory.</li> - - <li>'<strong>-f</strong>' (is regular - <strong>f</strong>ile)<br /> - Treats the <em>TestString</em> as a pathname and tests - if it exists and is a regular file.</li> - - <li>'<strong>-s</strong>' (is regular file with - <strong>s</strong>ize)<br /> - Treats the <em>TestString</em> as a pathname and tests - if it exists and is a regular file with size greater - than zero.</li> - - <li>'<strong>-l</strong>' (is symbolic - <strong>l</strong>ink)<br /> - Treats the <em>TestString</em> as a pathname and tests - if it exists and is a symbolic link.</li> - - <li>'<strong>-F</strong>' (is existing file via - subrequest)<br /> - Checks if <em>TestString</em> is a valid file and - accessible via all the server's currently-configured - access controls for that path. This uses an internal - subrequest to determine the check, so use it with care - because it decreases your servers performance!</li> - - <li>'<strong>-U</strong>' (is existing URL via - subrequest)<br /> - Checks if <em>TestString</em> is a valid URL and - accessible via all the server's currently-configured - access controls for that path. This uses an internal - subrequest to determine the check, so use it with care - because it decreases your server's performance!</li> - </ul> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Notice:</strong> All of these tests can - also be prefixed by an exclamation mark ('!') to - negate their meaning.</td> - </tr> - </table> - </li> - </ol> - - <p>Additionally you can set special flags for - <em>CondPattern</em> by appending</p> - - <blockquote> - <strong><code>[</code><em>flags</em><code>]</code></strong> - </blockquote> - as the third argument to the <code>RewriteCond</code> - directive. <em>Flags</em> is a comma-separated list of the - following flags: - - <ul> - <li>'<strong><code>nocase|NC</code></strong>' - (<strong>n</strong>o <strong>c</strong>ase)<br /> - This makes the test case-insensitive, <em>i.e.</em>, there - is no difference between 'A-Z' and 'a-z' both in the - expanded <em>TestString</em> and the <em>CondPattern</em>. - This flag is effective only for comparisons between - <em>TestString</em> and <em>CondPattern</em>. It has no - effect on filesystem and subrequest checks.</li> - - <li> - '<strong><code>ornext|OR</code></strong>' - (<strong>or</strong> next condition)<br /> - Use this to combine rule conditions with a local OR - instead of the implicit AND. Typical example: - - <blockquote> -<pre> -RewriteCond %{REMOTE_HOST} ^host1.* [OR] -RewriteCond %{REMOTE_HOST} ^host2.* [OR] -RewriteCond %{REMOTE_HOST} ^host3.* -RewriteRule ...some special stuff for any of these hosts... -</pre> - </blockquote> - Without this flag you would have to write the cond/rule - three times. - </li> - </ul> - - <p><strong>Example:</strong></p> - - <blockquote> - To rewrite the Homepage of a site according to the - ``<code>User-Agent:</code>'' header of the request, you can - use the following: - - <blockquote> -<pre> -RewriteCond %{HTTP_USER_AGENT} ^Mozilla.* -RewriteRule ^/$ /homepage.max.html [L] - -RewriteCond %{HTTP_USER_AGENT} ^Lynx.* -RewriteRule ^/$ /homepage.min.html [L] - -RewriteRule ^/$ /homepage.std.html [L] -</pre> - </blockquote> - Interpretation: If you use Netscape Navigator as your - browser (which identifies itself as 'Mozilla'), then you - get the max homepage, which includes Frames, <em>etc.</em> - If you use the Lynx browser (which is Terminal-based), then - you get the min homepage, which contains no images, no - tables, <em>etc.</em> If you use any other browser you get - the standard homepage. - </blockquote> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteRule" - name="RewriteRule">RewriteRule</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> RewriteRule - <em>Pattern</em> <em>Substitution</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>None</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, - virtual host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> - <em>FileInfo</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache 1.2 - (partially), Apache 1.3<br /> - - - <p>The <code>RewriteRule</code> directive is the real - rewriting workhorse. The directive can occur more than once. - Each directive then defines one single rewriting rule. The - <strong>definition order</strong> of these rules is - <strong>important</strong>, because this order is used when - applying the rules at run-time.</p> - - <p><a id="patterns" name="patterns"><em>Pattern</em></a> can - be (for Apache 1.1.x a System V8 and for Apache 1.2.x and - later a POSIX) <a id="regexp" name="regexp">regular - expression</a> which gets applied to the current URL. Here - ``current'' means the value of the URL when this rule gets - applied. This may not be the originally requested URL, - because any number of rules may already - have matched and made alterations to it.</p> - - <p>Some hints about the syntax of regular expressions:</p> - - <table bgcolor="#F0F0F0" cellspacing="0" cellpadding="5"> - <tr> - <td valign="TOP"> -<pre> -<strong>Text:</strong> - <strong><code>.</code></strong> Any single character - <strong><code>[</code></strong>chars<strong><code>]</code></strong> Character class: One of chars - <strong><code>[^</code></strong>chars<strong><code>]</code></strong> Character class: None of chars - text1<strong><code>|</code></strong>text2 Alternative: text1 or text2 - -<strong>Quantifiers:</strong> - <strong><code>?</code></strong> 0 or 1 of the preceding text - <strong><code>*</code></strong> 0 or N of the preceding text (N > 0) - <strong><code>+</code></strong> 1 or N of the preceding text (N > 1) - -<strong>Grouping:</strong> - <strong><code>(</code></strong>text<strong><code>)</code></strong> Grouping of text - (either to set the borders of an alternative or - for making backreferences where the <strong>N</strong>th group can - be used on the RHS of a RewriteRule with <code>$</code><strong>N</strong>) - -<strong>Anchors:</strong> - <strong><code>^</code></strong> Start of line anchor - <strong><code>$</code></strong> End of line anchor - -<strong>Escaping:</strong> - <strong><code>\</code></strong>char escape that particular char - (for instance to specify the chars "<code>.[]()</code>" <em>etc.</em>) -</pre> - </td> - </tr> - </table> - - <p>For more information about regular expressions either have - a look at your local regex(3) manpage or its - <code>src/regex/regex.3</code> copy in the Apache 1.3 - distribution. If you are interested in more detailed - information about regular expressions and their variants - (POSIX regex, Perl regex, <em>etc.</em>) have a look at the - following dedicated book on this topic:</p> - - <blockquote> - <em>Mastering Regular Expressions</em><br /> - Jeffrey E.F. Friedl<br /> - Nutshell Handbook Series<br /> - O'Reilly & Associates, Inc. 1997<br /> - ISBN 1-56592-257-3<br /> - </blockquote> - - <p>Additionally in mod_rewrite the NOT character - ('<code>!</code>') is a possible pattern prefix. This gives - you the ability to negate a pattern; to say, for instance: - ``<em>if the current URL does <strong>NOT</strong> match this - pattern</em>''. This can be used for exceptional cases, where - it is easier to match the negative pattern, or as a last - default rule.</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Notice:</strong> When using the NOT character - to negate a pattern you cannot have grouped wildcard - parts in the pattern. This is impossible because when the - pattern does NOT match, there are no contents for the - groups. In consequence, if negated patterns are used, you - cannot use <code>$N</code> in the substitution - string!</td> - </tr> - </table> - - <p><a id="rhs" name="rhs"><em>Substitution</em></a> of a - rewriting rule is the string which is substituted for (or - replaces) the original URL for which <em>Pattern</em> - matched. Beside plain text you can use</p> - - <ol> - <li>back-references <code>$N</code> to the RewriteRule - pattern</li> - - <li>back-references <code>%N</code> to the last matched - RewriteCond pattern</li> - - <li>server-variables as in rule condition test-strings - (<code>%{VARNAME}</code>)</li> - - <li><a href="#mapfunc">mapping-function</a> calls - (<code>${mapname:key|default}</code>)</li> - </ol> - Back-references are <code>$</code><strong>N</strong> - (<strong>N</strong>=0..9) identifiers which will be replaced - by the contents of the <strong>N</strong>th group of the - matched <em>Pattern</em>. The server-variables are the same - as for the <em>TestString</em> of a <code>RewriteCond</code> - directive. The mapping-functions come from the - <code>RewriteMap</code> directive and are explained there. - These three types of variables are expanded in the order of - the above list. - - <p>As already mentioned above, all the rewriting rules are - applied to the <em>Substitution</em> (in the order of - definition in the config file). The URL is <strong>completely - replaced</strong> by the <em>Substitution</em> and the - rewriting process goes on until there are no more rules - unless explicitly terminated by a - <code><strong>L</strong></code> flag - see below.</p> - - <p>There is a special substitution string named - '<code>-</code>' which means: <strong>NO - substitution</strong>! Sounds silly? No, it is useful to - provide rewriting rules which <strong>only</strong> match - some URLs but do no substitution, <em>e.g.</em>, in - conjunction with the <strong>C</strong> (chain) flag to be - able to have more than one pattern to be applied before a - substitution occurs.</p> - - <p>One more note: You can even create URLs in the - substitution string containing a query string part. Just use - a question mark inside the substitution string to indicate - that the following stuff should be re-injected into the - QUERY_STRING. When you want to erase an existing query - string, end the substitution string with just the question - mark.</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Note</strong>: There is a special feature: - When you prefix a substitution field with - <code>http://</code><em>thishost</em>[<em>:thisport</em>] - then <strong>mod_rewrite</strong> automatically strips it - out. This auto-reduction on implicit external redirect - URLs is a useful and important feature when used in - combination with a mapping-function which generates the - hostname part. Have a look at the first example in the - example section below to understand this.</td> - </tr> - </table> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Remember:</strong> An unconditional external - redirect to your own server will not work with the prefix - <code>http://thishost</code> because of this feature. To - achieve such a self-redirect, you have to use the - <strong>R</strong>-flag (see below).</td> - </tr> - </table> - - <p>Additionally you can set special flags for - <em>Substitution</em> by appending</p> - - <blockquote> - <strong><code>[</code><em>flags</em><code>]</code></strong> - </blockquote> - as the third argument to the <code>RewriteRule</code> - directive. <em>Flags</em> is a comma-separated list of the - following flags: - - <ul> - <li> - '<strong><code>redirect|R</code> - [=<em>code</em>]</strong>' (force <a id="redirect" - name="redirect"><strong>r</strong>edirect</a>)<br /> - Prefix <em>Substitution</em> with - <code>http://thishost[:thisport]/</code> (which makes the - new URL a URI) to force a external redirection. If no - <em>code</em> is given a HTTP response of 302 (MOVED - TEMPORARILY) is used. If you want to use other response - codes in the range 300-400 just specify them as a number - or use one of the following symbolic names: - <code>temp</code> (default), <code>permanent</code>, - <code>seeother</code>. Use it for rules which should - canonicalize the URL and give it back to the client, - <em>e.g.</em>, translate ``<code>/~</code>'' into - ``<code>/u/</code>'' or always append a slash to - <code>/u/</code><em>user</em>, etc.<br /> - - - <p><strong>Note:</strong> When you use this flag, make - sure that the substitution field is a valid URL! If not, - you are redirecting to an invalid location! And remember - that this flag itself only prefixes the URL with - <code>http://thishost[:thisport]/</code>, rewriting - continues. Usually you also want to stop and do the - redirection immediately. To stop the rewriting you also - have to provide the 'L' flag.</p> - </li> - - <li>'<strong><code>forbidden|F</code></strong>' (force URL - to be <strong>f</strong>orbidden)<br /> - This forces the current URL to be forbidden, - <em>i.e.</em>, it immediately sends back a HTTP response of - 403 (FORBIDDEN). Use this flag in conjunction with - appropriate RewriteConds to conditionally block some - URLs.</li> - - <li>'<strong><code>gone|G</code></strong>' (force URL to be - <strong>g</strong>one)<br /> - This forces the current URL to be gone, <em>i.e.</em>, it - immediately sends back a HTTP response of 410 (GONE). Use - this flag to mark pages which no longer exist as gone.</li> - - <li> - '<strong><code>proxy|P</code></strong>' (force - <strong>p</strong>roxy)<br /> - This flag forces the substitution part to be internally - forced as a proxy request and immediately (<em>i.e.</em>, - rewriting rule processing stops here) put through the <a - href="mod_proxy.html">proxy module</a>. You have to make - sure that the substitution string is a valid URI - (<em>e.g.</em>, typically starting with - <code>http://</code><em>hostname</em>) which can be - handled by the Apache proxy module. If not you get an - error from the proxy module. Use this flag to achieve a - more powerful implementation of the <a - href="mod_proxy.html#proxypass">ProxyPass</a> directive, - to map some remote stuff into the namespace of the local - server. - - <p>Notice: To use this functionality make sure you have - the proxy module compiled into your Apache server - program. If you don't know please check whether - <code>mod_proxy.c</code> is part of the ``<code>httpd - -l</code>'' output. If yes, this functionality is - available to mod_rewrite. If not, then you first have to - rebuild the ``<code>httpd</code>'' program with mod_proxy - enabled.</p> - </li> - - <li>'<strong><code>last|L</code></strong>' - (<strong>l</strong>ast rule)<br /> - Stop the rewriting process here and don't apply any more - rewriting rules. This corresponds to the Perl - <code>last</code> command or the <code>break</code> command - from the C language. Use this flag to prevent the currently - rewritten URL from being rewritten further by following - rules. For example, use it to rewrite the root-path URL - ('<code>/</code>') to a real one, <em>e.g.</em>, - '<code>/e/www/</code>'.</li> - - <li>'<strong><code>next|N</code></strong>' - (<strong>n</strong>ext round)<br /> - Re-run the rewriting process (starting again with the - first rewriting rule). Here the URL to match is again not - the original URL but the URL from the last rewriting rule. - This corresponds to the Perl <code>next</code> command or - the <code>continue</code> command from the C language. Use - this flag to restart the rewriting process, <em>i.e.</em>, - to immediately go to the top of the loop.<br /> - <strong>But be careful not to create an infinite - loop!</strong></li> - - <li>'<strong><code>chain|C</code></strong>' - (<strong>c</strong>hained with next rule)<br /> - This flag chains the current rule with the next rule - (which itself can be chained with the following rule, - <em>etc.</em>). This has the following effect: if a rule - matches, then processing continues as usual, <em>i.e.</em>, - the flag has no effect. If the rule does - <strong>not</strong> match, then all following chained - rules are skipped. For instance, use it to remove the - ``<code>.www</code>'' part inside a per-directory rule set - when you let an external redirect happen (where the - ``<code>.www</code>'' part should not to occur!).</li> - - <li> - '<strong><code>type|T</code></strong>=<em>MIME-type</em>' - (force MIME <strong>t</strong>ype)<br /> - Force the MIME-type of the target file to be - <em>MIME-type</em>. For instance, this can be used to - simulate the <code>mod_alias</code> directive - <code>ScriptAlias</code> which internally forces all files - inside the mapped directory to have a MIME type of - ``<code>application/x-httpd-cgi</code>''.</li> - - <li> - '<strong><code>nosubreq|NS</code></strong>' (used only if - <strong>n</strong>o internal - <strong>s</strong>ub-request)<br /> - This flag forces the rewriting engine to skip a - rewriting rule if the current request is an internal - sub-request. For instance, sub-requests occur internally - in Apache when <code>mod_include</code> tries to find out - information about possible directory default files - (<code>index.xxx</code>). On sub-requests it is not - always useful and even sometimes causes a failure to if - the complete set of rules are applied. Use this flag to - exclude some rules.<br /> - - - <p>Use the following rule for your decision: whenever you - prefix some URLs with CGI-scripts to force them to be - processed by the CGI-script, the chance is high that you - will run into problems (or even overhead) on - sub-requests. In these cases, use this flag.</p> - </li> - - <li>'<strong><code>nocase|NC</code></strong>' - (<strong>n</strong>o <strong>c</strong>ase)<br /> - This makes the <em>Pattern</em> case-insensitive, - <em>i.e.</em>, there is no difference between 'A-Z' and - 'a-z' when <em>Pattern</em> is matched against the current - URL.</li> - - <li>'<strong><code>qsappend|QSA</code></strong>' - (<strong>q</strong>uery <strong>s</strong>tring - <strong>a</strong>ppend)<br /> - This flag forces the rewriting engine to append a query - string part in the substitution string to the existing one - instead of replacing it. Use this when you want to add more - data to the query string via a rewrite rule.</li> - - <li> - '<strong><code>noescape|NE</code></strong>' - (<strong>n</strong>o URI <strong>e</strong>scaping of - output)<br /> - This flag keeps mod_rewrite from applying the usual URI - escaping rules to the result of a rewrite. Ordinarily, - special characters (such as '%', '$', ';', and so on) - will be escaped into their hexcode equivalents ('%25', - '%24', and '%3B', respectively); this flag prevents this - from being done. This allows percent symbols to appear in - the output, as in -<pre> - RewriteRule /foo/(.*) /bar?arg=P1\%3d$1 [R,NE] - -</pre> - which would turn '<code>/foo/zed</code>' into a safe - request for '<code>/bar?arg=P1=zed</code>'. - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Notice:</strong> The - <code>noescape</code> flag is only available with - Apache 1.3.20 and later versions.</td> - </tr> - </table> - </li> - - <li> - '<strong><code>passthrough|PT</code></strong>' - (<strong>p</strong>ass <strong>t</strong>hrough to next - handler)<br /> - This flag forces the rewriting engine to set the - <code>uri</code> field of the internal - <code>request_rec</code> structure to the value of the - <code>filename</code> field. This flag is just a hack to - be able to post-process the output of - <code>RewriteRule</code> directives by - <code>Alias</code>, <code>ScriptAlias</code>, - <code>Redirect</code>, <em>etc.</em> directives from - other URI-to-filename translators. A trivial example to - show the semantics: If you want to rewrite - <code>/abc</code> to <code>/def</code> via the rewriting - engine of <code>mod_rewrite</code> and then - <code>/def</code> to <code>/ghi</code> with - <code>mod_alias</code>: -<pre> - RewriteRule ^/abc(.*) /def$1 [PT] - Alias /def /ghi - -</pre> - If you omit the <code>PT</code> flag then - <code>mod_rewrite</code> will do its job fine, - <em>i.e.</em>, it rewrites <code>uri=/abc/...</code> to - <code>filename=/def/...</code> as a full API-compliant - URI-to-filename translator should do. Then - <code>mod_alias</code> comes and tries to do a - URI-to-filename transition which will not work. - - <p>Note: <strong>You have to use this flag if you want to - intermix directives of different modules which contain - URL-to-filename translators</strong>. The typical example - is the use of <code>mod_alias</code> and - <code>mod_rewrite</code>..</p> - </li> - - <li>'<strong><code>skip|S</code></strong>=<em>num</em>' - (<strong>s</strong>kip next rule(s))<br /> - This flag forces the rewriting engine to skip the next - <em>num</em> rules in sequence when the current rule - matches. Use this to make pseudo if-then-else constructs: - The last rule of the then-clause becomes - <code>skip=N</code> where N is the number of rules in the - else-clause. (This is <strong>not</strong> the same as the - 'chain|C' flag!)</li> - - <li> - '<strong><code>env|E=</code></strong><em>VAR</em>:<em>VAL</em>' - (set <strong>e</strong>nvironment variable)<br /> - This forces an environment variable named <em>VAR</em> to - be set to the value <em>VAL</em>, where <em>VAL</em> can - contain regexp backreferences <code>$N</code> and - <code>%N</code> which will be expanded. You can use this - flag more than once to set more than one variable. The - variables can be later dereferenced in many situations, but - usually from within XSSI (via <code><!--#echo - var="VAR"--></code>) or CGI (<em>e.g.</em> - <code>$ENV{'VAR'}</code>). Additionally you can dereference - it in a following RewriteCond pattern via - <code>%{ENV:VAR}</code>. Use this to strip but remember - information from URLs.</li> - </ul> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td> - <strong>Note:</strong> Never forget that - <em>Pattern</em> is applied to a complete URL in - per-server configuration files. <strong>But in - per-directory configuration files, the per-directory - prefix (which always is the same for a specific - directory!) is automatically <em>removed</em> for the - pattern matching and automatically <em>added</em> after - the substitution has been done.</strong> This feature - is essential for many sorts of rewriting, because - without this prefix stripping you have to match the - parent directory which is not always possible. - - <p>There is one exception: If a substitution string - starts with ``<code>http://</code>'' then the directory - prefix will <strong>not</strong> be added and an - external redirect or proxy throughput (if flag - <strong>P</strong> is used!) is forced!</p> - </td> - </tr> - </table> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>Note:</strong> To enable the rewriting engine - for per-directory configuration files you need to set - ``<code>RewriteEngine On</code>'' in these files - <strong>and</strong> ``<code>Options - FollowSymLinks</code>'' must be enabled. If your - administrator has disabled override of - <code>FollowSymLinks</code> for a user's directory, then - you cannot use the rewriting engine. This restriction is - needed for security reasons.</td> - </tr> - </table> - - <p>Here are all possible substitution combinations and their - meanings:</p> - - <p><strong>Inside per-server configuration - (<code>httpd.conf</code>)<br /> - for request ``<code>GET - /somepath/pathinfo</code>'':</strong><br /> - </p> - - <table bgcolor="#F0F0F0" cellspacing="0" cellpadding="5"> - <tr> - <td> -<pre> -<strong>Given Rule</strong> <strong>Resulting Substitution</strong> ----------------------------------------------- ---------------------------------- -^/somepath(.*) otherpath$1 not supported, because invalid! - -^/somepath(.*) otherpath$1 [R] not supported, because invalid! - -^/somepath(.*) otherpath$1 [P] not supported, because invalid! ----------------------------------------------- ---------------------------------- -^/somepath(.*) /otherpath$1 /otherpath/pathinfo - -^/somepath(.*) /otherpath$1 [R] http://thishost/otherpath/pathinfo - via external redirection - -^/somepath(.*) /otherpath$1 [P] not supported, because silly! ----------------------------------------------- ---------------------------------- -^/somepath(.*) http://thishost/otherpath$1 /otherpath/pathinfo - -^/somepath(.*) http://thishost/otherpath$1 [R] http://thishost/otherpath/pathinfo - via external redirection - -^/somepath(.*) http://thishost/otherpath$1 [P] not supported, because silly! ----------------------------------------------- ---------------------------------- -^/somepath(.*) http://otherhost/otherpath$1 http://otherhost/otherpath/pathinfo - via external redirection - -^/somepath(.*) http://otherhost/otherpath$1 [R] http://otherhost/otherpath/pathinfo - via external redirection - (the [R] flag is redundant) - -^/somepath(.*) http://otherhost/otherpath$1 [P] http://otherhost/otherpath/pathinfo - via internal proxy -</pre> - </td> - </tr> - </table> - - <p><strong>Inside per-directory configuration for - <code>/somepath</code><br /> - (<em>i.e.</em>, file <code>.htaccess</code> in dir - <code>/physical/path/to/somepath</code> containing - <code>RewriteBase /somepath</code>)<br /> - for request ``<code>GET - /somepath/localpath/pathinfo</code>'':</strong><br /> - </p> - - <table bgcolor="#F0F0F0" cellspacing="0" cellpadding="5"> - <tr> - <td> -<pre> -<strong>Given Rule</strong> <strong>Resulting Substitution</strong> ----------------------------------------------- ---------------------------------- -^localpath(.*) otherpath$1 /somepath/otherpath/pathinfo - -^localpath(.*) otherpath$1 [R] http://thishost/somepath/otherpath/pathinfo - via external redirection - -^localpath(.*) otherpath$1 [P] not supported, because silly! ----------------------------------------------- ---------------------------------- -^localpath(.*) /otherpath$1 /otherpath/pathinfo - -^localpath(.*) /otherpath$1 [R] http://thishost/otherpath/pathinfo - via external redirection - -^localpath(.*) /otherpath$1 [P] not supported, because silly! ----------------------------------------------- ---------------------------------- -^localpath(.*) http://thishost/otherpath$1 /otherpath/pathinfo - -^localpath(.*) http://thishost/otherpath$1 [R] http://thishost/otherpath/pathinfo - via external redirection - -^localpath(.*) http://thishost/otherpath$1 [P] not supported, because silly! ----------------------------------------------- ---------------------------------- -^localpath(.*) http://otherhost/otherpath$1 http://otherhost/otherpath/pathinfo - via external redirection - -^localpath(.*) http://otherhost/otherpath$1 [R] http://otherhost/otherpath/pathinfo - via external redirection - (the [R] flag is redundant) - -^localpath(.*) http://otherhost/otherpath$1 [P] http://otherhost/otherpath/pathinfo - via internal proxy -</pre> - </td> - </tr> - </table> - - <p><strong>Example:</strong></p> - - <blockquote> - We want to rewrite URLs of the form - - <blockquote> - <code>/</code> <em>Language</em> <code>/~</code> - <em>Realname</em> <code>/.../</code> <em>File</em> - </blockquote> - into - - <blockquote> - <code>/u/</code> <em>Username</em> <code>/.../</code> - <em>File</em> <code>.</code> <em>Language</em> - </blockquote> - - <p>We take the rewrite mapfile from above and save it under - <code>/path/to/file/map.txt</code>. Then we only have to - add the following lines to the Apache server configuration - file:</p> - - <blockquote> -<pre> -RewriteLog /path/to/file/rewrite.log -RewriteMap real-to-user txt:/path/to/file/map.txt -RewriteRule ^/([^/]+)/~([^/]+)/(.*)$ /u/${real-to-user:$2|nobody}/$3.$1 -</pre> - </blockquote> - </blockquote> - <hr noshade="noshade" size="1" /> - - <center> - <h1><a id="Miscelleneous" - name="Miscelleneous">Miscellaneous</a></h1> - </center> - <hr noshade="noshade" size="1" /> - - <h2><a id="EnvVar" name="EnvVar">Environment - Variables</a></h2> - This module keeps track of two additional (non-standard) - CGI/SSI environment variables named <code>SCRIPT_URL</code> - and <code>SCRIPT_URI</code>. These contain the - <em>logical</em> Web-view to the current resource, while the - standard CGI/SSI variables <code>SCRIPT_NAME</code> and - <code>SCRIPT_FILENAME</code> contain the <em>physical</em> - System-view. - - <p>Notice: These variables hold the URI/URL <em>as they were - initially requested</em>, <em>i.e.</em>, <em>before</em> any - rewriting. This is important because the rewriting process is - primarily used to rewrite logical URLs to physical - pathnames.</p> - - <p><strong>Example:</strong></p> - - <blockquote> -<pre> -SCRIPT_NAME=/sw/lib/w3s/tree/global/u/rse/.www/index.html -SCRIPT_FILENAME=/u/rse/.www/index.html -SCRIPT_URL=/u/rse/ -SCRIPT_URI=http://en1.engelschall.com/u/rse/ -</pre> - </blockquote> - <hr noshade="noshade" size="1" /> - - <h2><a id="Solutions" name="Solutions">Practical - Solutions</a></h2> - We also have an <a href="../misc/rewriteguide.html">URL - Rewriting Guide</a> available, which provides a collection of - practical solutions for URL-based problems. There you can - find real-life rulesets and additional information about - mod_rewrite. - </blockquote> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - <!-- page indentation --> - <!--/%hypertext --> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_rewrite.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_rewrite.html.ja.jis deleted file mode 100644 index e9c4fc5a30f..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_rewrite.html.ja.jis +++ /dev/null @@ -1,2102 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<!--%hypertext --> -<!-- mod_rewrite.html --> -<!-- Documentation for the mod_rewrite Apache module --> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_rewrite</title> - </head> - <!-- English revision: 1.64 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <blockquote> - <!-- page indentation --> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - <br /> - - <h1 align="center">mod_rewrite $B%b%8%e!<%k(B<br /> - URL $B=q$-49$(%(%s%8%s(B</h1> - - <p>$B$3$N%b%8%e!<%k$O!"MW5a$5$l$?(B URL - $B$r%j%"%k%?%$%`$G=q$-49$($k$?$a$N!"(B - $B%k!<%k%Y!<%9$N=q$-49$(%(%s%8%s$rDs6!$7$^$9!#(B - </p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - mod_rewrite.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - rewrite_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 $B0J9_$G;HMQ2DG=(B</p> - <hr noshade="noshade" size="1" /> - <br /> - - <h2>$B35MW(B</h2> - - <blockquote> - <blockquote> - <blockquote> - <em>`` mod_rewrite $B$N$9$P$i$7$$$H$3$m$O!"(B - Sendmail $B$N$h$&$J@_Dj@-$H=@Fp@-$rM?$($F$/$l$k$H$3$m$@$m$&!#(B - $B$^$?!"(Bmod_rewrite $B$N$h$/$J$$$H$3$m$O!"(B - Sendmail $B$N$h$&$J@_Dj@-$H=@Fp@-$rM?$($F$/$l$k$H$3$m$@$m$&!#(B''</em> - - <div align="right"> - -- Brian Behlendorf<br /> - Apache Group - </div> - </blockquote> - </blockquote> - </blockquote> - - <blockquote> - <blockquote> - <blockquote> - <em>`` $BKDBg$J@_DjNc$d%I%-%e%a%s%H$,$"$k$K$b$+$+$o$i$:!"(B - mod_rewrite $B$O9uKb=Q$G$"$k!#$+$J$j%$%1$F$k$C$]$$9uKb=Q$@$,!"(B - $B$d$C$Q$j9uKb=Q$G$"$k!#(B''</em> - - <div align="right"> - -- Brian Moore<br /> - bem@news.cmc.net - </div> - </blockquote> - </blockquote> - </blockquote> - URL $B$rA`:n$9$k$?$a$N%9%$%9@=$N%"!<%_!<%J%$%U!"(Bmod_rewrite - $B$X$h$&$3$=(B! - - <p>$B$3$N%b%8%e!<%k$O!"(B($B@55,I=8=%Q!<%5$K4p$E$/(B) - $B%k!<%k%Y!<%9$N=q$-49$(%(%s%8%s$r;H$$!"MW5a$5$l$?(B URL - $B$rE,59=q$-49$($^$9!#%5%]!<%H$9$k%k!<%k$N?t!"(B - $B$*$h$S3F%k!<%k$rE,MQ$9$k:]$N%k!<%k>r7o$N?t$K@)8B$O$J$/!"(B - $BK\Ev$K=@Fp$G$+$D6/NO$J(B URL $BA`:n%a%+%K%:%`$rDs6!$7$^$9!#$3$N(B URL - $BA`:n$K@hN)$A!"<!$N$h$&$K$$$m$$$m$JI>2A$r9T$&$3$H$,$G$-$^$9!#(B - $BNc$($P%5!<%PJQ?t!"4D6-JQ?t!"(BHTTP $B%X%C%@!"%?%$%`%9%?%s%W!"(B - $B$5$i$K30It%G!<%?%Y!<%9$N8!:w7k2L$^$G$rI>2A$NBP>]$H$7$F!"(B - $B3F<o$N%U%)!<%^%C%H$r;H$C$?:YN3EY$N(B URL $B%^%C%A%s%0$r<B8=$G$-$^$9!#(B - </p> - - <p>$B$3$N%b%8%e!<%k$O!"%5!<%PC10L$N%3%s%F%-%9%H(B - (<code>httpd.conf</code>) $B$*$h$S%G%#%l%/%H%jC10L$N%3%s%F%-%9%H(B - (<code>.htaccess</code>) $B$K$*$$$F(B (PATH-INFO $BItJ,$r4^$`(B) $B%U%k(B - URL $B$KBP$9$kA`:n$r9T$$$^$9$,!"(B - $B$5$i$K7k2L$H$7$F%/%(%j!<J8;zNsItJ,$r@8@.$9$k$3$H$b$G$-$^$9!#(B - $B=PNO$5$l$?7k2L$rFbIt$N%5%V%W%m%;%9$d30It%j%/%(%9%H$N%j%@%$%l%/%7%g%s!"(B - $B$5$i$K$OFbIt$N%W%m%-%7=hM}%k!<%A%s$KEO$9$3$H$b$G$-$^$9!#(B - </p> - - <p>$B$?$@!"$3$l$i$9$Y$F$N5!G=$d=@Fp@-$,!"(B - $B7gE@$G$"$kJ#;($5$N85$K$b$J$C$F$$$^$9!#$J$N$G!"$3$N%b%8%e!<%k(B - $BA4BN$r0lF|DxEY$G3P$($h$&$J$I$H$O;W$o$J$$$[$&$,$$$$$G$7$g$&!#(B - </p> - - <p>$B$3$N%b%8%e!<%k$O(B 1996 $BG/$N(B 4 $B7n$K(B</p> - - <blockquote> - <a href="http://www.engelschall.com/"><code>Ralf S. - Engelschall</code></a><br /> - <a - href="mailto:rse@engelschall.com"><code>rse@engelschall.com</code></a><br /> - <a - href="http://www.engelschall.com/"><code>www.engelschall.com</code></a> - </blockquote> - - <p>$B$i$K$h$j9M0F$5$l$F%*%j%8%J%k$,=q$+$l!"(B<br /> - 1997 $BG/$N(B 7 $B7n$K!"(BThe Apache Group - $B$KBP$7$FFH@jE*$KB#Dh$5$l$^$7$?!#(B</p> - <hr noshade="noshade" size="1" /> - - <h2>$BL\<!(B</h2> - - <p><strong>$BFbIt=hM}(B</strong></p> - - <ul> - <li><a href="#InternalAPI">API $B%U%'!<%:(B</a></li> - - <li><a href="#InternalRuleset">$B%k!<%k%;%C%H=hM}(B</a></li> - - <li><a href="#InternalBackRefs">$B@55,I=8=$N8eJ};2>H$,2DG=(B</a></li> - </ul> - - <p><strong>$B@_Dj%G%#%l%/%F%#%V(B</strong></p> - - <ul> - <li><a href="#RewriteEngine">RewriteEngine</a></li> - - <li><a href="#RewriteOptions">RewriteOptions</a></li> - - <li><a href="#RewriteLog">RewriteLog</a></li> - - <li><a href="#RewriteLogLevel">RewriteLogLevel</a></li> - - <li><a href="#RewriteLock">RewriteLock</a></li> - - <li><a href="#RewriteMap">RewriteMap</a></li> - - <li><a href="#RewriteBase">RewriteBase</a></li> - - <li><a href="#RewriteCond">RewriteCond</a></li> - - <li><a href="#RewriteRule">RewriteRule</a></li> - </ul> - <strong>$B$=$NB>(B</strong> - - <ul> - <li><a href="#EnvVar">$B4D6-JQ?t(B</a></li> - - <li><a href="#Solutions">$B<BNc(B</a></li> - </ul> - <hr noshade="noshade" size="1" /> - - <center> - <h1><a id="Internal" name="Internal">$BFbIt=hM}(B</a></h1> - </center> - <hr noshade="noshade" size="1" /> - - <p>$B$3$N%b%8%e!<%k$NFbIt=hM}$O$H$F$bJ#;($G$9$,!"(B - $B$"$j$,$A$J%_%9$rHr$1!"$^$?A45!G=$r3hMQ$G$-$k$h$&$K!"(B - $BJ?6QE*%f!<%6$KBP$7$F$b0lEY$O@bL@$7$F$*$/I,MW$,$"$j$^$9!#(B - </p> - - <h2><a id="InternalAPI" name="InternalAPI">API $B%U%'!<%:(B</a></h2> - - <p>$B$^$:$O!"(BApache $B$,(B HTTP $B%j%/%(%9%H$r=hM}$9$k:]$K!"(B - $B$3$N%b%8%e!<%k$,$3$N%U%'!<%:$G9T$&$3$H$rM}2r$7$F$*$+$J$1$l$P$J$j$^$;$s!#(B - Apache API $B$G$O!"$3$l$i$N3F%U%'!<%:$KBP$9$k%U%C%/$,Ds6!$5$l$F$$$^$9!#(B - mod_rewrite $B$O0J2<$NFs$D$N%U%C%/$r;H$$$^$9(B: HTTP - $B%j%/%(%9%H$,FI$^$l$?8e$G$+$D$9$Y$F$NG'>Z$,3+;O$5$l$kA0$K;H$o$l$k(B - URL-to-filename $BJQ49%U%C%/!"$=$7$F!"G'>Z%U%'!<%:$N8e$G(B - $B%G%#%l%/%H%j$4$H$N@_Dj%U%!%$%k(B (<code>.htaccess</code>) - $B$,FI$^$l$?8e!"$^$@(B content $B%O%s%I%i$,M-8z$K$J$kA0$K5/F0$5$l$k(B - Fixup $B%U%C%/$G$9!#(B - </p> - - <p>$B$=$7$F!"$"$k%j%/%(%9%H$,F~$C$FMh$F!"(BApache $B$,$3$l$KBP1~$9$k%5!<%P(B - ($B<c$7$/$O%P!<%A%c%k%5!<%P(B) $B$r7hDj$7$?8e$K!"=q$-49$(%(%s%8%s$O!"(B - $B%5!<%P$4$H$N@_Dj$r85$K!"(BURL-to-filename $B%U%'!<%:$G$9$Y$F$N(B - mod_rewrite $B%G%#%l%/%F%#%V$N=hM}$r3+;O$7$^$9!#(B - $B$=$N8eB?>/$N%9%F%C%W$r7P$F:G8e$N%G!<%?%G%#%l%/%H%j$,8+$D$+$C$?;~!"(B - $B%G%#%l%/%H%j$4$H$N(B mod_rewrite $B@_Dj%G%#%l%/%F%#%V$,(B Fixup - $B%U%'!<%:$G5/F0$5$l$^$9!#(B - $B$3$N3F!9$N%?%$%_%s%0$N4V$KFC$KL@$i$+$J0c$$$O$J$$$N$G$9$,!"$=$l$G$b(B - mod_rewrite $B$O$$$:$l$N;~$K$b3F(B URL $B$r?7$7$$(B URL - $B$^$?$O%U%!%$%kL>$K=q$-49$($^$9!#$3$l$O$3$N(B API - $B$,%G%6%$%s$5$l$?;~$KA[Dj$5$l$?;H$$J}$G$O$J$$$N$G$9$,!"(BApache 1.x - $B$K$*$$$F$O$3$l$,(B mod_rewrite $B$,F0$1$kM#0l$NJ}K!$G$7$?!#(B - $B$3$NE@$r$h$j$O$C$-$j$5$;$k$?$a$K!"0J2<$N(B 2 - $BE@$K$D$$$F3P$($F$*$$$F$/$@$5$$(B:</p> - - <ol> - <li>mod_rewrite $B$O(B URL $B$r(B URL $B$X!"(BURL $B$r%U%!%$%kL>$X!"(B - $B$5$i$K%U%!%$%kL>$r%U%!%$%kL>$X$H=q$-49$($^$9$,!"(BAPI - $B$G$O8=:_$N$H$3$m(B URL-to-filename $B%U%C%/$N$_$rDs6!$7$F$$$^$9!#(B - Apache 2.0 $B$G$O$=$l$^$G$K$O$J$+$C$?Fs$D$N%U%C%/$,DI2C$5$l!"(B - $B=hM}$,$h$jL@3N$K$J$j$^$7$?!#(B - $B$7$+$7$3$NE@$G$O%f!<%6$K$H$C$F$NITMx1W$O$J$/!"(B - $BC1$K3P$($F$*$/$Y$-;v<B$H$7$F$O(B: Apache $B$O(B URL-to-filename - $B%U%C%/$K$*$$$F(B API $B$,0U?^$9$k0J>e$N$3$H$r9T$$$^$9!#(B</li> - - <li>mod_rewrite $B$G$O!"?.$8$i$l$J$$$3$H$K!"(BURL - $B$,%U%!%$%kL>$KJQ49$5$l$F$+$i$:$C$H8e$KC)$jCe$/$H$3$m$K$"$k!"(B - $B%G%#%l%/%H%j$4$H$N%3%s%F%-%9%H(B<em>$B$9$J$o$A(B</em> - <code>.htaccess</code> $B%U%!%$%k$NCf$G(B URL - $BA`:n$r9T$($k$h$&$K$J$C$F$$$9!#(B<code>.htaccess</code> - $B%U%!%$%k$O%U%!%$%k%7%9%F%`Cf$K$"$k$?$a$K(B - $B=hM}$NN.$l$O$9$G$K$3$NCJ3,$^$GE~C#$7$F$$$k$N$G!"(B - $B$3$N$h$&$K$J$C$F$$$k$N$G$9!#$D$^$j$3$N;~E@$G(B API - $B%U%'!<%:$K=>$($P!"$I$N(B URL - $B$rA`:n$9$k$K$b4{$KCY$-$K<:$7$F$$$k$N$G$9!#(B - $B$3$N7\$HMqLdBj$rBG3+$9$k$?$a!"(Bmod_rewrite - $B$G$O$A$g$C$H$7$?%H%j%C%/$r;H$C$F$$$^$9(B: - $B%G%#%l%/%H%j$4$H$N%3%s%F%-%9%H$G(B URL / $B%U%!%$%kL>$NA`:n$r9T$&:]!"(B - mod_rewrite $B$O$^$:%U%!%$%kL>$rBP1~$9$k(B URL $B$KLa$7(B - ($B$3$l$ODL>oIT2DG=$G$9$,!"$3$l$r2DG=$K$9$k%H%j%C%/$K$D$$$F$O(B - <code>RewriteBase</code> $B$r8+$F$/$@$5$$(B) $B!"$=$N?7$7$$(B URL - $B$GFbItE*$K?7$7$$%5%V%j%/%(%9%H$r@8@.$7$F$$$k$N$G$9!#$3$l$G(B - API $B%U%'!<%:=hM}$,:FEY5/F0$5$l$^$9!#(B - - <p>$B$3$N$h$&$K!"(Bmod_rewrite $B$OJ#;($J%9%F%C%W$r(B - $B%f!<%6$KBP$7$FA4HL$KF)2aE*$K$7$h$&$H$,$s$P$C$F$$$^$9$,!"(B - $B$H$j$"$($:0J2<$N$3$H$O3P$($F$*$/$Y$-$G$7$g$&(B: - $B%5!<%P$4$H$N%3%s%F%-%9%H$K$*$1$k(B URL - $BA`:n$OHs>o$K9bB.$G$+$D8zN($,NI$$$N$KBP$7!"(B - $B%G%#%l%/%H%j$4$H$N=q$-49$($O!"(B - $B$3$N7\$HMq$NLdBj$N$?$aCY$$>e$KDc8zN($G$9!#$7$+$7$3$l$O!"(B - mod_rewrite $B$,$4$/J?6QE*$J%f!<%6$KDs6!$G$-$k!"(B - ($B%m!<%+%k$K@)8B$5$l$?(B) URL $BA`:n$N$?$a$NM#0l$NJ}K!$J$N$G$9!#(B - </p> - </li> - </ol> - - <p>$B$3$l$iFs$D$NE@$rK:$l$J$$$G$/$@$5$$(B!</p> - - <h2><a id="InternalRuleset" - name="InternalRuleset">$B%k!<%k%;%C%H=hM}(B</a></h2> - $B$3$l$iFs$D$N(B API $B%U%'!<%:$G(B mod_rewrite $B$,5/F0$5$l$k$H!"(B - mod_rewrite $B$O$^$:<+J,<+?H$N@_DjMQ9=B$BN(B - ($B$3$l$O5/F0;~$N%5!<%P$4$H$N%3%s%F%-%9%H$+!"(BApache - $B%+!<%M%k$,%G%#%l%/%H%j4V$rC5:w$9$kESCf$N%G%#%l%/%H%j$4$H$N(B - $B%3%s%F%-%9%H$+!"$N$$$:$l$+$K$h$j@8@.$5$l$k(B) - $B$h$j9=@.$5$l$?%k!<%k%;%C%H$rFI$_9~$_$^$9!#$=$7$F$=$NCf$KF~$C$F$$$k(B - $B%k!<%k%;%C%H(B ($B>r7o$rH<$&0l$D0J>e$N%k!<%k$N=8$^$j(B)$B$H$H$b$K(B URL - $B=q$-49$(%(%s%8%s$,3+;O$5$l$^$9!#(BURL $B=q$-49$(%(%s%8%s<+BN$O!"(B - $BAPJ}$N@_Dj%3%s%F%-%9%H$GA4$/F1$8$h$&$KF0:n$7$^$9!#(B - $B:G=*7k2L$N=hM}$,0[$J$k$@$1$G$9!#(B - - <p>$B%k!<%k%;%C%HCf$N%k!<%k$N=q$-=g$O=EMW$G$9!#(B - $B$3$l$O!"=q$-49$(%(%s%8%s$O$=$l$i$rFCJL$J(B - ($B$+$D!"$"$^$jJ,$+$j$d$9$$$H$O8@$($J$$(B) $B=g=x$G=hM}$9$k$+$i$G$9!#(B - $B%k!<%k$O0J2<$N$h$&$K=hM}$5$l$^$9(B: $B=q$-49$(%(%s%8%s$O%k!<%k(B - (<code>RewriteRule</code>$B%G%#%l%/%F%#%V(B) $B$r0l$D$:$D$J$a$J$,$i(B - $B%k!<%k%;%C%HCf$r%k!<%W$7$^$9$,!"$"$k%k!<%k$,%^%C%A$7$?$i!"(B - $B$=$l$KBP1~$9$k>r7o(B (<code>RewriteCond</code>$B%G%#%l%/%F%#%V(B) - $B$,$"$k4V$=$NCf$r%k!<%W$7$^$9!#(B - $BNr;KE*$JM}M3$K$h$j$^$:>r7o$,M?$($i$l$k$?$a!"(B - $B@)8f%U%m!<$,$A$g$C$H$/$I$/$J$C$F$$$^$9!#>\:Y$O?^(B 1 - $B$r$4Mw$/$@$5$$!#(B</p> - - <div align="center"> - <table cellspacing="0" cellpadding="2" border="0"> - <tr> - <td bgcolor="#CCCCCC"><img - src="../images/mod_rewrite_fig1.gif" width="428" - height="385" - alt="[$BI=<($9$k$K$O%0%i%U%#%C%/5!G=$,I,MW$G$9(B]" /></td> - </tr> - - <tr> - <td align="center"><strong>$B?^(B 1:</strong> - $B=q$-49$(%k!<%k%;%C%H$K$*$1$k@)8f%U%m!<(B</td> - </tr> - </table> - </div> - - <p>$B$b$&$*J,$+$j$N$h$&$K!"$^$:(B URL $B$r3F%k!<%k$N(B <em>Pattern</em> - $B$KBP$7$F%^%C%A%s%0$7$^$9!#%^%C%A$7$J$$>l9g!"(Bmod_rewrite - $B$O$9$0$K$3$N%k!<%k$N=hM}$rCf;_$7$F<!$N%k!<%k$r8+$K9T$-$^$9!#(B - <em>Pattern</em> $B$K%^%C%A$9$k$H!"(Bmod_rewrite - $B$O$=$l$KBP1~$9$k>r7o$rC5$7$^$9!#$b$72?$b$J$1$l$P!"C1$K(B URL - $B$r(B <em>Substitution</em> $BJ8;zNs$+$i:n$i$l$??7$7$$CM$KCV49$7!"(B - $B%k!<%k$N%k!<%W$rB3$1$^$9!#2?$i$+$N>r7o$,$"$l$PFbIt%k!<%W$r3+;O$7!"(B - $B$=$l$i$N>r7o$,Ns5s$5$l$F$$$k=g$K=hM}$r7+$jJV$7$^$9!#(B - $B>r7oJ8$N>l9g$O%m%8%C%/$,0[$J$j$^$9(B: $B8=:_$N(B URL - $B$KBP$7$F$O%Q%?!<%s$N%^%C%A%s%0$r9T$$$^$;$s!#$=$NBe$o$j!"(B - $B$^$:JQ?t$rE83+$7!"8eJ};2>H$r9T$$!"(B - $B8!:w%F!<%V%k$r%^%C%T%s%0$9$k(B<em>$B$J$I(B</em>$B$7$F(B<em>$B%F%9%HJ8;zNs(B</em> - $B$r@8@.$7!"$=$l$KBP$7$F(B<em>$B>r7o%Q%?!<%s(B</em>$B$H$N%^%C%A%s%0$r9T$$$^$9!#(B - $B%Q%?!<%s$K%^%C%A$7$J$$>l9g!">r7o$NAH$_9g$o$;A4BN$H$=$l$KBP1~$9$k(B - $B%k!<%k$O@.N)$7$J$$$3$H$K$J$j$^$9!#%Q%?!<%s$K%^%C%A$7$?>l9g!"(B - $B<!$N>r7o$,I>2A$5$l!"$=$l$,>r7o$N$"$k8B$j7+$jJV$5$l$^$9!#(B - $B$b$7$9$Y$F$N>r7o$K%^%C%A$9$l$P!"(BURL $B$O(B <em>Substitution</em> - $BJ8;zNs$KCV49$5$l!"=hM}$,7QB3$5$l$^$9!#(B</p> - - <h2><a id="quoting" name="quoting">$BFC<lJ8;z$N%/%&%)!<%H(B</a></h2> - - <p>Apache 1.3.20 $B$G$O!"(B<em>$B%F%9%HJ8;zNs(B</em>$B$H(B <em>Substitution</em> - $BJ8;zNs$NCf$NFC<lJ8;z$O!"$=$ND>A0$K%P%C%/%9%i%C%7%e(B ('\') - $B$rCV$/$3$H$G%(%9%1!<%W(B ($B$9$J$o$A!"$=$l$i$N;}$DFC<l$J0UL#$rBG$A>C$7$F!"(B - $BDL>o$NJ8;z$H$7$F07$&$3$H(B) $B$G$-$k$h$&$K$J$C$F$$$^$9!#(B - $BNc$($P!"(B<em>$BCV49BP>](B</em>$BJ8;zNs$NCf$G$b(B '<code>\$</code>' - $B$H$$$&J8;zNs$r;H$C$FK\Mh$N%I%k5-9f$rF~$l$k$3$H$,$G$-$k$o$1$G$9!#(B - $B$3$l$K$h$j!"(Bmod_rewrite - $B$,$=$l$r8eJ};2>H$H$7$F07$*$&$H$9$k$N$rKI$0$3$H$,$G$-$k$o$1$G$9!#(B - </p> - - <h2><a id="InternalBackRefs" - name="InternalBackRefs">$B@55,I=8=$N8eJ};2>H$r;H$&(B</a></h2> - $B$3$3$G$R$H$D3P$($F$*$$$FM_$7$$$3$H$,$"$j$^$9(B: <em>Pattern</em> - $B$NCf$d(B <em>CondPattern</em> $B$N$&$A$N$I$3$+$G3g8L$r;H$($P!"J8;zNs(B - <code>$N</code> $B$H(B <code>%N</code> - $B$G;H$($k8eJ};2>H$,FbItE*$K@8@.$5$l$^$9(B ($B8e=R(B)$B!#$3$l$i$O(B - <em>Substitution</em> - $BJ8;zNs$d(B<em>$B%F%9%HJ8;zNs(B</em>$B$r@8@.$9$k$N$K;H$($^$9!#?^(B 2 - $B$G$O!"$3$N8eJ};2>H$,E>Aw$5$l$FE83+$5$l$k>l=j$K$D$$$F2r@b$7$^$9!#(B - - <div align="center"> - <table cellspacing="0" cellpadding="2" border="0"> - <tr> - <td bgcolor="#CCCCCC"><img - src="../images/mod_rewrite_fig2.gif" width="381" - height="179" - alt="[$BI=<($9$k$K$O%0%i%U%#%C%/5!G=$,I,MW$G$9(B]" /></td> - </tr> - - <tr> - <td align="center"><strong>$B?^(B 2:</strong> - $B%k!<%k$rDL$7$?8eJ};2>H$NN.$l(B</td> - </tr> - </table> - </div> - - <p>$B$3$l$^$G$O(B mod_rewrite - $B$NFbIt=hM}$K4X$9$kC;4|=8Cf%3!<%9$G$7$?!#(B - $B$3$3$+$i$O;HMQ2DG=$J%G%#%l%/%F%#%V$K4X$9$k$3$H$,=q$+$l$F$$$^$9!#(B - $B$=$l$i$rFI$`$H$-$K$3$3$^$G$NCN<1$,LrN)$D$O$:$G$9!#(B</p> - <hr noshade="noshade" size="1" /> - - <center> - <h1><a id="Configuration" - name="Configuration">$B@_Dj%G%#%l%/%F%#%V(B</a></h1> - </center> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteEngine" - name="RewriteEngine">RewriteEngine</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B=q<0(B:</strong></a> RewriteEngine - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>RewriteEngine - off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B%*!<%P!<%i%$%I(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache - 1.2<br /> - - <p><code>RewriteEngine</code> $B%G%#%l%/%F%#%V$r;H$&$H!"(B - $B<B9T;~$N=q$-49$(%(%s%8%s$rM-8z$K$7$?$jL58z$K$7$?$j$G$-$^$9!#$3$l$,(B - <code>off</code> $B$K@_Dj$5$l$F$$$k$H!"$3$N%b%8%e!<%k$O<B9T;~$N(B - $B=hM}$r0l@Z9T$$$^$;$s!#$^$?(B <code>SCRIPT_URx</code> - $B4D6-JQ?t$N99?7$5$($b$7$J$/$J$j$^$9!#(B</p> - - <p><code>RewriteRule</code> $B$rA4It%3%a%s%H%"%&%H$7$?$j$7$J$$$G!"(B - $B$3$N%G%#%l%/%F%#%V$r;H$C$F$/$@$5$$$M!#(B</p> - - <p>$B%G%U%)%k%H$G$O!"(Brewrite $B$N@_Dj$O7Q>5$5$l$J$$$N$GCm0U$7$F$/$@$5$$!#(B - $B$D$^$j!"$3$N5!G=$r;H$$$?$$$H;W$&%P!<%A%c%k%[%9%H$4$H$K(B - <code>RewriteEngine on</code> - $B%G%#%l%/%F%#%V$r=q$+$J$1$l$P$$$1$J$$$H$$$&$3$H$G$9!#(B</p> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteOptions" - name="RewriteOptions">RewriteOptions</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B=q<0(B:</strong></a> RewriteOptions - <em>$B%*%W%7%g%s(B</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>RewriteOptions - MaxRedirects=10</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B%*!<%P!<%i%$%I(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache - 1.2$B!#(B<code>MaxRedirects</code> $B$O(B Apache 1.3.28 $B0J9_$G;HMQ2DG=(B<br /> - - <p><code>RewriteOptions</code> $B%G%#%l%/%F%#%V$O!"(B - $B8=:_$N%5!<%PC10L$b$7$/$O%G%#%l%/%H%jC10L$N@_Dj$G;HMQ$9$k!"(B - $BFCJL$J%*%W%7%g%s$r%;%C%H$7$^$9!#(B - <em>Option</em> $BJ8;zNs$O0J2<$N$$$:$l$+$G$9(B:</p> - - <dl> - <dt><code>inherit</code></dt> - <dd>$B$3$l$O!"8=:_$N@_DjCM$r?F$N@_DjCM$+$i6/@)E*$K7Q>5$5$;$^$9!#(B - $B$3$l$K$h$j!"2>A[%5!<%PC10L$N%3%s%F%-%9%H$K$*$$$F!"(B - $B%a%$%s%5!<%P$N%^%C%W!">r7o!"%k!<%k$,7Q>5$5$l$k$3$H$K$J$j$^$9!#(B - $B$^$?!"%G%#%l%/%H%jC10L$N%3%s%F%-%9%H$G$O!"?F%G%#%l%/%H%j$N(B - <code>.htaccess</code> - $B@_Dj$K5-=R$5$l$F$$$k>r7o$d%k!<%k$,7Q>5$5$l$k$3$H$K$J$j$^$9!#(B</dd> - - <dt><code>MaxRedirects=<var>number</var></code></dt> - <dd>$B%G%#%l%/%H%jKh$N(B <code>RewriteOptions</code> $B$K$h$kFbIt%j%@%$%l%/%H$N(B - $BL58B%k!<%W$rKI$0$?$a$K!"(B<code>mod_rewrite</code> $B$O%j%@%$%l%/%H$N(B - $B>e8B$KC#$9$k$H%j%/%(%9%H$rCf;_$7!"(B500 Internal Server Error $B$r1~Ez$H$7$F(B - $BJV$7$^$9!#0l$D$N%j%/%(%9%H$KBP$7$FK\Ev$K(B 10 $B$r1[$($k%j%@%$%l%/%H$,I,MW$J(B - $B>l9g$O!"K>$_$NCM$^$GA}2C$5$;$k$3$H$,$G$-$^$9!#(B</dd> - </dl> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteLog" name="RewriteLog">RewriteLog</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B=q<0(B:</strong></a> RewriteLog - <em>file-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>$B$J$7(B</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B%*!<%P!<%i%$%I(B:</strong></a> <em>$BE,MQIT2D(B</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache - 1.2<br /> - - $B!!(B<p><code>RewriteLog</code> $B%G%#%l%/%F%#%V$O!"(B - $B9T$J$o$l$?$9$Y$F$N=q$-49$(F0:n$r(B - $B%5!<%P$,%m%0$K=q$-9~$`$?$a$N(B - $B%U%!%$%kL>$r@_Dj$7$^$9!#$3$NL>A0$,%9%i%C%7%e(B - ('<code>/</code>') $B$G;O$^$i$J$$>l9g$O(B <em>Server Root</em> - $B$+$i$NAjBP%Q%9$G$"$k$H8+$J$5$l$^$9!#$3$N%G%#%l%/%F%#%V$O(B - $B%5!<%PC10L$N@_Dj$NCf$G0lEY$@$15-=R$5$l$k$Y$-$b$N$G$9!#(B</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BCm0U(B</strong>: - $B=q$-49$(F0:n$N%m%.%s%0$rM^@)$9$k$?$a$K(B <em>file-path</em> $B$r(B - <code>/dev/null</code> $B$K$9$k$N$O$*4+$a$G$-$^$;$s!#$3$l$O!"(B - $B=q$-49$(%(%s%8%s$O<B:]$K$O%m%0%U%!%$%k$X$N=PNO$r9T$o$J$$$N$K!"(B - $BL$$@FbItE*$K$O%m%0%U%!%$%k$X$N=PNO$r@8@.$7$F$$$k$+$i$G$9!#(B - <strong>$B$3$l$O4IM}<T$K2?$NMxE@$b$b$?$i$5$:$K(B - $B%5!<%P$N%Q%U%)!<%^%s%9$rDc2<$5$;$k$@$1$G$9(B!</strong> - $B%m%.%s%0$rM^;_$9$k>l9g$O(B <code>RewriteLog</code> - $B%G%#%l%/%F%#%V$r%3%a%s%H%"%&%H$9$k$+!"(B - <code>RewriteLogLevel 0</code> $B$r;H$&$h$&$K$7$F$/$@$5$$(B!</td> - </tr> - </table> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$B%;%-%e%j%F%#(B</strong>: - $B%m%0%U%!%$%k$r3JG<$9$k%G%#%l%/%H%j$,!"(B - $B%5!<%P$r5/F0$9$k%f!<%60J30$K$b=q$-9~$_2DG=$G$"$k>l9g$K!"(B - $B$J$<%;%-%e%j%F%#$,6<$+$5$l$k$+$K$D$$$F$N>\$7$$@bL@$O!"(B - <a href="../misc/security_tips.html">Apache $B$N%;%-%e%j%F%#$N(B - $B$3$D(B</a> $B%I%-%e%a%s%H$r$4Mw$/$@$5$$!#(B</td> - </tr> - </table> - - <p><strong>$BNc(B:</strong></p> - - <blockquote> -<pre> -RewriteLog "/usr/local/var/apache/logs/rewrite.log" -</pre> - </blockquote> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteLogLevel" - name="RewriteLogLevel">RewriteLogLevel</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B=q<0(B:</strong></a> RewriteLogLevel - <em>Level</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> - <code>RewriteLogLevel 0</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B%*!<%P!<%i%$%I(B:</strong></a> <em>$BE,MQIT2D(B</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache - 1.2<br /> - - <p><code>RewriteLogLevel</code> $B%G%#%l%/%F%#%V$G$O!"(B - $B=q$-49$(MQ$N%m%0%U%!%$%k$N>iD9%l%Y%k$r;XDj$7$^$9!#(B - $B%G%U%)%k%H$N%l%Y%k$O(B - 0 $B$G!"$3$l$O0l@Z%m%0$r=q$+$J$$$3$H$r0UL#$7$^$9!#0lJ}(B 9 - $B$b$7$/$O$=$l0J>e$r;XDj$9$k$H!"(B - $B;v<B>e$[$H$s$I$9$Y$F$NF0:n$K$D$$$F%m%0$,<}=8$5$l$^$9!#(B</p> - - <p>$B=q$-49$($N%m%0$r<h$i$J$$$h$&$K$9$k$K$O!"C1$K(B - <em>Level</em> $B$r(B 0 - $B$K$7$^$9!#$3$l$G=q$-49$($K4X$9$k$9$Y$F$N%m%0$,L58z$H$J$j$^$9!#(B - </p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BCm0U(B:</strong> <em>Level</em> - $B$KBg$-$JCM$r;XDj$9$k$H!"(BApache $B%5!<%P$NF0:nB.EY$,7`E*$KDc2<$7$^$9(B! - $B=q$-49$(;~$N%m%0%U%!%$%k$G(B <em>Level</em> $B$K(B 2 - $B0J>e$NCM$r;XDj$9$k$N$O%G%P%C%0;~$N$_$K$7$F$*$$$F$/$@$5$$(B!</td> - </tr> - </table> - - <p><strong>$BNc(B:</strong></p> - - <blockquote> -<pre> -RewriteLogLevel 3 -</pre> - </blockquote> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteLock" - name="RewriteLock">RewriteLock</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B=q<0(B:</strong></a> RewriteLock - <em>file-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>$B$J$7(B</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B%*!<%P!<%i%$%I(B:</strong></a> <em>$BE,MQIT2D(B</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache - 1.3<br /> - - <p>$B$3$N%G%#%l%/%F%#%V$O!"(Bmod_rewrite $B$,(B <samp>RewriteMap</samp> - <em>$B%W%m%0%i%`(B</em>$B$HDL?.$9$k$N$KI,MW$J!"(B - $BF14|MQ%m%C%/%U%!%$%k$NL>A0$r%;%C%H$7$^$9!#(BRewriteMap $B$G(B - $B%W%m%0%i%`$r;H$$$?$$>l9g$K$O!"$3$N%m%C%/%U%!%$%k$K(B(NFS - $B%^%&%s%H$5$l$?%G%P%$%9$G$O$J$/(B)$B%m!<%+%k%Q%9$r@_Dj$7$^$9!#(B - $B$=$l0J30$N%?%$%W$N(B RewriteMap $B$r;H$&>l9g$K$O!"(B - $B@_Dj$9$kI,MW$O$"$j$^$;$s!#(B</p> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteMap" name="RewriteMap">RewriteMap</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B=q<0(B:</strong></a> RewriteMap - <em>MapName</em> <em>MapType</em>:<em>MapSource</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a>$B%G%U%)%k%H$G$O;HMQ$5$l$J$$(B - <br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B%*!<%P!<%i%$%I(B:</strong></a> <em>$BE,MQIT2D(B</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 - ($B0lIt$N$_(B), Apache 1.3<br /> - - - <p><code>RewriteMap</code> $B%G%#%l%/%F%#%V$O!"(B - $B%^%C%T%s%04X?t$r;H$C$F%k!<%kCV49J8;zNs$NFbIt$G;H$($k(B - <em>$B=q$-49$(%^%C%W(B</em>$B$rDj5A$7$^$9!#$3$l$K$h$j!"(B - $B%-!<$r8!:w$9$k:]$K!"%U%#!<%k%I$rA^F~$7$?$jCV49$7$?$j$G$-$^$9!#(B - $B8!:wBP>]$K$O$$$m$$$m$J%?%$%W$,;H$($^$9!#(B</p> - - <p><a id="mapfunc" name="mapfunc"><em>MapName</em></a> - $B$O%^%C%W$NL>A0$G$9!#0J2<$N=q<0$N$I$A$i$+$K$h$j!"(B - $B=q$-49$(%k!<%k$NCV49J8;zNs$G;H$o$l$k(B - $B%^%C%T%s%04X?t$r;XDj$9$k$N$K;H$o$l$^$9!#(B</p> - - <blockquote> - <strong><code>${</code> <em>MapName</em> <code>:</code> - <em>LookupKey</em> <code>}</code><br /> - <code>${</code> <em>MapName</em> <code>:</code> - <em>LookupKey</em> <code>|</code> <em>DefaultValue</em> - <code>}</code></strong> - </blockquote> - $B$3$N$h$&$J=q<0$,8=$l$k$H!"(B<em>MapName</em> $B$H$$$&L>A0$N%^%C%W$NCf$N%-!<(B - <em>LookupKey</em> $B$,8!:w$5$l$^$9!#(B - $B%-!<$,8+$D$+$l$P!"$3$N%^%C%W4X?t$N=q<0$NItJ,$O(B <em>SubstValue</em> - $B$K$h$jCV49$5$l$^$9!#%-!<$,8+$D$+$i$J$$>l9g!"(B - <em>DefaultValue</em> $B$,$"$l$P$=$l$GCV49$5$l!"(B<em>DefaultValue</em> - $B$,;XDj$5$l$F$$$J$1$l$P6uJ8;zNs$KCV49$5$l$^$9!#(B - - <p>$B0J2<$N$h$&$J(B <em>MapType</em> $B$H(B <em>MapSource</em> - $B$r;H$C$?AH$_9g$o$;$r;HMQ$G$-$^$9(B:</p> - - <ul> - <li> - <strong>$BI8=`$N%W%l!<%s%F%-%9%H(B</strong><br /> - MapType: <code>txt</code>, MapSource: - Unix $B%U%!%$%k%7%9%F%`$NM-8z$JDL>o%U%!%$%k$X$N%Q%9(B - - <p>$B$3$l$OI8=`$N=q$-49$(%^%C%W5!G=$G$9!#(B - <em>MapSource</em> $B$O6uGr9T$d%3%a%s%H9T(B($B9TF,$,(B - '#' $BJ8;z$G;O$^$k9T(B)$B!"<c$7$/$O0J2<$N$h$&$J(B - $B%Z%"$,0l9TKh$K=q$+$l$F$$$k$h$&$JIaDL$N(B ASCII - $B%U%!%$%k$G$9!#(B</p> - - <blockquote> - <strong><em>MatchingKey</em> - <em>SubstValue</em></strong> - </blockquote> - - <p>$BNc(B:</p> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -## -## map.txt -- rewriting map -## - -Ralf.S.Engelschall rse # Bastard Operator From Hell -Mr.Joe.Average joe # Mr. Average -</pre> - </td> - </tr> - </table> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -RewriteMap real-to-user txt:/path/to/file/map.txt -</pre> - </td> - </tr> - </table> - </li> - - <li> - <strong>$B%i%s%@%`$J%W%l!<%s%F%-%9%H(B</strong><br /> - MapType: <code>rnd</code>, MapSource: - Unix $B%U%!%$%k%7%9%F%`$NM-8z$JDL>o%U%!%$%k$X$N%Q%9(B - - <p>$B$3$l$OA0=R$NI8=`%W%l!<%s%F%-%9%H$H$[$\F1$8$G$9$,!"$=$l$K2C$($F(B - $B@lMQ$N8e=hM}5!G=$r;}$C$F$$$^$9(B: $BCM$r8!:w$7$?8e!"$=$NCM$O(B ``or'' - $B$N0UL#$r;}$D(B ``<code>|</code>'' $BJ8;z$K$7$?$,$C$F%Q!<%9$5$l$^$9!#(B - $B$D$^$j$3$l$i$OJQ498uJd$rMeNs$7$F$*$j!"(B - $B<B:]$KJV$5$l$kCM$O$3$l$i$NCf$+$i%i%s%@%`$KA*$P$l$^$9!#(B - $B$3$l$O0l8+L/$J46$8$,$7$F0UL#$,$J$5$=$&$K;W$($^$9$,!"(B - $B<B:]$K8!:w$7$?CM$,%5!<%PL>$K$J$k$h$&$J(B - $B%j%P!<%9%W%m%-%7$rMQ$$$?Ii2YJ,;6MQ$K(B - $B@_7W$5$l$F$$$^$9!#(B - $BNc$($P(B:</p> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -## -## map.txt -- rewriting map -## - -static www1|www2|www3|www4 -dynamic www5|www6 -</pre> - </td> - </tr> - </table> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -RewriteMap servers rnd:/path/to/file/map.txt -</pre> - </td> - </tr> - </table> - </li> - - <li> - <strong>$B%O%C%7%e%U%!%$%k(B</strong><br /> - MapType: <code>dbm</code>, MapSource: - Unix $B%U%!%$%k%7%9%F%`$NM-8z$JDL>o%U%!%$%k$X$N%Q%9(B - - <p>$B%U%!%$%k$NFbMF$N0UL#$O(B<em>$B%W%l!<%s%F%-%9%H(B</em>$B%U%)!<%^%C%H(B - $B$HF1$8$G$9$,!"(B - $B9bB.$J8!:w$r9T$&$?$a$K:GE,2=$,;\$5$l$?(B - NDBM $B%U%)!<%^%C%H$H$$$&%P%$%J%j%U%!%$%k(B - $B$r%=!<%9$H$7$F;H$&$3$H$b$G$-$^$9!#$3$N$h$&$J%U%!%$%k$O!"(B - NDBM $B%D!<%k$r;H$C$?$j!"0J2<$N$h$&$J(B perl - $B%9%/%j%W%H$r;H$C$F:n$k$3$H$,$G$-$^$9!#(B</p> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -#!/path/to/bin/perl -## -## txt2dbm -- convert txt map to dbm format -## - -use NDBM_File; -use Fcntl; - -($txtmap, $dbmmap) = @ARGV; - -open(TXT, "<$txtmap") or die "Couldn't open $txtmap!\n"; -tie (%DB, 'NDBM_File', $dbmmap,O_RDWR|O_TRUNC|O_CREAT, 0644) or die "Couldn't create $dbmmap!\n"; - -while (<TXT>) { - next if (/^\s*#/ or /^\s*$/); - $DB{$1} = $2 if (/^\s*(\S+)\s+(\S+)/); -} - -untie %DB; -close(TXT); -</pre> - </td> - </tr> - </table> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -$ txt2dbm map.txt map.db -</pre> - </td> - </tr> - </table> - </li> - - <li> - <strong>$BFbIt4X?t(B</strong><br /> - MapType: <code>int</code>, MapSource: $BFbIt(B Apache $B4X?t(B - - <p>$B%=!<%9$H$7$F!"FbIt(B Apache $B4X?t$r;H$&$3$H$b$G$-$^$9!#(B - $B8=;~E@$G$O%(%s%I%f!<%6$,<+J,MQ$KFH<+$N$b$N$r:n$k$3$H$O$G$-$^$;$s$,!"(B - $B0J2<$N$b$N$,MQ0U$5$l$F$$$^$9!#(B</p> - - <ul> - <li><strong>toupper</strong>:<br /> - $B8+$D$+$C$?%-!<$r$9$Y$FBgJ8;z$KJQ49$9$k!#(B</li> - - <li><strong>tolower</strong>:<br /> - $B8+$D$+$C$?%-!<$r$9$Y$F>.J8;z$KJQ49$9$k!#(B</li> - - <li><strong>escape</strong>:<br /> - $B8+$D$+$C$?%-!<$NCf$NFC<lJ8;z$r(B 16 - $B?J%(%s%3!<%G%#%s%0$KJQ49$9$k!#(B</li> - - <li><strong>unescape</strong>:<br /> - $B8+$D$+$C$?%-!<$NCf$N(B 16 $B?J%(%s%3!<%G%#%s%0$rFC<lJ8;z$KLa$9!#(B</li> - </ul> - </li> - - <li> - <strong>$B30It$N=q$-49$(%W%m%0%i%`(B</strong><br /> - MapType: <code>prg</code>, MapSource: - Unix $B%U%!%$%k%7%9%F%`$NM-8z$JDL>o%U%!%$%k$X$N%Q%9(B - - <p>$B%=!<%9$K$O%^%C%W%U%!%$%k0J30$K%W%m%0%i%`$r;H$&$3$H$b$G$-$^$9!#(B - $B%W%m%0%i%`$O9%$-$J8@8l$rA*Br$9$k$3$H$,$G$-$^$9$,!"(B - $B:n@.$5$l$?$b$N$O<B9T2DG=%U%!%$%k(B - (<em>$B$9$J$o$A(B</em>$B%*%V%8%'%/%H%3!<%I!"<c$7$/$O(B 1 $B9TL\$K(B ' - <code>#!/path/to/interpreter</code>' - $B$N$h$&$J%^%8%C%/%/%C%-!<%H%j%C%/$NF~$C$?%9%/%j%W%H(B) - $B$G$J$1$l$P$J$j$^$;$s!#(B</p> - - <p>$B$3$N%W%m%0%i%`$O(B Apache $B%5!<%P$N5/F0;~$K0lEY$@$15/F0$5$l!"(B - <code>stdin</code> $B$*$h$S(B <code>stdout</code> - $B%U%!%$%k%O%s%I%k$rDL$7$F!"=q$-49$(%(%s%8%s$H$N$d$j$H$j$r9T$$$^$9!#(B - $B$3$N%W%m%0%i%`$O!"3F!9$N%^%C%W4X?t$N8!:w$N$?$S$K!"(B - $B8!:wBP>]$N%-!<$r!"2~9TJ8;z$G=*C<$5$l$?J8;zNs$H$7$F(B - <code>stdin</code> $B$+$i<u$1<h$j$^$9!#(B - $B$=$7$F!"CM$,8+$D$+$l$P2~9TJ8;z$G=*C<$5$l$?J8;zNs$rJV$7!"(B - $B8+$D$+$i$J$1$l$P(B - (<em>$B$9$J$o$A(B</em>$B!"M?$($i$l$?%-!<$KBP1~$9$kCM$,$J$$(B)$B!"(B - 4 $BJ8;z$NJ8;zNs(B ``<code>NULL</code>'' $B$rJV$5$J$1$l$P$J$j$^$;$s!#(B - 1:1 $B$N%^%C%W(B(<em>$B$9$J$o$A(B</em>$B%-!<(B == $BCM(B) - $B$r<B8=$9$kC1=c$J%W%m%0%i%`Nc$H$7$F$O!"0J2<$N$h$&$K$J$j$^$9(B:</p> - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -#!/usr/bin/perl -$| = 1; -while (<STDIN>) { - # ...put here any transformations or lookups... - print $_; -} -</pre> - </td> - </tr> - </table> - - <p>$B$7$+$7!"==J,$K5$$r$D$1$F$[$7$$$3$H$,$"$j$^$9(B:<br /> - </p> - - <ol> - <li>``<em>Keep it simple, stupid - ($BC1=c$J$^$^$K$7$F$*$1!"GO</LnO:(B!)$B!W(B</em>'' (KISS) - $B$H$$$&86B'$K=>$C$F$/$@$5$$!#$b$7$3$N%W%m%0%i%`$,%O%s%0$7$F$7$^$&$H!"(B - $B$=$N%k!<%k$,8=$l$?=V4V$K(B Apache - $B%5!<%P<+BN$,%O%s%0$7$F$7$^$$$^$9!#(B</li> - - <li>$B$"$j$,$A$J4V0c$$$H$7$F$O(B: <code>stdout</code> - $B$KBP$7$F%P%C%U%!$5$l$?F~=PNO$r;H$C$F$O$J$j$^$;$s(B! - $B$3$l$r$d$k$HL58B%k!<%W$K%O%^$C$F$7$^$$$^$9(B! - $B$@$+$i>e$N%3!<%I$G$b(B ``<code>$|=1</code>'' - $B$H$d$C$F$k$s$G$9!D!#(B</li> - - <li><samp>RewriteLock</samp> - $B%G%#%l%/%F%#%V$r;H$C$F%m%C%/%U%!%$%k$rDj5A$7!"(Bmod_rewrite - $B$,Ev3:%W%m%0%i%`$X$NDL?.$KF14|$r<h$l$k$h$&$K$7$F$/$@$5$$!#(B - $B%G%U%)%k%H$G$O$=$N$h$&$JF14|$O9T$o$l$^$;$s!#(B</li> - </ol> - </li> - </ul> - <code>RewriteMap</code> $B%G%#%l%/%F%#%V$O2?EY$G$b=q$/$3$H$,$G$-$^$9!#(B - $B%^%C%T%s%04X?t$4$H$K(B <code>RewriteMap</code> - $B$r;H$C$F=q$-49$(MQ%^%C%W%U%!%$%k$r@k8@$7$^$9!#(B - $B%G%#%l%/%H%j$N%3%s%F%-%9%HFbIt$G%^%C%W$r(B<strong>$B@k8@$9$k(B</strong> - $B$3$H$O$G$-$^$;$s$,!"%G%#%l%/%H%j$N%3%s%F%-%9%H$G$3$N%^%C%W$r(B - <strong>$B;H$&(B</strong>$B$3$H$O$b$A$m$s2DG=$G$9!#(B - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BCm0U(B:</strong> $B%W%l!<%s%F%-%9%H$H(B DBM $B%U%)!<%^%C%H(B - $B$N%U%!%$%k$K4X$7$F$O!"%^%C%W%U%!%$%k$N(B <code>mtime</code> - $B$,JQ99$5$l$k$+$^$?$O%5!<%P$,:F5/F0$5$l$k$^$G!"(B - $B8!:w$5$l$?%-!<$O%a%b%jFb$K%-%c%C%7%e$5$l$^$9!#(B - $B$G$9$+$i!"(B<strong>$BKh2s$N(B</strong>$B%j%/%(%9%H$G;H$o$l$k(B - $B%^%C%W4X?t$r%k!<%kFb$K=q$/$3$H$,$G$-$^$9!#(B - $B30It8!:w$O0lEY$7$+9T$o$l$J$$$N$G!"$3$l$G$bBg>fIW$J$N$G$9!#(B</td> - </tr> - </table> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteBase" - name="RewriteBase">RewriteBase</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B=q<0(B:</strong></a> RewriteBase - <em>URL-path</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>$B%G%U%)%k%H$OJ*M}(B - $B%G%#%l%/%H%j$N%Q%9(B</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%G%#%l%/%H%j(B, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B%*!<%P!<%i%$%I(B:</strong></a> - <em>FileInfo</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache - 1.2<br /> - - <p><code>RewriteBase</code> - $B%G%#%l%/%F%#%V$O!"%G%#%l%/%H%j$4$H$N=q$-49$($K$*$$$F%Y!<%9$H$J$k(B - URL $B$rL@<(E*$K;XDj$9$k$b$N$G$9!#0J2<$G<($9$h$&$K!"(B - <code>RewriteRule</code> $B$O%G%#%l%/%H%j$4$H$N@_Dj%U%!%$%k(B - (<code>.htaccess</code>) $B$G;H$($^$9!#(B - $B$=$3$G$O!"$3$l$O%m!<%+%k$K?6$kIq$$$^$9!#(B<em>$B$9$J$o$A(B</em>$B!"(B - $B$3$N=hM}CJ3,$G$O%m!<%+%k%G%#%l%/%H%j$N@\F,<-$,<h$j=|$+$l!"(B - $B$=$N;D$j$NItJ,$KBP$7$F$N$_=q$-49$(%k!<%k$,E,MQ$5$l$^$9!#(B - $B$=$7$F=q$-49$(8e!"<h$j=|$+$l$?ItJ,$,:FEY<+F0E*$K%Q%9$KIU2C$5$l$^$9!#(B - </p> - - <p>$B?7$7$$(B URL $B$KBP$9$kCV49$,H/@8$9$k$H!"$3$N%b%8%e!<%k$OEv3:(B URL - $B$r%5!<%P=hM}$K:FEjF~$7$J$1$l$P$J$j$^$;$s!#$3$l$r9T$&$K$O!"BP1~$9$k(B - URL $B$N@\F,<-!"<c$7$/$O(B URL - $B$N%Y!<%9$,2?$J$N$+$rCN$kI,MW$,$"$j$^$9!#(B - $B%G%U%)%k%H$G$O$3$N@\F,<-$O%U%!%$%k%Q%9$=$N$b$N$KBP1~$7$F$$$^$9!#(B - <strong>$B$7$+$7$J$,$i!"$[$H$s$I$N(B Web $B%5%$%H$G$O(B URL - $B$OJ*M}E*$J%U%!%$%kL>$N%Q%9$rD>@\;X$7$F$$$k(B *$B$o$1$G$O$J$$(B* - $B$N$G!"0lHLE*$K$3$N2>Dj$O4V0c$C$F$$$k$3$H$K$J$j$^$9(B</strong>$B!#(B - $B$=$N$?$a!"(B<code>RewriteBase</code> $B%G%#%l%/%F%#%V$r;H$C$F@5$7$$(B - URL $B$N@\F,<-$r;XDj$7$F$d$i$J$1$l$P$J$i$J$$$N$G$9!#(B</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BCm0U(B:</strong> $B$b$7$"$J$?$N(B Web $B%5!<%P$N(B URL - $B$,J*M}E*$J%U%!%$%k%Q%9$rD>@\;X$7$F$$$k$N$G(B<strong>$B$J$1(B</strong>$B$l$P!"(B - <code>RewriteRule</code> - $B%G%#%l%/%F%#%V$r;H$*$&$H$7$F$$$k%G%#%l%/%H%j$9$Y$F$K$*$$$F!"3F(B - <code>.htaccess</code> $B%U%!%$%k$G(B <code>RewriteBase</code> - $B%G%#%l%/%F%#%V$r;H$o$J$1$l$P$J$j$^$;$s!#(B</td> - </tr> - </table> - - <p><strong>$BNc(B:</strong></p> - - <blockquote> - $B0J2<$O!"%G%#%l%/%H%j$4$H$N@_Dj%U%!%$%k$@$H;W$C$F$/$@$5$$!'(B - - <table border="0" cellspacing="1" cellpadding="5" - bgcolor="#F0F0F0"> - <tr> - <td> -<pre> -# -# /abc/def/.htaccess -- $B%G%#%l%/%H%j(B /abc/def $B$N$?$a$N%G%#%l%/%H%jJL@_Dj%U%!%$%k(B -# $B;29M!'(B/abc/def $B$O(B $B%Q%9(B /xyz $B$NJ*M}%Q%9L>$G$"$k!#(B<em>$B$9$J$o$A(B</em>$B%5!<%P$K$O(B -# 'Alias /xyz /abc/def' <em>$B$H$$$C$?(B</em>$B%G%#%l%/%F%#%V$N@_Dj$,$"$k!#(B -# - -RewriteEngine On - -# $BJ*M}E*$J%Q%9$N@\F,<-$G$"$k(B /abc/def $B$G$J$/!"(B/xyz $B$rDL$7$F(B -# $B%"%/%;%9$7$F$$$k$3$H$r%5!<%P$KCN$i$;$k!#(B -RewriteBase /xyz - -# $B$3$l$,=q$-49$(%k!<%k(B -RewriteRule ^oldstuff\.html$ newstuff.html -</pre> - </td> - </tr> - </table> - - <p>$B>e5-$NNc$G$O!"(B<code>/xyz/oldstuff.html</code> - $B$X$N%j%/%(%9%H$GJ*M}%U%!%$%k(B <code>/abc/def/newstuff.html</code> - $B$X$N@5$7$$=q$-49$(A`:n$,9T$o$l$^$9!#(B</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td> - <font size="-1"><strong>Apache - $B%O%C%+!<$N$?$a$NCm<a(B:</strong><br /> - $B0J2<$N%j%9%H$G<($7$F$$$k$N$O!"(B - $BFbIt=hM}%9%F%C%W$K4X$9$k>\:Y>pJs$G$9(B:</font> -<pre> -<font size="-1">$B%j%/%(%9%H(B: - /xyz/oldstuff.html - -$BFbIt=hM}!'(B - /xyz/oldstuff.html -> /abc/def/oldstuff.html (per-server Alias) - /abc/def/oldstuff.html -> /abc/def/newstuff.html (per-dir RewriteRule) - /abc/def/newstuff.html -> /xyz/newstuff.html (per-dir RewriteBase) - /xyz/newstuff.html -> /abc/def/newstuff.html (per-server Alias) - -$B=hM}7k2L!'(B - /abc/def/newstuff.html -</font> -</pre> - <font size="-1">$B$3$l$OHs>o$KJ#;($K8+$($k$b$N$N!"(BApache - $B$NFbIt=hM}$K4X$9$k@5$7$$F0$-$G$9!#$J$<$J$i!"(B - $B%G%#%l%/%H%jC10L$N=q$-49$(A`:n$O=hM}$NCf$K$*$$$F(B - $BMh$k$N$,CY$9$.$k$+$i$G$9!#$=$N$?$a=q$-49$($,9T$J$o$l$k$H!"(B - ($B=q$-49$($,9T$o$l$?(B)$B%j%/%(%9%H$O(B Apache - $B%+!<%M%k$NCf$K:FEjF~$5$l$J$1$l$P$J$j$^$;$s(B! - $B$7$+$7(B: $B$3$l$O?<9o$J%*!<%P!<%X%C%I$rH<$&$h$&$K8+$($k$b$N$N!"(B - $B<B:]$K$OBg$7$?;v$O$"$j$^$;$s!#$3$N:FEjF~$O40A4$K(B - Apache $B%5!<%P$NFbIt$G5/$3$k;v$G$"$j!"(BApache - $B$NFbIt$K$*$1$k$=$NB>$NB?$/$NF0:nCf$K$bF1MM$N$3$H$,(B - $B5/$3$C$F$$$k$+$i$G$9!#$J$N$G!"(B - $B$3$N@_7W$H<BAu$O@5$7$$$b$N$J$N$G$9!#(B - </font> - </td> - </tr> - </table> - </blockquote> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteCond" - name="RewriteCond">RewriteCond</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B=q<0(B:</strong></a> RewriteCond - <em>TestString</em> <em>CondPatter</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>$B$J$7(B</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B%*!<%P!<%i%$%I(B:</strong></a> - <em>FileInfo</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 - ($BItJ,E*$K(B), Apache 1.3<br /> - - - <p><code>RewriteCond</code> $B%G%#%l%/%F%#%V$O%k!<%k>r7o$rDj5A$7$^$9!#(B - <code>RewriteRule</code> $B%G%#%l%/%F%#%V$NA0$K0l$D0J>e$N(B - <code>RewriteCond</code> $B%G%#%l%/%F%#%V$rCV$/$3$H$,$G$-$^$9!#(B - $B$=$l0J9_$N=q$-49$(%k!<%k$O!"$=$N%Q%?!<%s$,8=:_$N(B URI - $B$N>uBV$H%^%C%A$7!"(B<strong>$B$+$D(B</strong>$B$3$l$i$NDI2C>r7o$,(B - $BE,MQ$5$l$k>l9g$K$N$_;H$o$l$^$9!#(B</p> - - <p><em>TestString</em>$B$OJ8;zNs$G$"$j!"%W%l!<%s%F%-%9%H$K2C$(!"(B - $B0J2<$N3HD%9=B$$r;}$D$3$H$,$G$-$^$9(B:</p> - - <ul> - <li> - <strong>RewriteRule $B8eJ};2>H(B</strong>: - $B$3$N=q<0$G!"8eJ};2>H$rI=$7$^$9!#(B - - <blockquote> - <strong><code>$N</code></strong> - </blockquote> - (0 <= N <= 9) $B$3$l$O!"BP1~$9$k(B <code>RewriteRule</code> - $B%G%#%l%/%F%#%V(B($B8=:_$N(B<code>RewriteCond</code> - $B%G%#%l%/%F%#%V$N%V%m%C%/$N<!$K$"$k$b$N(B)$B$N(B - ($B3g8L$G0O$s$G(B)$B%0%k!<%W2=$5$l$?%Q%?!<%s$X$N%"%/%;%9$rDs6!$7$^$9!#(B - </li> - - <li> - <strong>RewriteCond $B8eJ};2>H(B</strong>: - $B$3$N=q<0$G!"8eJ};2>H$rI=$7$^$9!#(B - - <blockquote> - <strong><code>%N</code></strong> - </blockquote> - (1 <= N <= 9) - $B$3$l$O!"8=:_$N>r7o%V%m%C%/$NCf$G(B<code>RewriteCond</code> $B%G%#%l%/%F%#%V(B - $B$K:G8e$K%^%C%A$7$?(B - ($B3g8L$G0O$s$G(B)$B%0%k!<%W2=$5$l$?%Q%?!<%s$X$N%"%/%;%9$rDs6!$7$^$9!#(B - </li> - - <li> - <strong>RewriteMap $B3HD%(B</strong>: - $B$3$N=q<0$G!"3HD%$rI=$7$^$9!#(B - - <blockquote> - <strong><code>${mapname:key|default}</code></strong> - </blockquote> - $B>\:Y$O(B <a href="#mapfunc">RewriteMap - $B$N%I%-%e%a%s%H(B</a>$B$r;2>H$N$3$H!#(B - </li> - - <li> - <strong>$B%5!<%PJQ?t(B</strong>: $B0J2<$OJQ?t$rI=$7$^$9!#(B - - <blockquote> - <strong><code>%{</code> <em>$BJQ?tL>(B</em> - <code>}</code></strong> - </blockquote> - <em>$BJQ?tL>(B</em>$B$O0J2<$N0lMw$K$"$kJ8;zNs$N$$$:$l$+$G$9(B: - - <table bgcolor="#F0F0F0" cellspacing="0" cellpadding="5"> - <tr> - <td valign="top"> - <strong>HTTP $B%X%C%@(B:</strong> - - <p><font size="-1">HTTP_USER_AGENT<br /> - HTTP_REFERER<br /> - HTTP_COOKIE<br /> - HTTP_FORWARDED<br /> - HTTP_HOST<br /> - HTTP_PROXY_CONNECTION<br /> - HTTP_ACCEPT<br /> - </font></p> - </td> - - <td valign="top"> - <strong>$B%3%M%/%7%g%s(B & $B%j%/%(%9%H(B:</strong> - - <p><font size="-1">REMOTE_ADDR<br /> - REMOTE_HOST<br /> - REMOTE_USER<br /> - REMOTE_IDENT<br /> - REQUEST_METHOD<br /> - SCRIPT_FILENAME<br /> - PATH_INFO<br /> - QUERY_STRING<br /> - AUTH_TYPE<br /> - </font></p> - </td> - </tr> - - <tr> - <td valign="top"> - <strong>$B%5!<%PFbItJQ?t(B:</strong> - - <p><font size="-1">DOCUMENT_ROOT<br /> - SERVER_ADMIN<br /> - SERVER_NAME<br /> - SERVER_ADDR<br /> - SERVER_PORT<br /> - SERVER_PROTOCOL<br /> - SERVER_SOFTWARE<br /> - </font></p> - </td> - - <td valign="top"> - <strong>$B%7%9%F%`4XO"(B:</strong> - - <p><font size="-1">TIME_YEAR<br /> - TIME_MON<br /> - TIME_DAY<br /> - TIME_HOUR<br /> - TIME_MIN<br /> - TIME_SEC<br /> - TIME_WDAY<br /> - TIME<br /> - </font></p> - </td> - - <td valign="top"> - <strong>$BFC<l$J$b$N(B:</strong> - - <p><font size="-1">API_VERSION<br /> - THE_REQUEST<br /> - REQUEST_URI<br /> - REQUEST_FILENAME<br /> - IS_SUBREQ<br /> - </font></p> - </td> - </tr> - </table> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td> - <p><strong>$BCm0U(B:</strong> - $B$3$l$i$NJQ?t$O!"$9$Y$FF1MM$NL>A0$r;}$D(B HTTP MIME $B%X%C%@$d(B - Apache $B%5!<%P$N(B C $BJQ?t!"$^$?$O(B Unix $B%7%9%F%`$N(B - <code>struct tm</code> $B%U%#!<%k%I$KBP1~$7$^$9!#(B - $B$[$H$s$I$N$b$N$O!"%^%K%e%"%k$d(B CGI - $B;EMM$N$I$3$+$K@bL@$,$"$j$^$9!#$3$NCf$G(B mode_rewrite - $B$GFCJL$J0UL#$r;}$D$b$N$K0J2<$N$b$N$,$"$j$^$9(B:</p> - - <dl> - <dt><code>IS_SUBREQ</code></dt> - - <dd>$B$3$l$O!"%5%V%j%/%(%9%H$r=hM}Cf$O(B "true" - $B$K!"$=$&$G$J$1$l$P(B "false" $B$K$J$j$^$9!#(B - $BM?$($i$l$?%?%9%/$r40N;$9$k$?$a$KDI2C$N%U%!%$%k$d(B URI - $B$r2r7h$9$kI,MW$,$"$k%b%8%e!<%k$O!"(B - $B%5%V%j%/%(%9%H$r@8@.$9$k>l9g$,$"$j$^$9!#(B</dd> - - <dt><code>API_VERSION</code></dt> - - <dd>$B$3$l$O8=:_$N(B httpd $B$N%S%k%I$K$*$1$k(B Apache - $B%b%8%e!<%k(B API($B%5!<%P$H%b%8%e!<%k4V$NFbIt%$%s%?!<%U%'!<%9(B) - $B$N%P!<%8%g%s$G$"$j!"(Binclude/ap_mmn.h $B$GDj5A$5$l$F$$$^$9!#(B - $B%b%8%e!<%k(B API $B$N%P!<%8%g%s$O;HMQ$7$F$$$k(B Apache - $B$N%P!<%8%g%s(B($BNc$($P(B Apche 1.3.14 $B$G$"$l$P(B - 19990320:10) $B$KBP1~$7$^$9$,!"(B - $B$3$l$O<g$K%b%8%e!<%k$N:n<T$,4X?4$r;}$D$b$N$G$9!#(B</dd> - - <dt><code>THE_REQUEST</code></dt> - - <dd>$B%V%i%&%6$+$i%5!<%P$KAw$i$l$?(B HTTP - $B%j%/%(%9%H$N40A4$J$b$N(B($BNc$($P!"(B - "<code>GET /index.html HTTP/1.1</code>")$B!#(B - $B$3$l$K$O!"%V%i%&%6$+$iAw$i$l$?DI2C%X%C%@$O0l@Z4^$_$^$;$s!#(B - </dd> - - <dt><code>REQUEST_URI</code></dt> - - <dd>HTTP $B%j%/%(%9%H9T$G%j%/%(%9%H$5$l$?%j%=!<%9(B - ($B>e5-$NNc$G$O(B "/index.html" $B$,$=$l$K$"$?$j$^$9(B)$B!#(B</dd> - - <dt><code>REQUEST_FILENAME</code></dt> - - <dd>$B%j%/%(%9%H$K%^%C%A$7$?%U%!%$%k$^$?$O%9%/%j%W%H$N!"(B - $B40A4$J%m!<%+%k%U%!%$%k%7%9%F%`$N%Q%9!#(B</dd> - </dl> - </td> - </tr> - </table> - </li> - </ul> - - <p>$B9MN8;v9`(B:</p> - - <ol> - <li>SCRIPT_FILENAME $B$*$h$S(B REQUEST_FILENAME $B$K$OF1$8L>A0!"(B - <em>$B$9$J$o$A(B</em>$B!"(BApache $B%5!<%P$N(B <code>request_rec</code> - $BFbIt9=B$BN$NCf$N(B <code>filename</code> - $B%U%#!<%k%I$NCM$,F~$C$F$$$^$9!#A0<T$OC1$K$h$/CN$i$l$F$$$k(B CGI - $BJQ?tL>$G$"$k$N$KBP$7!"8e<T$O(B (<code>request_rec</code> - $B%U%#!<%k%I$N(B <code>uri</code> $B$NCM$,F~$C$F$$$k(B)REQUEST_URI - $B$KBP1~$9$k$b$N$G$9!#(B</li> - - <li><em>$BJQ?t(B</em>$B$KG$0U$N4D6-JQ?t$r;XDj$G$-$kFCJL$J=q<0(B - <code>%{ENV:$BJQ?t(B}</code> - $B$,$"$j$^$9!#$3$l$O(B Apache - $B$NFbIt9=B$BN<c$7$/$O(B($B$=$3$KB8:_$7$J$1$l$P(B)Apache - $B%5!<%P%W%m%;%9$,H/9T$9$k(B <code>getenv()</code> - $B$rDL$7$F8!:w$5$l$^$9!#(B</li> - - <li> - <em>$B%X%C%@(B</em>$B$KG$0U$N(B HTTP MIME $B%X%C%@L>$r;XDj$G$-$kFCJL$J=q<0(B - <code>%{HTTP:$B%X%C%@(B}</code>$B$,$"$j$^$9!#$3$l$O(B - HTTP $B%j%/%(%9%H$+$i8!:w$5$l$^$9!#(B - $BNc(B: <code>%{HTTP:Proxy-Connection}</code> $B$O(B HTTP $B%X%C%@$N(B - ``<code>Proxy-Connection:</code>'' $B$NCM$G$9!#(B</li> - - <li>$BA0J};2>H$r9T$J$C$FFbIt$N(B(URL $B%Y!<%9$N(B) - $B%5%V%j%/%(%9%H$r<B9T$7$F(B<em>$BJQ?t(B</em>$B$N:G=*CM$r7hDj$9$kFCJL$J=q<0(B - <code>%{LA-U:$BJQ?t(B}</code> $B$,$"$j$^$9!#(B - $B<B:]$K$O(B API $B%U%'!<%:$N8e$N$[$&$G%;%C%H$5$l$k$?$a$K!"(B - $B8=;~E@$G$O%"%/%;%9$G$-$J$$$h$&$JJQ?t$r;H$C$F=q$-49$($r(B - $B9T$J$$$?$$>l9g$K;HMQ$7$^$9!#Nc$($P!"%5!<%PC10L$N%3%s%F%-%9%H(B - (<code>httpd.conf</code> $B%U%!%$%k(B) $B$G(B <code>REMOTE_USER</code> - $BJQ?t$K$7$?$,$C$F=q$-49$($r9T$$$?$$>l9g$K$O!"(B - <code>%{LA-U:REMOTE_USER}</code> - $B$r;HMQ$7$J$1$l$P$J$j$^$;$s!#$J$<$J$i!"$3$NJQ?t$O(B mod_rewrite - $B$,F0:n$9$k(B URL $BJQ49%U%'!<%:$N(B<em>$B8e(B</em>$B$K$"$kG'>Z%U%'!<%:$G(B - $B%;%C%H$5$l$k$b$N$@$+$i$G$9!#0lJ}!"%G%#%l%/%H%jC10L$N%3%s%F%-%9%H(B - (<code>.htaccess</code> $B%U%!%$%k(B) $B$G$O!"(Bmod_rewrite $B$O(B API $B$N(B Fixup - $B%U%'!<%:$rDL$7$F<BAu$5$l$F$*$j!"(B - $BG'>Z%U%'!<%:$O$3$N%U%'!<%:$N(B<em>$BA0(B</em>$B$K9T$J$o$l$k$?$a!"(B - $B$=$3$G$OC1$K(B <code>%{REMOTE_USER}</code> - $B$H$9$k$3$H$,$G$-$k$^$9!#(B</li> - - <li>$BFbIt$N(B($B%U%!%$%kL>%Y!<%9$N(B) - $B%5%V%j%/%(%9%H$r<B9T$7$F(B<em>$BJQ?t(B</em>$B$N:G=*CM$r7hDj$9$kFCJL$J=q<0(B - <code>%{LA-F:$BJQ?t(B}</code> $B$,$"$j$^$9!#(B - $B$[$H$s$I$N>l9g$3$l$OA0=R$N(B LA-U $B$HF1$8$G$9!#(B</li> - </ol> - - <p><em>CondPattern</em> $B$O!">r7o%Q%?!<%s$G!"(B - $B8=:_$N(B <em>TestString</em> $B$N<BBN$KBP$7$FE,MQ$5$l$k@55,I=8=$G$9!#(B - <em>TestString</em> $B$OI>2A$5$l$?8e$K(B <em>CondPattern</em>$B$KBP$7$F(B - $B%^%C%A%s%0$,9T$J$o$l$^$9!#(B</p> - - <p><strong>$BHw9M(B:</strong> <em>CondPattern</em>$B$O!"(B - $BI8=`$N(B<em>$B3HD%@55,I=8=(B</em>$B$K$$$/$D$+DI2C$r9T$C$?$b$N$G$9(B:</p> - - <ol> - <li>'<code>!</code>' $BJ8;z(B($B%(%/%9%/%i%a!<%7%g%s%^!<%/(B) - $B$r%Q%?!<%sJ8;zNs$NA0$K$D$1$k$3$H$G!"(B - $B%^%C%A(B<strong>$B$7$J$$(B</strong>$B%Q%?!<%s$r;XDj$G$-$^$9!#(B</li> - - <li> - <em>CondPattern</em> $B$N$A$g$C$H$7$?JQ<o$b$"$j$^$9!#(B - $B<B:]$N@55,I=8=J8;zNs$NBe$o$j$K0J2<$N$h$&$K;H$&$3$H$,$G$-$^$9(B: - - <ul> - <li>'<strong><CondPattern</strong>' - ($B;z6g$NJB$SE*$K!"$h$j>.$5$$(B)<br /> - <em>CondPattern</em> $B$rC1$J$kJ8;zNs$H$7$F07$$!"(B - $B;z6g$NJB$S$H$7$F(B <em>TestString</em> $B$HHf3S$7$^$9!#(B - <em>TestString</em> $B$,;z6g$NJB$S$H$7$F(B - <em>CondPattern</em> $B$h$j>.$5$$>l9g$K??$K$J$j$^$9!#(B</li> - - <li>'<strong>>CondPattern</strong>' - ($B;z6g$NJB$SE*$K!"$h$jBg$-$$(B)<br /> - <em>CondPattern</em> $B$rC1$J$kJ8;zNs$H$7$F07$$!"(B - $B;z6g$NJB$S$H$7$F(B <em>TestString</em> $B$HHf3S$7$^$9!#(B - <em>TestString</em> $B$,;z6g$NJB$S$H$7$F(B - <em>CondPattern</em> $B$h$jBg$-$$>l9g$K??$K$J$j$^$9!#(B</li> - - <li>'<strong>=CondPattern</strong>' - ($B;z6g$NJB$SE*$KEy$7$$(B)<br /> - <em>CondPattern</em> $B$rC1$J$kJ8;zNs$H$7$F07$$!"(B - $B;z6g$NJB$S$H$7$F(B <em>TestString</em> $B$HHf3S$7$^$9!#(B - <em>TestString</em> $B$,;z6g$NJB$S$H$7$F(B - <em>CondPattern</em> $B$HEy$7$$>l9g!"$9$J$o$A!"Fs$D$NJ8;zNs$,(B - (1 $BJ8;z$:$DHf3S$7$F(B)$B@53N$KEy$7$$>l9g$K??$K$J$j$^$9!#(B - $B$b$7(B <em>CondPattern</em> $B$,C1$J$k(B<samp>""</samp> - ($BFs$D$N0zMQId(B)$B$G$"$l$P!"(B - <em>TestString</em> $B$O6uJ8;zNs$HHf3S$5$l$^$9!#(B</li> - - <li>'<strong>-d</strong>' ($B%G%#%l%/%H%j(B (<strong>d</strong>irectory))<br /> - <em>TestString</em> $B$r%Q%9L>$H$7$F07$$!"$=$l$,B8:_$7$F!"(B - $B$+$D%G%#%l%/%H%j$G$"$l$P??!#(B</li> - - <li>'<strong>-f</strong>' ($BDL>o$N%U%!%$%k(B (<strong>f</strong>ile))<br /> - <em>TestString</em> $B$r%Q%9L>$H$7$F07$$!"$=$l$,B8:_$7$F!"(B - $B$+$DDL>o$N%U%!%$%k$G$"$l$P??!#(B</li> - - <li>'<strong>-s</strong>' ($BBg$-$5(B (<strong>s</strong>ize) - $B$N$"$kDL>o$N%U%!%$%k(B)<br /> - <em>TestString</em> $B$r%Q%9L>$H$7$F07$$!"$=$l$,B8:_$7$F!"(B - $B$+$DBg$-$5$,(B 0 $B$h$jBg$-$$DL>o%U%!%$%k$G$"$l$P??!#(B</li> - - <li>'<strong>-l</strong>' ($B%7%s%\%j%C%/%j%s%/(B - (symbolic <strong>l</strong>ink))<br /> - <em>TestString</em> $B$r%Q%9L>$H$7$F07$$!"$=$l$,B8:_$7$F!"(B - $B$+$D%7%s%\%j%C%/%j%s%/$G$"$l$P??!#(B</li> - - <li>'<strong>-F</strong>' ($B%5%V%j%/%(%9%H$rDL$7$?4{B8%U%!%$%k(B) - <br /> - <em>TestString</em> $B$,M-8z$J%U%!%$%k$G$"$k$3$H!"(B - $B$=$7$F$3$N%5!<%P$K$*$$$F!"8=;~E@$G@_Dj$5$l$F$$$k$9$Y$F$N(B - $B%"%/%;%9@)8f$rDL$7$F!"$=$N%Q%9L>$G%"%/%;%9$G$-$k$+$I$&$+$r(B - $B%A%'%C%/$7$^$9!#$3$l$OFbIt$N%5%V%j%/%(%9%H$r;H$C$F(B - $B%A%'%C%/$r9T$&$N$G!"Cm0U$7$F;H$o$J$$$H%5!<%P$N(B - $B%Q%U%)!<%^%s%9$rDc2<$5$;$k$3$H$K$J$j$+$M$^$;$s(B!</li> - - <li>'<strong>-U</strong>' ($B%5%V%j%/%(%9%H$rDL$7$?4{B8(B URL) - <br /> - <em>TestString</em> $B$,M-8z$J(B URL $B$G$"$k$3$H!"(B - $B$=$7$F$3$N%5!<%P$K$*$$$F!"8=;~E@$G@_Dj$5$l$F$$$k$9$Y$F$N(B - $B%"%/%;%9@)8f$rDL$7$F!"$=$N%Q%9L>$G%"%/%;%9$G$-$k$+$I$&$+$r(B - $B%A%'%C%/$7$^$9!#$3$l$OFbIt$N%5%V%j%/%(%9%H$r;H$C$F(B - $B%A%'%C%/$r9T$&$N$G!"Cm0U$7$F;H$o$J$$$H%5!<%P$N(B - $B%Q%U%)!<%^%s%9$rDc2<$5$;$k$3$H$K$J$j$+$M$^$;$s(B!</li> - </ul> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BCm0U(B: </strong>$B0J>e$9$Y$F$N%F%9%H$K$D$$$F!"(B - $B%(%/%9%/%i%a!<%7%g%s%^!<%/(B ('!') $B$rA0$KCV$/$3$H$K$h$j(B - $B$=$l$i$N0UL#$rH]Dj$7$?%^%C%A%s%0$r9T$J$&$3$H$,$G$-$^$9!#(B</td> - </tr> - </table> - </li> - </ol> - - <p>$B$5$i$K!"(B<code>RewriteCond</code> - $B%G%#%l%/%F%#%V$X$NBh;00z?t$H$7$F(B <em>CondPattern</em> $B$KFCJL$J(B</p> - - <blockquote> - <strong><code>[</code><em>$B%U%i%0(B</em><code>]</code></strong> - </blockquote> - $B$rDI2C$9$k$3$H$,$G$-$^$9(B - <em>$B%U%i%0(B</em>$B$O0J2<$N$b$N$r%+%s%^6h@Z$j$GJB$Y$?$b$N$G$9(B: - - <ul> - <li>'<strong><code>nocase|NC</code></strong>' - (<strong>n</strong>o <strong>c</strong>ase)<br /> - $B$3$l$OBgJ8;z>.J8;z$r6hJL$;$:$K%F%9%H$7$^$9!#(B<em>$B$9$J$o$A!"(B</em> - $BE83+$5$l$?(B<em>TestString</em> $B$H(B <em>CondPattern</em> $B$K$*$$$F!"(B - 'A-Z' $B$*$h$S(B 'a-z' $B$N4V$K$O0c$$$O$J$$$b$N$H8+$J$5$l$^$9!#(B - $B$3$N%U%i%0$O(B<em>TestString</em> $B$H(B <em>CondPattern</em> $B$N4V$N(B - $BHf3S$K$*$$$F$N$_M-8z$G$9!#%U%!%$%k%7%9%F%`>e$*$h$S%5%V%j%/%(%9%H(B - $B$N%A%'%C%/$G$O0UL#$r;}$A$^$;$s!#(B</li> - - <li> - '<strong><code>ornext|OR</code></strong>' - (<strong>or</strong> next condition)<br /> - $B%k!<%k>r7o$r7k9g$9$k$K$"$?$j!"0EL[$N(B AND $B$NBe$o$j$K%m!<%+%k$N(B - OR $B$r;H$$$^$9!#E57?E*$JNc$H$7$F!"0J2<$r;2>H$7$F$/$@$5$$!'(B - - <blockquote> -<pre> -RewriteCond %{REMOTE_HOST} ^host1.* [OR] -RewriteCond %{REMOTE_HOST} ^host2.* [OR] -RewriteCond %{REMOTE_HOST} ^host3.* -RewriteRule ...$B$3$l$i$N%[%9%H$K4X$9$kFCJL$J=hM}(B -</pre> - </blockquote> - $B$3$N%U%i%0$r;H$o$J$$>l9g$O!">r7o(B/$B%k!<%k$r(B - 3 $B2s=q$/$3$H$K$J$C$F$7$^$$$^$9!#(B - </li> - </ul> - - <p><strong>$B;HMQNc(B:</strong></p> - - <blockquote> - $B%j%/%(%9%H$NCf$N(B ``<code>User-Agent:</code>'' $B%X%C%@$K=>$C$F(B - $B%5%$%H$N%[!<%`%Z!<%8$N=q$-49$($r9T$J$&$K$O!"0J2<$N$h$&$K$7$^$9!'(B - - <blockquote> -<pre> -RewriteCond %{HTTP_USER_AGENT} ^Mozilla.* -RewriteRule ^/$ /homepage.max.html [L] - -RewriteCond %{HTTP_USER_AGENT} ^Lynx.* -RewriteRule ^/$ /homepage.min.html [L] - -RewriteRule ^/$ /homepage.std.html [L] -</pre> - </blockquote> - $B2r<a(B: $B%V%i%&%6$H$7$F(B($B<+J,<+?H$G(B 'Mozilla' $B$HL>>h$C$F$$$k(B) - $B%M%C%H%9%1!<%W%J%S%2!<%?$r;H$&>l9g!"%U%l!<%`(B<em>$B$J$I(B</em>$B$r4^$`(B - max $B$N%[!<%`%Z!<%8$r8+$k$3$H$K$J$j$^$9!#(B($BC<Kv%Y!<%9$N(B) Lynx - $B%V%i%&%6$r;H$&>l9g$O!"2hA|$d%F!<%V%k(B<em>$B$J$I(B</em>$B$r4^$^$J$$(B - min $B$N%[!<%`%Z!<%8$,I=<($5$l$^$9!#$=$l0J30$N%V%i%&%6$N>l9g$OI8=`(B - (std) $B$N%Z!<%8$,I=<($5$l$^$9!#(B - </blockquote> - <hr noshade="noshade" size="1" /> - - <h3><a id="RewriteRule" - name="RewriteRule">RewriteRule</a></h3> - <a href="directive-dict.html#Syntax" - rel="Help"><strong>$B=q<0(B:</strong></a> RewriteRule - <em>Pattern</em> <em>Substitution</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>$B$J$7(B</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B - $B%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>$B%*!<%P!<%i%$%I(B:</strong></a> - <em>FileInfo</em><br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_rewrite.c<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 - (partially), Apache 1.3<br /> - - <p><code>RewriteRule</code> - $B%G%#%l%/%F%#%V$O!"<B:]$N=q$-49$($rC4Ev$7$F$/$l$kGO<VGO$G$9!#(B - $B$3$N%G%#%l%/%F%#%V$OJ#?t2s=q$/$3$H$,$G$-$^$9!#(B - $B3F%G%#%l%/%F%#%V$O0l$D$N=q$-49$(%k!<%k$rDj5A$7$^$9!#(B - $B$3$l$i%k!<%k$r(B<strong>$BDj5A$9$k=g=x(B</strong>$B$O=EMW$G$9!#(B - $B$J$<$J$i!"<B9T;~$K%k!<%k$rE,MQ$9$k:]!"$3$N=g=x$G9T$J$o$l$k$+$i$G$9!#(B - </p> - - <p><a id="patterns" name="patterns"><em>Pattern</em></a> $B$O8=:_$N(B - URL $B$KE,MQ$5$l$k(B (Apache 1.1.x $B$G$O(B System V8$B!"(BApache 1.2.x - $B0J9_$G$O(B POSIX $B$N(B)<a id="regexp" name="regexp">$B@55,I=8=(B</a>$B$G$9!#(B - $B$3$3$G!V8=:_$N!W$H8@$C$F$$$k$N$O!"%k!<%k$,E,MQ$5$l$k:]$N(B URL - $B$NCM$N$3$H$G$9!#$3$l$O%j%/%(%9%H$5$l$?%*%j%8%J%k$N(B URL - $B$G$"$k$H$O8B$j$^$;$s!#4{$K?tB?$/$N%k!<%k$,%^%C%A$7$F!"(B - $B$=$l$r=q$-49$($?8e$+$b$7$l$J$$$+$i$G$9!#(B</p> - - <p>$B@55,I=8=$NJ8K!$K4X$9$k%R%s%H(B:</p> - - <table bgcolor="#F0F0F0" cellspacing="0" cellpadding="5"> - <tr> - <td valign="top"> -<pre> -<strong>$B%F%-%9%H(B: </strong> - <strong><code>.</code></strong> $BG$0U$N0lJ8;z(B - <strong><code>[</code></strong>chars<strong><code>]</code></strong> $BJ8;z%/%i%9(B: $B$$$:$l$+$NJ8;z(B - <strong><code>[^</code></strong>chars<strong><code>]</code></strong> $BJ8;z%/%i%9(B: $B$3$l$i0J30$NJ8;z(B - text1<strong><code>|</code></strong>text2 $BA*Br;h(B: text1 $B$^$?$O(B text2 - -<strong>$BJ8;z?t;XDj(B:</strong> - <strong><code>?</code></strong> $BD>A0$NJ8;z$N(B 0 $B2s$^$?$O(B 1 $B2s$N7+$jJV$7(B - <strong><code>*</code></strong> $BD>A0$NJ8;z$N(B 0 $B2s0J>e$N7+$jJV$7(B - <strong><code>+</code></strong> $BD>A0$NJ8;z$N(B 1 $B2s0J>e$N7+$jJV$7(B - -<strong>$B%0%k!<%T%s%0(B:</strong> - <strong><code>(</code></strong>text<strong><code>)</code></strong> $B%F%-%9%H$N%0%k!<%T%s%0(B - ($BA*Br;h$N6-3&$rL@<($9$k!"<c$7$/$O8eJ};2>H$r:n@.$9$k$?$a$K;H$&!#(B - <strong>N</strong>$BHVL\$N%0%k!<%W$O!"(BRewriteRule $B$N1&B&$NI=8=$G(B<code>$</code><strong>N</strong>$B$H$7$F;2>H$9$k$3$H$,2DG=!#!K(B - -<strong>$BJ8;z0LCV$N;XDj(B:</strong> - <strong><code>^</code></strong> $B9TF,(B - <strong><code>$</code></strong> $B9TKv(B - -<strong>$B%(%9%1!<%W(B:</strong> - <strong><code>\</code></strong>char $BFC<lJ8;z$r%(%9%1!<%W(B($B8z2L$rBG$A>C$9(B)$B$9$k(B - ($BNc$($P(B "<code>.[]()</code>" <em>$B$J$I(B</em>) -</pre> - </td> - </tr> - </table> - - <p>$B@55,I=8=$K4X$9$k>pJs$O!"%m!<%+%k$N(B regex(3) man $B%Z!<%8$+$^$?$O(B - Apache 1.3 $B$NG[I[J*$K4^$^$l$k(B<code>src/regex/regex.3</code> - $B$r;2>H$7$F$/$@$5$$!#$b$7@55,I=8=$d$=$NJQ<o(B (POSIX $B@55,I=8=!"(B - Perl $B@55,I=8=(B <em>$B$J$I(B</em>)$B$K6=L#$,$"$l$P!"0J2<$N@lLg=q$r$4Mw2<$5$$(B:</p> - - <blockquote> - <em>Mastering Regular Expressions</em><br /> - Jeffrey E.F. Friedl<br /> - Nutshell Handbook Series<br /> - O'Reilly & Associates, Inc. 1997<br /> - ISBN 1-56592-257-3<br /> - </blockquote> - - <p>($BLuCm(B: $BBh(B2$BHG$NF|K\8lHG(B)</p> - - <blockquote> - <em>$B>\@b(B $B@55,I=8=(B $BBh(B2$BHG(B</em><br /> - Jeffrey E. F. Friedl $BCx(B<br /> - $BEDOB(B $B>!(B $BLu(B<br /> - $B%*%i%$%j!<!&%8%c%Q%s(B 2003<br /> - ISBN 4-87311-130-7<br /> - </blockquote> - - <p>$B$5$i$K!"(Bmod_rewrite $B$G$O%Q%?!<%s$NA0$K(B NOT $BJ8;z(B('<code>!</code>') - $B$,;H$($^$9!#$3$l$G8eB3$N%Q%?!<%s$rH]Dj$9$k$3$H$,$G$-$^$9!#(B - $BNc$($F$$$&$J$i$P!"(B``<em>$B$b$78=:_$N(B URL - $B$,$3$N%Q%?!<%s$K%^%C%A(B<strong>$B$7$J$1$l$P(B</strong></em>'' - $B$H$$$&$3$H$G$9!#$3$l$O!"H?BP$N%Q%?!<%s$rI=$9J}$,4JC1$@$C$?$j!"(B - $B:G8e$N%G%U%)%k%H%k!<%k$H$9$k$J$I!"(B - $BNc30E*$J%1!<%9$rI=8=$9$k$N$K$b;H$($^$9!#(B</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BCm0U(B:</strong> NOT - $BJ8;z$r;H$C$F%Q%?!<%s$rH]Dj$9$k>l9g$O%Q%?!<%sCf$K(B - $B%0%k!<%W2=$5$l$?%o%$%k%I%+!<%IItJ,$rF~$l$k$3$H$O$G$-$^$;$s!#(B - $B$3$l$O!"%Q%?!<%s$,%^%C%A(B *$B$7$J$$(B* $B$H$-!"(B - $B%0%k!<%W$NCf?H$O6u$K$J$C$F$7$^$&$+$i$G$9!#$=$N7k2L!"(B - $BH]Dj$5$l$?%Q%?!<%s$r;H$&>l9g$O!"CV$-49$(J8;zNs$NCf$G(B - <code>$N</code> $B$O;H$($^$;$s(B!</td> - </tr> - </table> - - <p>$B=q$-49$(%k!<%k$N(B <a id="rhs" - name="rhs"><em>Substitution</em></a> $B$O!"(B<em>Pattern</em>$B$,(B - $B%^%C%A$7$?>l9g$K%*%j%8%J%k$N(B URL $B$+$iCV$-49$($i$l$kJ8;zNs$G$9!#(B - $B%W%l!<%s%F%-%9%H$NB>$K0J2<$N$b$N$,;H$($^$9!#(B</p> - - <ol> - <li>RewriteRule $B%Q%?!<%s$X$N8eJ};2>H(B <code>$N</code></li> - - <li>$B:G8e$K%^%C%A$7$?(B RewriteCond $B%Q%?!<%s$X$N8eJ};2>H(B - <code>%N</code></li> - - <li>$B%k!<%k>r7o$N%F%9%HJ8;zNs$HF1MM$N%5!<%PJQ?t(B - (<code>%{$BJQ?tL>(B}</code>)</li> - - <li><a href="#mapfunc">$B%^%C%T%s%04X?t(B</a> $B$N8F$S=P$7(B - (<code>${mapname:key|default}</code>)</li> - </ol> - $B8eJ};2>H$O(B <code>$</code><strong>N</strong>(<strong>N</strong>=0..9) - $B<1JL;R$GI=$7$^$9!#$3$l$O!"%^%C%A$7$?(B <em>Pattern</em> $B$N%0%k!<%W$NCf$G!"(B - <strong>N</strong> $BHVL\$N$b$N$NFbMF$KCV$-49$($i$l$^$9!#%5!<%PJQ?t$O(B - <code>RewriteCond</code> $B%G%#%l%/%F%#%V$N(B <em>TestString</em> $B$HF1$8$G$9!#(B - $B%^%C%T%s%04X?t$O(B <code>RewriteMap</code> $B%G%#%l%/%F%#%V$+$iMh$?$b$N$G!"(B - $B$=$3$G@bL@$7$F$$$^$9!#$3$l$i(B 3 $B%?%$%W$NJQ?t$O!">e5-$N=g=x$GE83+$5$l$^$9!#(B - - <p>$BA0=R$N$h$&$K!"$9$Y$F$N=q$-49$(%k!<%k$,(B <em>Substitution</em> $B$KBP$7$F(B - ($B@_Dj%U%!%$%k$KDj5A$7$F$"$k=g$K(B)$BE,MQ$5$l$^$9!#(BURL - $B$O(B <em>Substitution</em> $B$K$h$C$F(B<strong>$B40A4$KCV$-49$($i$l(B</strong>$B!"(B - $B=q$-49$(=hM}$O(B <code><strong>L</strong></code> $B%U%i%0(B -- $B8e=R(B -- - $B$K$h$C$FL@<(E*$K=*C<$5$l$F$$$J$$8B$j!"(B - $B%k!<%k$,$J$/$J$k$^$GB3$1$i$l$^$9!#(B</p> - - <p>'<code>-</code>' $B$H8F$P$l$kFC<l$JCV$-49$(J8;zNs$,$"$j$^$9!#(B - $B$3$l$O!"(B<strong>$BCV496X;_(B</strong>! $B$N0UL#$G$9!#JQ$G$7$g(B? - $B$$$$$(!"$3$l$O(B URL $B$N%^%C%A%s%0(B<strong>$B$@$1(B</strong>$B$r9T$J$$!"(B - $BCV49$r9T$J$o$J$$$H$$$&5!G=$rDs6!$7$F$/$l$k$b$N$G$9!#(B - <em>$B$9$J$o$A(B</em>$B!"(B<strong>C</strong> (chain) - $B%U%i%0$H$J$$$C$7$g$K;H$&$3$H$K$h$C$F!"(B - $BCV49$,9T$J$o$l$kA0$KJ#?t$N%Q%?!<%s$rE,MQ$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$B$b$&$R$H$DCm0U;v9`(B: $B%/%(%j!<J8;zNsItJ,$rIU2C$7$?CV49J8;zNs$G(B - URL $B$r@8@.$9$k$3$H$b$G$-$^$9!#(B - $BC1$K!"CV49J8;zNs$NCf$K%/%(%9%A%g%s%^!<%/$rF~$l$k$@$1$G!"$=$l0J9_$O(B - QUERY_STRING $B$KF~$l$k$Y$-$3$H$r<($7$^$9!#(B - $B4{B8$N%/%(%j!<J8;zNs$r>C5n$7$?$$>l9g$O!"(B - $BCV49J8;zNs$r%/%(%9%A%g%s%^!<%/$@$1$G=*$o$i$;$k$h$&$K$7$^$9!#(B</p> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BCm0U(B</strong>: $BFC<l5!G=$K$D$$$F=R$Y$^$9(B: - $BCV49%U%#!<%k%I$NA0$K(B - <code>http://</code><em>thishost</em>[<em>:thisport</em>] - $B$rCV$/$H!"(B<strong>mod_rewrite</strong> - $B$O<+F0E*$K$3$l$r=|5n$7$^$9!#$3$N0EL[$N30It%j%@%$%l%/%H(B URL - $B$K$*$1$k<+F0JQ495!G=$O!"%[%9%HL>ItJ,$r@8@.$9$k(B - $B%^%C%T%s%04X?t$HF1;~$K;H$&>l9g$KJXMx$+$D=EMW$J$b$N$G$9!#(B - $B$3$l$rM}2r$9$k$K$O!"0J2<$N%5%s%W%k$N>O$N:G=i$NNc$r8+$F$/$@$5$$!#(B - </td> - </tr> - </table> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BHw9M(B: $B$3$N5!G=$N1F6A$G!"(B</strong> - <code>http://thishost</code> $B@\F,<-$NIU$$$?(B - $B<+J,<+?H$N%5!<%P$X$NL5>r7o$N30It%j%@%$%l%/%7%g%s$O!"(B - $BF0:n$7$^$;$s!#(B - $B$3$N$h$&$J<+8J%j%@%$%l%/%H$r9T$&$K$O!"(B<strong>R</strong> - $B%U%i%0$r;H$&I,MW$,$"$j$^$9(B($B8e=R(B)$B!#(B</td> - </tr> - </table> - - <p><code>RewriteRule</code> $B%G%#%l%/%F%#%V$NBh;00z?t$H$7$F!"(B - <em>Pattern</em> $B$KBP$7$F>e5-0J30$K$b0J2<$N$h$&$J(B</p> - - <blockquote> - <strong><code>[</code><em>$B%U%i%0(B</em><code>]</code></strong> - </blockquote> - $B$r$D$1$k$3$H$,$G$-$^$9!#(B - <em>$B%U%i%0(B</em>$B$O0J2<$N$b$N$r%+%s%^$G6h@Z$C$F;XDj$7$^$9(B: - - <ul> - <li> - '<strong><code>redirect|R</code> - [=<em>code</em>]</strong>' ($B6/@)(B <a id="redirect" - name="redirect"><strong>r</strong>edirect</a>)<br /> - - <em>Substitution</em> $B$NA0$K(B ($B?7$7$$(B URL $B$r(B URI $B$K$9$k(B) - <code>http://thishost[:thisport]/</code> - $B$r$D$1$k$3$H$K$h$j6/@)E*$J30It%j%@%$%l%/%7%g%s$r9T$J$$$^$9!#(B - <em>code</em> $B$,;XDj$5$l$J$$>l9g!"(BHTTP $B%l%9%]%s%9$N(B 302 - (MOVED TEMPORARILY) $B$,;H$o$l$^$9!#(B300 $B$+$i(B 400 - $B$^$G$NB>$N%l%9%]%s%9%3!<%I$rJV$7$?$$>l9g$O!"(B - $BD>@\$=$NHV9f$r;XDj$9$k$+!"%7%s%\%kL>(B <code>temp</code> - ($B%G%U%)%k%H(B), <code>permanent</code>, <code>seeother</code> - $B$N$$$:$l$+$r;H$$$^$9!#(B<em>$BNc$($P(B</em>$B!"(B``<code>/~</code>'' - $B$r(B ``<code>/u/</code>'' $B$KJQ49$7$?$j!">o$K(B <code>/u/</code> - <em>user</em> $B$K%9%i%C%7%e$rDI2C$9$k$J$I$N!"%/%i%$%"%s%H$K(B $B@55,2=(B - $B$5$l$?(B URL $B$rJV$9%k!<%k$K;H$&$3$H$,$G$-$^$9!#(B<br /> - - <p><strong>$BCm0U(B:</strong> - $B$3$N%U%i%0$r;H$&>l9g$O!"CV49%U%#!<%k%I$,M-8z$J(B URL - $B$G$"$k$3$H$r3NG'$7$F$/$@$5$$!#$b$7$=$&$G$J$$>l9g!"(B - $BL58z$J>l=j$K%j%@%$%l%/%H$7$F$$$k$3$H$K$J$C$F$7$^$$$^$9!#(B - $B$5$i$K!"$3$N%U%i%0$O!"(BURL $B$NA0$K(B - <code>http://thishost[:thisport]/</code> - $B$rIU2C$9$k$@$1$G!"$=$N8e$b=q$-49$(=hM}$OB3$/$3$H$r(B - $BM}2r$7$F$*$$$F$/$@$5$$!#(B - $BDL>o$O$=$3$G=q$-49$($r$d$a$FB(;~$K%j%@%$%l%/%H$9$k$3$H$,K>$_$NF0:n(B - $B$G$7$g$&!#(B - $B=q$-49$($r=*N;$9$k$K$O!"(B - 'L' $B%U%i%0$b$$$C$7$g$K;XDj$7$J$1$l$P$J$j$^$;$s!#(B</p> - </li> - - <li>'<strong><code>forbidden|F</code></strong>' (URL $B$r6/@)E*$K(B - <strong>f</strong>orbidden($B6X;_(B)$B$K$9$k(B)<br /> - $B$3$l$O8=:_$N(B URL $B$r6/@)E*$K%"%/%;%96X;_$K$7$^$9!#(B - <em>$B$9$J$o$A(B</em>$B!"B(;~$K(B HTTP $B%l%9%]%s%9$N(B 403 (FORBIDDEN) - $B$rJV$7$^$9!#$3$N%U%i%0$OE,@Z$J(B RewriteCond - $B$H$$$C$7$g$K;H$C$F!"FCDj$N(B URL $B$KBP$9$k>r7o%V%m%C%/$r9T$J$&$?$a$K(B - $B;H$$$^$9!#(B</li> - - <li>'<strong><code>gone|G</code></strong>' (URL $B$r6/@)E*$K(B - <strong>g</strong>one($B>C5n:Q$_(B)$B$K$9$k(B)<br /> - $B$3$l$O8=:_$N(B URL $B$r6/@)E*$K>C5n:Q$_(B(gone)$B$K$7$^$9!#(B - <em>$B$9$J$o$A(B</em>$B!"B(;~$K(B HTTP $B%l%9%]%s%9$N(B 410 (GONE) - $B$rJV$7$^$9!#$3$N%U%i%0$O$b$O$dB8:_$7$J$$%Z!<%8$r(B - $B>C5n:Q$_$H$7$F%^!<%/$9$k$?$a$K;H$$$^$9!#(B</li> - - <li> - '<strong><code>proxy|P</code></strong>' ($B6/@)(B - <strong>p</strong>roxy)<br /> - $B$3$N%U%i%0$O!"CV49BP>]It$rFbItE*$J%W%m%-%7%j%/%(%9%H(B - $B$H$_$J$7!"$=$N>l$G(B(<em>$B$9$J$o$A(B</em>$B!"(B - $B$3$3$G=q$-49$(%k!<%k$rDd;_$7$F(B)<a - href="mod_proxy.html">$B%W%m%-%7%b%8%e!<%k$r(B</a>$BDL$7$F=PNO$7$^$9!#(B - $BCV49BP>]J8;zNs$O(B(<em>$BNc$($P(B</em>$B!"IaDL$O(B <code>http://</code> - <em>hostname</em>$B$G;O$^$k$h$&$J(B)$B!"(BApache - $B%W%m%-%7%b%8%e!<%k$G07$($kM-8z$J(B URI $B$G$J$1$l$P$J$j$^$;$s!#(B - $B$=$&$G$J$1$l$P!"%W%m%-%7%b%8%e!<%k$+$i%(%i!<$,Js9p$5$l$^$9!#(B - $B$3$N%U%i%0$r;H$&$3$H$G$h$j6/NO$J(B <a - href="mod_proxy.html#proxypass">ProxyPass</a> - $B%G%#%l%/%F%#%V$N<BAu$r9T$J$&$3$H$,$G$-!"%j%b!<%H$K$"$k$b$N$r(B - $B%m!<%+%k%5!<%P$NL>A06u4V$K%^%C%W$9$k$3$H$,$G$-$^$9!#(B - - <p>$BCm0U(B: $B$3$N5!G=$r;H$&$K$"$?$C$F$O!"$4<+J,$N(B Apache $B%5!<%P$K(B - $B%W%m%-%7%b%8%e!<%k$,AH$_9~$^$l$F$$$k$3$H$r(B - $B3NG'$7$F$/$@$5$$!#3NG'J}K!$,$o$+$i$J$$>l9g$O!"(B``<code>httpd - -l</code>'' $B$N=PNO$NCf$K(B <code>mod_proxy.c</code> - $B$,$"$k$+$I$&$+$rD4$Y$F$_$^$7$g$&!#$b$7$"$l$P!"(B - mod_rewrite $B$N$3$N5!G=$r;H$($^$9!#$b$7$J$1$l$P!"(Bmod_proxy - $B$rM-8z$K$7$F(B ``<code>httpd</code>'' - $B%W%m%0%i%`$r:F9=C[$9$kI,MW$,$"$j$^$9!#(B</p> - </li> - - <li>'<strong><code>last|L</code></strong>' - (<strong>l</strong>ast($B:G8e$N(B)$B%k!<%k(B)<br /> - $B$3$3$G=q$-49$(=hM}$rCf;_$7!"(B - $B$=$l0J>e$N=q$-49$(%k!<%k$rE,MQ$7$J$$$h$&$K$7$^$9!#$3$l$O(B Perl - $B$N(B <code>last</code> $B%3%^%s%I$d(B C $B8@8l$N(B <code>break</code> - $B%3%^%s%I$KBP1~$9$k$b$N$G$9!#$3$N%U%i%0$r;H$&$3$H$G!"(B - $B8=:_$N=q$-49$(8e$N(B URL $B$,8eB3$N%k!<%k$K$h$C$F(B - $B$=$l0J>e=q$-49$($i$l$k$3$H$rKI;_$7$^$9!#(B - $BNc$($P!"$3$l$r;H$C$F%k!<%H%Q%9$N(B URL ('<code>/</code>') - $B$r<B:]$N$b$N!"(B<em>$BNc$($P(B </em>'<code>/e/www/</code>' - $B$K=q$-49$($^$9!#(B</li> - - <li>'<strong><code>next|N</code></strong>' - (<strong>n</strong>ext($B<!$N(B)$B0l<~(B)<br /> - $B=q$-49$(=hM}$r(B($B0lHV:G=i$N=q$-49$(%k!<%k$+$i(B)$B:F<B9T$7$^$9!#(B - $B$?$@$7$=$N:]%^%C%A%s%0$5$l$k(B URL $B$OEv=i$N(B URL - $B$G$O$J$/!":G8e$K=q$-49$($i$l$?(B URL $B$G$9!#$3$l$O(B Perl - $B$N(B <code>next</code> $B%3%^%s%I$d(B C $B8@8l$N(B <code>continue</code> - $B%3%^%s%I$KBP1~$9$k$b$N$G$9!#(B - $B=q$-49$(=hM}$r:F5/F0$7$?$$$H$-(B - <em>$B$9$J$o$A!"(B</em>$B%k!<%W$N@hF,$KLa$j$?$$$H$-(B<br />$B$K(B - $B$3$N%3%^%s%I$r;H$C$F$/$@$5$$!#(B - <strong>$B$?$@$7!"L58B%k!<%W$r:n$i$J$$$h$&$KN10U$7$F$/$@$5$$(B! - </strong></li> - - <li>'<strong><code>chain|C</code></strong>' - ($B<!$N%k!<%k$K(B <strong>c</strong>hained ($B%A%'%$%s(B))<br /> - $B$3$N%U%i%0$r;XDj$9$k$H!"8=:_$N%k!<%k$O<!$N%k!<%k$K%A%'%$%s$5$l$^$9(B - ($B$J$*!"<!$N%k!<%k$b8eB3$N%k!<%k$K=gHV$K(B - $B%A%'%$%s$9$k$3$H$,$G$-$^$9(B)$B!#$3$l$K$O0J2<$N8z2L$,$"$j$^$9(B: - $B%k!<%k$,%^%C%A$9$k$H!"=hM}$ODL>o$I$*$j9T$o$l$^$9!#(B - <em>$B$9$J$o$A(B</em>$B%U%i%0$O2?$N1F6A$bM?$($^$;$s!#%k!<%k$,%^%C%A(B - <strong>$B$7$J$$(B</strong>$B>l9g!"8eB3$N$9$Y$F$N%k!<%k$O%9%-%C%W$5$l$^$9!#(B - $BNc$($P(B (.www $BItJ,$,9T$J$o$l$k$Y$-$G$J$$(B) - $B30It%j%@%$%l%/%H$rH/@8$5$;$?;~$K!"(B - $B%G%#%l%/%H%j$4$H$N%k!<%k%;%C%H$NCf$+$i(B ``<code>.www</code>'' - $B$NItJ,$r<h$j=|$/$?$a$K;H$&$3$H$G$-$^$9!#(B - </li> - - <li> - '<strong><code>type|T</code></strong>=<em>MIME-type</em>' - (MIME <strong>t</strong>ype $B$N6/@);XDj(B)<br /> - $B%?!<%2%C%H%U%!%$%k$N(B MIME $B%?%$%W$r6/@)E*$K(B <em>MIME-type</em> - $B$K$7$^$9!#Nc$($P$3$l$r;H$C$F!"(B<code>mod_alias</code> - $B$N%G%#%l%/%F%#%V$G$"$k(B <code>ScriptAlias</code> - $B$r%7%_%e%l!<%H$9$k$3$H$,$G$-$^$9!#$3$l$O!"(B - $B%^%C%T%s%0$5$l$?%G%#%l%/%H%j$NCf$K$"$k$9$Y$F$N%U%!%$%k$N(B MIME - $B%?%$%W$r!"FbItE*$K(B``<code>application/x-httpd-cgi</code>'' - $B$K6/@)%;%C%H$9$k$b$N$G$9!#(B</li> - - <li> - '<strong><code>nosubreq|NS</code></strong>' (<strong>n</strong>o - <strong>s</strong>ub-request, - $BFbIt$N(B - $B%5%V%j%/%(%9%H$,$J$$(B - $B$H$-$N$_;H$o$l$k(B)<br /> - $B$3$N%U%i%0$r;H$&$H!"%/%(%9%H$,FbIt$N%5%V%j%/%(%9%H$G$"$k>l9g$K!"(B - $B=q$-49$(%(%s%8%s$,=q$-49$(%k!<%k$r%9%-%C%W$9$k$h$&$K$7$^$9!#(B - $B%5%V%j%/%(%9%H$O!"Nc$($P!"(B<code>mod_include</code> - $B$,%G%#%l%/%H%j$N%G%U%)%k%H$N8uJd$H$J$k%U%!%$%k$N>pJs(B - (<code>index.xxx</code>) $B$r8!:w$7$h$&$H$9$k:]$K!"(BApache - $B$NCf$GFbItE*$KH/@8$7$^$9!#(B - $B%5%V%j%/%(%9%H$K$*$$$F$O=q$-49$(A`:n$O>o$KM-MQ$G$"$k$H$O8B$i$:!"(B - $B$9$Y$F$N%k!<%k$,E,MQ$5$l$F$7$^$&$HLdBj$r5/$3$7$F$7$^$&>l9g$b$"$j$^$9!#(B - $B$=$N$h$&$J%k!<%k$O$3$N%U%i%0$r;H$C$F=|30$7$^$9!#(B<br /> - - <p>$B0J2<$N%k!<%k$r;H$C$F!"$3$N%U%i%0$r;H$&$+$I$&$+7h$a$F$/$@$5$$(B: - CGI $B%9%/%j%W%H$N@hF,$K$J$s$i$+$N(B URL $B$rIU2C$7$F!"$=$l$r(B CGI - $B%9%/%j%W%H$G=hM}$5$;$h$&$H$9$k>l9g!"%5%V%j%/%(%9%H$N:]$KLdBj$,(B - $B5/$3$C$?$j(B ($B%*!<%P!<%X%C%I$,$+$+$C$?$j(B) $B$9$k2DG=@-$,9b$/$J$j$^$9!#(B - $B$3$N$h$&$J%1!<%9$G$O!"$3$N%U%i%0$r;H$C$F$/$@$5$$!#(B</p> - </li> - - <li>'<strong><code>nocase|NC</code></strong>' - (<strong>n</strong>o <strong>c</strong>ase)<br /> - $B$3$l$O(B<em>$B%Q%?!<%s(B</em>$B$K$D$$$FBgJ8;z>.J8;z$r6hJL$7$J$$$h$&$K$7$^$9!#(B - <em>$B$9$J$o$A(B</em>$B!"(B<em>$B%Q%?!<%s(B</em>$B$,8=:_$N(B URL $B$H%^%C%A$5$l$k:]!"(B - 'A-Z' $B$H(B 'a-z' $B$O6hJL$5$l$^$;$s!#(B</li> - - <li>'<strong><code>qsappend|QSA</code></strong>' - (<strong>q</strong>uery <strong>s</strong>tring - <strong>a</strong>ppend)<br /> - $B$3$N%U%i%0$O!"4{B8$N$b$N$rCV$-49$($k$N$G$O$J$/!"CV49J8;zNs$N(B - $B%/%(%j!<J8;zNsItJ,$rDI2C$9$k$h$&$K$7$^$9!#=q$-49$(%k!<%k$rDL$7$F%/%(%j!<(B - $BJ8;zNs$K2?$+%G!<%?$rDI2C$7$?$$>l9g$K$3$N%U%i%0$r;H$$$^$9!#(B</li> - - <li> - '<strong><code>noescape|NE</code></strong>' - (<strong>n</strong>o URI <strong>e</strong>scaping of - output)<br /> - $B$3$N%U%i%0$O!"(Bmod_rewrite $B$,=q$-49$(7k2L$KBP$7$FDL>o9T$J$o$l$k(B - URL $B%(%9%1!<%W%k!<%k$rE,MQ$7$J$$$h$&$K$7$^$9!#DL>o$O(B ('%', - '$', ';' $B$H$$$C$?(B) $BFC<lJ8;z$K$D$$$F$O!"$=$l$i$HEy2A$N(B 16 - $B?J?tJ8;zNs(B ($B=g$K(B '%25', '%24', '%3B') $B$K%(%9%1!<%W$5$l$^$9!#(B - $B$3$N%U%i%0$O$3$NF0:n$rM^@)$7$^$9!#(B - $B$3$l$K$h$j!"=PNO$NCf$K%Q!<%;%s%HJ8;z$r;H$&$3$H$,$G$-$^$9!#(B - $B0J2<$KNc$r5s$2$^$9!#(B -<pre> - RewriteRule /foo/(.*) /bar?arg=P1\%3d$1 [R,NE] - -</pre> - $B$3$NNc$G$O!"(B'<code>/foo/zed</code>' $B$,0BA4$J%j%/%(%9%H$G$"$k(B - '<code>/bar?arg=P1=zed</code>' $B$KJQ99$5$l$^$9!#(B - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BCm0U(B:</strong> - <code>noescape</code> $B%U%i%0$O(B Apache 1.3.20 - $B0J9_$G$N$_M-8z$G$9!#(B</td> - </tr> - </table> - </li> - - <li> - '<strong><code>passthrough|PT</code></strong>' - (<strong>p</strong>ass <strong>t</strong>hrough to next - handler)<br /> - $B$3$N%U%i%0$O!"FbIt$N(B <code>request_rec</code> $B9=B$BN$N(B - <code>uri</code> $B%U%#!<%k%I$K(B <code>filename</code> - $B%U%#!<%k%I$NCM$r%;%C%H$9$k$h$&$K!"=q$-49$(%(%s%8%s$K;X<($7$^$9!#(B - $B$3$N%U%i%0$OC1$K!"(B<code>RewriteRule</code> - $B%G%#%l%/%F%#%V$N=PNO$KBP$7$F!"B>$N(B URI - $B$+$i%U%!%$%kL>$X$NJQ49=hM}$r9T$&(B <code>Alias</code>, - <code>ScriptAlias</code>, <code>Redirect</code> - <em>$B$H$$$C$?(B</em>$B%G%#%l%/%F%#%V$K$h$k8e=hM}$rF~$l$k$?$a$N>.5;$G$9!#(B - $B0UL#$r<($9$?$a$NC1=c$JNc(B: <code>mod_rewrite</code> - $B$N=q$-49$(%(%s%8%s$G(B <code>/abc</code> $B$+$i(B <code>/def</code> - $B$X$NJQ49$r9T$J$$!"$5$i$K(B <code>mod_alias</code> $B$G(B - <code>/def</code> $B$+$i(B <code>/ghi</code> - $B$K=q$-49$($k$K$O!"0J2<$N$h$&$K$7$^$9(B: -<pre> - RewriteRule ^/abc(.*) /def$1 [PT] - Alias /def /ghi - -</pre> - $B$b$7(B <code>PT</code> $B%U%i%0$r;XDj$9$k$N$rK:$l$F$7$^$C$?>l9g!"(B - <code>mod_rewrite</code> $B$O$A$c$s$H$=$N;E;v$r9T$J$$$^$9!#(B - <em>$B$9$J$o$A(B</em>$B!"40A4$J(B API $B$K=`5r$7$?(B URI-to-filename - $BJQ49%k!<%A%s$,9T$&$Y$-!"(B<code>uri=/abc/...</code> $B$r(B - <code>filename=/def/...</code> $B$K=q$-49$(!"$r9T$J$$$^$9!#$=$N8e(B - <code>mod_alias</code> $B$,5/F0$5$l!"(BURI-to-filename - $BJQ49$r;n$_$^$9$,!"$3$l$OF0:n$7$^$;$s(B $B!#(B - - <p>$BCm0U(B: <strong>URL-to-filename - $BJQ49$r4^$`0[$J$C$?%b%8%e!<%k$N%G%#%l%/%F%#%V$r:.MQ$7$?$$>l9g$K$O!"(B - $B$3$N%U%i%0$r;XDj$9$kI,MW$,$"$j$^$9!#(B</strong>$BE57?E*$JNc$H$7$F$O!"(B - <code>mod_alias</code> $B$H(B <code>mod_rewrite</code> - $B$NF1;~;HMQ$G$9!#(B</p> - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><font size="-1"><strong>$BCm0U(B - Apache $B%O%C%+!<$X(B: - </strong><br /> - $B8=:_$N(B Apache API $B$K(B URI-to-filename $B%U%C%/$K2C$($F(B - filename-to-filename $B%U%C%/$,$"$l$P!"(B - $B$3$N%U%i%0$r;H$&I,MW$O$J$$$N$G$9(B! - $B$7$+$7$3$N$h$&$J%U%C%/$,$J$$8=:_!"(B - $B$3$N%U%i%0$,M#0l$N2r7h:v$H$J$j$^$9!#(BApache - $B%0%k!<%W$O$3$NLdBj$K$D$$$F5DO@$7$F$*$j!"(BApache $B%P!<%8%g%s(B - 2.0 $B$K$O$=$N$h$&$J%U%C%/$,DI2C$5$l$k$3$H$G$7$g$&!#(B</font> </td> - </tr> - </table> - </li> - - <li>'<strong><code>skip|S</code></strong>=<em>num</em>' - (<strong>s</strong>kip next rule(s))<br /> - $B$3$N%U%i%0$O=q$-49$(%(%s%8%s$KBP$7!"8=:_$N%k!<%k$,%^%C%A$7$?$i!"(B - $B<!$N(B <em>num</em> $B8D$N%k!<%k$r%9%-%C%W$9$k$h$&;X<($7$^$9!#$3$l$r(B - $B;H$C$F!"5<;wE*$K(B if-then-else $B9=B$$r:n$k$3$H$,$G$-$^$9(B: then-$B6g(B - $B$N:G=*%k!<%k$O(B <code>skip=N</code> $B$H$J$j$^$9!#$3$3$G(B N $B$O(B - else-$B6g(B $B$KF~$l$k%k!<%k$N?t$G$9!#(B($B$3$l$O(B 'chain|C' $B%U%i%0$H$O(B - <strong>$B0[$J$j$^$9(B</strong>!)$B!#(B</li> - - <li> - '<strong><code>env|E=</code></strong><em>VAR</em>:<em>VAL</em>' - (set <strong>e</strong>nvironment variable)<br /> - $B$3$l$O(B <em>VAR</em> $B$H$$$&L>A0$N4D6-JQ?t$NCM$r(B <em>VAL</em> - $B$K$9$k$h$&;X<($7$^$9!#$3$3$G(B <em>VAL</em> - $B$K$O!"@55,I=8=$N8eJ};2>H$H$7$FE83+$5$l$k(B <code>$N</code> $B$H(B - <code>%N</code> $B$r=q$/$3$H$,$G$-$^$9!#(B - $B$3$N%U%i%0$rJ#?t;H$C$F!"J#?t$NJQ?t$rDj5A$9$k$3$H$b$G$-$^$9!#(B - $B$3$NJQ?t$OB?$/$N>l9g!"DL>o8e$+$i(B XSSI (<code><!--#echo - var="VAR"--></code> $B$rDL$7$F(B) $B$^$?$O(B CGI (<em>$BNc$($P(B</em> - <code>$ENV{'VAR'}</code>) $B$N$h$&$K!";2>H$5$l$^$9!#$5$i$K!"(B - RewriteCond $B%Q%?!<%s(B <code>%{ENV:VAR}</code> - $B$rDL$7$F;2>H$9$k$3$H$b$G$-$^$9!#$3$l$r;H$C$F(B URL - $B$+$i$N>pJs$r@Z$j<h$C$F5-21$7$^$9!#(B</li> - </ul> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td> - <strong>$BCm0U(B:</strong> - $B%5!<%PC10L$N@_Dj%U%!%$%k$NCf$G$O!"(B<em>Pattern</em> $B$O40A4$J(B - URL $B$KE,MQ$5$l$k$3$H$rK:$l$J$$$G$/$@$5$$!#(B - <strong>$B$7$+$7$J$,$i!"%G%#%l%/%H%jC10L$N@_Dj%U%!%$%k$NCf$G$O!"(B - $B%Q%?!<%s%^%C%A%s%0$N$?$a$K%G%#%l%/%H%jC10L$N@\F,<-(B - ($B$3$l$OFCDj$N%G%#%l%/%H%j$G$O>o$KF1$8$b$N$G$9(B!) $B$,<+F0E*$K(B - <em>$B<h$j=|$+$l(B</em>$B!"CV49$,=*$o$C$?8e$K<+F0E*$K(B<em>$BIU2C(B</em> - $B$5$l$^$9!#(B</strong>$B$3$N5!9=$O!"$5$^$6$^$J<oN`$N=q$-49$(A`:n$K(B - $B$*$$$F7g$/$3$H$N$G$-$J$$$b$N$G$9!#$J$<$J$i!"$3$N@\F,<-$N%9%-%C%W(B - $B$,9T$J$o$l$J$$$H!">o$KB8:_$9$k$H$O8B$i$J$$?F%G%#%l%/%H%j$H$N(B - $B%^%C%A%s%0$r9T$J$o$J$1$l$P$J$i$J$/$J$k$+$i$G$9!#(B - - <p>$B$R$H$DNc30$,$"$j$^$9(B: $BCV49J8;zNs$,(B ``<code>http://</code>'' - $B$G;O$^$C$F$$$k>l9g!"%G%#%l%/%H%j@\F,<-$OIU2C(B<strong>$B$5$l$:(B - </strong>$B!"30It%j%@%$%l%/%H$^$?$O(B (<strong>P</strong> $B%U%i%0$,(B - $B;H$o$l$F$$$l$P(B!) $B%W%m%-%7=hM}$,6/@)E*$K9T$J$o$l$^$9!#(B</p> - </td> - </tr> - </table> - - <table width="70%" border="0" bgcolor="#E0E0F0" - cellspacing="0" cellpadding="10"> - <tr> - <td><strong>$BCm0U(B:</strong> $B%G%#%l%/%H%jC10L$N@_Dj%U%!%$%k(B - $B$K$*$1$k=q$-49$(%(%s%8%s$rM-8z$K$9$k>l9g!"$3$l$i$N%U%!%$%k$K(B - ``<code>RewriteEngine On</code>'' $B$r%;%C%H$7!"(B<strong>$B$+$D(B - </strong>``<code>Options FollowSymLinks</code>'' $B$rM-8z$K(B - $B$7$J$1$l$P$J$j$^$;$s!#$"$J$?$N$H$3$m$N4IM}<T$,%f!<%6$N(B - $B%G%#%l%/%H%j$N(B <code>FollowSymLinks</code> $B$N%*!<%P!<%i%$%I(B - $B$r6X;_$7$F$$$?>l9g!"=q$-49$(%(%s%8%s$r;H$&$3$H$O$G$-$^$;$s!#(B - $B$3$N@)8B$,I,MW$J$N$O!"%;%-%e%j%F%#4XO"$NM}M3$K$h$j$^$9!#(B</td> - </tr> - </table> - - <p>$B0J2<$KM-8z$JCV49$NAH9g$;$H!"$=$l$i$N0UL#$r<($7$^$9(B:</p> - - <p><strong>$B%j%/%(%9%H(B ``<code>GET /somepath/pathinfo</code>'' - $B$,9T$J$o$l$?>l9g$N!"(B<br /> - $B%5!<%PC10L$N@_Dj(B (<code>httpd.conf</code>) $B$NFbIt(B:</strong><br /> - </p> - - <table bgcolor="#F0F0F0" cellspacing="0" cellpadding="5"> - <tr> - <td> -<pre> -<strong>$BM?$($i$l$?%k!<%k(B</strong> <strong>$BCV497k2L(B</strong> ----------------------------------------------- ---------------------------------- -^/somepath(.*) otherpath$1 $BL58z$J$N$G%5%]!<%H$7$J$$(B - -^/somepath(.*) otherpath$1 [R] $BL58z$J$N$G%5%]!<%H$7$J$$(B - -^/somepath(.*) otherpath$1 [P] $BL58z$J$N$G%5%]!<%H$7$J$$(B ----------------------------------------------- ---------------------------------- -^/somepath(.*) /otherpath$1 /otherpath/pathinfo - -^/somepath(.*) /otherpath$1 [R] $B30It%j%@%$%l%/%7%g%s7PM3$G(B - http://thishost/otherpath/pathinfo - -^/somepath(.*) /otherpath$1 [P] $BL50UL#$J$N$G%5%]!<%H$7$J$$(B ----------------------------------------------- ---------------------------------- -^/somepath(.*) http://thishost/otherpath$1 /otherpath/pathinfo - -^/somepath(.*) http://thishost/otherpath$1 [R] $B30It%j%@%$%l%/%7%g%s7PM3$G(B - http://thishost/otherpath/pathinfo - -^/somepath(.*) http://thishost/otherpath$1 [P] $BL50UL#$J$N$G%5%]!<%H$7$J$$(B ----------------------------------------------- ---------------------------------- -^/somepath(.*) http://otherhost/otherpath$1 $B30It%j%@%$%l%/%7%g%s7PM3$G(B - http://otherhost/otherpath/pathinfo - -^/somepath(.*) http://otherhost/otherpath$1 [R] $B30It%j%@%$%l%/%7%g%s7PM3$G(B - http://otherhost/otherpath/pathinfo - ([R] $B%U%i%0$O>iD9(B) - -^/somepath(.*) http://otherhost/otherpath$1 [P] $BFbIt%W%m%-%77PM3$G(B - http://otherhost/otherpath/pathinfo -</pre> - </td> - </tr> - </table> - - <p><strong>$B%j%/%(%9%H(B ``<code>GET /somepath/localpath/pathinfo</code>'' - $B$,9T$J$o$l$?>l9g$N!"(B<br /> - <code>/somepath</code> $B$K4X$9$k%G%#%l%/%H%jC10L$N@_Dj$NFbIt(B:<br /> - (<em>$BNc$($P(B</em>$B!"(B - <code>/physical/path/to/somepath</code> $B%G%#%l%/%H%j$K$"$C$F!"(B<br /> - <code>RewriteBase /somepath</code> $B$N5-=R$,$"$k(B - <code>.htaccess</code> $B%U%!%$%k(B):</strong><br /> - </p> - - <table bgcolor="#F0F0F0" cellspacing="0" cellpadding="5"> - <tr> - <td> -<pre> -<strong>$BM?$($i$l$?%k!<%k(B</strong> <strong>$BCV497k2L(B</strong> ----------------------------------------------- ---------------------------------- -^localpath(.*) otherpath$1 /somepath/otherpath/pathinfo - -^localpath(.*) otherpath$1 [R] $B30It%j%@%$%l%/%7%g%s7PM3$G(B - http://thishost/somepath/otherpath/pathinfo - -^localpath(.*) otherpath$1 [P] $BL50UL#$J$N$G%5%]!<%H$7$J$$(B ----------------------------------------------- ---------------------------------- -^localpath(.*) /otherpath$1 /otherpath/pathinfo - -^localpath(.*) /otherpath$1 [R] $B30It%j%@%$%l%/%7%g%s7PM3$G(B - http://thishost/otherpath/pathinfo - -^localpath(.*) /otherpath$1 [P] $BL50UL#$J$N$G%5%]!<%H$7$J$$(B ----------------------------------------------- ---------------------------------- -^localpath(.*) http://thishost/otherpath$1 /otherpath/pathinfo - -^localpath(.*) http://thishost/otherpath$1 [R] $B30It%j%@%$%l%/%7%g%s7PM3$G(B - http://thishost/otherpath/pathinfo - -^localpath(.*) http://thishost/otherpath$1 [P] $BL50UL#$J$N$G%5%]!<%H$7$J$$(B ----------------------------------------------- ---------------------------------- -^localpath(.*) http://otherhost/otherpath$1 $B30It%j%@%$%l%/%7%g%s7PM3$G(B - http://otherhost/otherpath/pathinfo - -^localpath(.*) http://otherhost/otherpath$1 [R] $B30It%j%@%$%l%/%7%g%s7PM3$G(B - http://otherhost/otherpath/pathinfo - ([R] $B%U%i%0$O>iD9(B) - -^localpath(.*) http://otherhost/otherpath$1 [P] $BFbIt%W%m%-%77PM3$G(B - http://otherhost/otherpath/pathinfo -</pre> - </td> - </tr> - </table> - - <p><strong>$BNc(B:</strong></p> - - <blockquote> - $B$3$3$G$O!"(B - <blockquote> - <code>/</code> <em>Language</em> <code>/~</code> - <em>Realname</em> <code>/.../</code> <em>File</em> - </blockquote> - - $B$H$$$&=q<0$N(B URL $B$r(B - - <blockquote> - <code>/u/</code> <em>Username</em> <code>/.../</code> - <em>File</em> <code>.</code> <em>Language</em> - </blockquote> - - $B$K=q$-49$($?$$$b$N$H$7$^$9!#(B - - <p>$BA0=R$N%^%C%W%U%!%$%k$r(B <code>/path/to/file/map.txt</code> - $B$H$$$&L>A0$GJ]B8$7$F$*$-$^$9!#$=$N8e!"(BApache $B%5!<%P@_Dj(B - $B%U%!%$%k$K0J2<$N9T$rDI2C$9$k$@$1$G$9(B:</p> - - <blockquote> -<pre> -RewriteLog /path/to/file/rewrite.log -RewriteMap real-to-user txt:/path/to/file/map.txt -RewriteRule ^/([^/]+)/~([^/]+)/(.*)$ /u/${real-to-user:$2|nobody}/$3.$1 -</pre> - </blockquote> - </blockquote> - <hr noshade="noshade" size="1" /> - - <center> - <h1><a id="Miscelleneous" - name="Miscelleneous">$B$=$NB>$N>pJs(B</a></h1> - </center> - <hr noshade="noshade" size="1" /> - - <h2><a id="EnvVar" name="EnvVar">$B4D6-JQ?t(B</a></h2> - $B$3$N%b%8%e!<%k$O!"(B<code>SCRIPT_URL</code> $B$H(B - <code>SCRIPT_URI</code> $B$H$$$&Fs$D$N(B ($BHsI8=`$N(B) CGI/SSI - $B4D6-JQ?t$r@_Dj$7$^$9!#$3$l$i$NCf$K$O8=:_$N%j%=!<%9$X$N(B<em>$BO@M}E*$J(B</em> - Web $B%S%e!<$,F~$C$F$$$^$9!#0lJ}!"I8=`$N(B CGI/SSI $BJQ?t$G$"$k(B - <code>SCRIPT_NAME</code> $B$H(B <code>SCRIPT_FILENAME</code> - $B$K$O!"(B<em>$BJ*M}E*$J(B</em>$B%7%9%F%`%S%e!<$,F~$C$F$$$^$9!#(B - - <p>$BCm0U(B: $B$3$l$i$NJQ?t$NCf$K$O!"(B<em>$B:G=i$K%j%/%(%9%H$r<u$1$?;~E@(B</em> - <em>$B$9$J$o$A(B</em>$B!"=q$-49$($,9T$o$l$k(B<em>$BA0$N(B</em> URI/URL - $B$,J];}$5$l$F$$$^$9!#(BURL $B=q$-49$(=hM}$O!"O@M}E*$J(B URL - $B$rJ*M}E*$J%Q%9L>$K=q$-49$($k$?$a$K;H$o$l$k$3$H$,B?$$$?$a!"(B - $B$3$NE@$O=EMW$G$9!#(B</p> - - <p><strong>$BNc(B:</strong></p> - - <blockquote> -<pre> -SCRIPT_NAME=/sw/lib/w3s/tree/global/u/rse/.www/index.html -SCRIPT_FILENAME=/u/rse/.www/index.html -SCRIPT_URL=/u/rse/ -SCRIPT_URI=http://en1.engelschall.com/u/rse/ -</pre> - </blockquote> - <hr noshade="noshade" size="1" /> - - <h2><a id="Solutions" name="Solutions">$B<BA)E*$J2r7hK!(B</a></h2> - $B$3$NJ8=q0J30$K$b!"(B<a href="../misc/rewriteguide.html">URL - Rewriting Guide</a> $B$H$$$&J8=q$,$"$j$^$9!#$3$NCf$K$O!"(BURL - $B%Y!<%9$NLdBj$K$D$$$F!"<BA)E*$J2r7hK!$,=8$a$i$l$F$$$^$9!#(B - $B$3$3$G<B:]$KLrN)$D%k!<%k%;%C%H$d(B mod_rewrite - $B$K4X$9$kDI2C>pJs$r8+$k$3$H$,$G$-$k$G$7$g$&!#(B - </blockquote> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - <!-- page indentation --> - <!--/%hypertext --> - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_setenvif.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_setenvif.html.en deleted file mode 100644 index a34a4d0c885..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_setenvif.html.en +++ /dev/null @@ -1,337 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_setenvif</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_setenvif</h1> - - <p>This module provides the ability to set environment - variables based upon attributes of the request.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> - mod_setenvif.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - setenvif_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.3 and later.</p> - - <h2>Summary</h2> - - <p>The <samp>mod_setenvif</samp> module allows you to set - environment variables according to whether different aspects of - the request match <a href="../misc/FAQ.html#regex">regular - expressions</a> you specify. These environment variables can be - used by other parts of the server to make decisions about - actions to be taken.</p> - - <p>The directives are considered in the order they appear in - the configuration files. So more complex sequences can be used, - such as this example, which sets <code>netscape</code> if the - browser is mozilla but not MSIE.</p> - - <blockquote> -<pre> - BrowserMatch ^Mozilla netscape - BrowserMatch MSIE !netscape - -</pre> - </blockquote> - - <p>For additional information, we provide a document on <a - href="../env.html">Environment Variables in Apache</a>.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#browsermatch">BrowserMatch</a></li> - - <li><a href="#browsermatchnocase">BrowserMatchNoCase</a></li> - - <li><a href="#setenvif">SetEnvIf</a></li> - - <li><a href="#setenvifnocase">SetEnvIfNoCase</a></li> - </ul> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="browsermatch" name="browsermatch">BrowserMatch - directive</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> BrowserMatch <em>regex - env-variable</em>[=<em>value</em>] - [<em>env-variable</em>[=<em>value</em>]] ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <i>none</i><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_setenvif<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache 1.2 and - above (in Apache 1.2 this directive was found in the - now-obsolete mod_browser module); use in .htaccess files only - supported with 1.3.13 and later</p> - - <p>The BrowserMatch directive defines environment variables - based on the <samp>User-Agent</samp> HTTP request header field. - The first argument should be a POSIX.2 extended regular - expression (similar to an <samp>egrep</samp>-style regex). The - rest of the arguments give the names of variables to set, and - optionally values to which they should be set. These take the - form of</p> - - <ol> - <li><samp><em>varname</em></samp>, or</li> - - <li><samp>!<em>varname</em></samp>, or</li> - - <li><samp><em>varname</em>=<em>value</em></samp></li> - </ol> - - <p>In the first form, the value will be set to "1". The second - will remove the given variable if already defined, and the - third will set the variable to the value given by - <samp><em>value</em></samp>. If a <samp>User-Agent</samp> - string matches more than one entry, they will be merged. - Entries are processed in the order in which they appear, and - later entries can override earlier ones.</p> - - <p>For example:</p> -<pre> - BrowserMatch ^Mozilla forms jpeg=yes browser=netscape - BrowserMatch "^Mozilla/[2-3]" tables agif frames javascript - BrowserMatch MSIE !javascript - -</pre> - - <p>Note that the regular expression string is - <strong>case-sensitive</strong>. For case-INsensitive matching, - see the <a - href="#browsermatchnocase"><samp>BrowserMatchNoCase</samp></a> - directive.</p> - - <p>The <samp>BrowserMatch</samp> and - <samp>BrowserMatchNoCase</samp> directives are special cases of - the <a href="#setenvif"><samp>SetEnvIf</samp></a> and <a - href="#setenvifnocase"><samp>SetEnvIfNoCase</samp></a> - directives. The following two lines have the same effect:</p> -<pre> - BrowserMatchNoCase Robot is_a_robot - SetEnvIfNoCase User-Agent Robot is_a_robot - -</pre> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="browsermatchnocase" - name="browsermatchnocase">BrowserMatchNoCase directive</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> BrowserMatchNoCase - <em>regex env-variable</em>[=<em>value</em>] - [<em>env-variable</em>[=<em>value</em>]] ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>none</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_setenvif<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache 1.2 and - above (in Apache 1.2 this directive was found in the - now-obsolete mod_browser module)</p> - - <p>The <samp>BrowserMatchNoCase</samp> directive is - semantically identical to the <a - href="#BrowserMatch"><samp>BrowserMatch</samp></a> directive. - However, it provides for case-insensitive matching. For - example:</p> -<pre> - BrowserMatchNoCase mac platform=macintosh - BrowserMatchNoCase win platform=windows - -</pre> - - <p>The <samp>BrowserMatch</samp> and - <samp>BrowserMatchNoCase</samp> directives are special cases of - the <a href="#setenvif"><samp>SetEnvIf</samp></a> and <a - href="#SetEnvIfNoCase"><samp>SetEnvIfNoCase</samp></a> - directives. The following two lines have the same effect:</p> -<pre> - BrowserMatchNoCase Robot is_a_robot - SetEnvIfNoCase User-Agent Robot is_a_robot - -</pre> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="setenvif" name="setenvif">SetEnvIf - directive</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> SetEnvIf <em>attribute - regex env-variable</em>[=<em>value</em>] - [<em>env-variable</em>[=<em>value</em>]] ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>none</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_setenvif<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache 1.3 and - above; the Request_Protocol keyword and environment-variable - matching are only available with 1.3.7 and later; use in - .htaccess files only supported with 1.3.13 and later</p> - - <p>The <samp>SetEnvIf</samp> directive defines environment - variables based on attributes of the request. These attributes - can be the values of various HTTP request header fields (see <a - href="http://www.rfc-editor.org/rfc/rfc2616.txt">RFC2616</a> - for more information about these), or of other aspects of the - request, including the following:</p> - - <ul> - <li><samp>Remote_Host</samp> - the hostname (if available) of - the client making the request</li> - - <li><samp>Remote_Addr</samp> - the IP address of the client - making the request</li> - - <li><samp>Remote_User</samp> - the authenticated username (if - available)</li> - - <li><samp>Request_Method</samp> - the name of the method - being used (<samp>GET</samp>, <samp>POST</samp>, <em>et - cetera</em>)</li> - - <li><samp>Request_Protocol</samp> - the name and version of - the protocol with which the request was made (<em>e.g.</em>, - "HTTP/0.9", "HTTP/1.1", <em>etc.</em>)</li> - - <li><samp>Request_URI</samp> - the portion of the URL - following the scheme and host portion</li> - </ul> - - <p>Some of the more commonly used request header field names - include <samp>Host</samp>, <samp>User-Agent</samp>, and - <samp>Referer</samp>.</p> - - <p>If the <em>attribute</em> name doesn't match any of the - special keywords, nor any of the request's header field names, - it is tested as the name of an environment variable in the list - of those associated with the request. This allows - <code>SetEnvIf</code> directives to test against the result of - prior matches.</p> - - <blockquote> - <strong>Only those environment variables defined by earlier - <code>SetEnvIf[NoCase]</code> directives are available for - testing in this manner. 'Earlier' means that they were - defined at a broader scope (such as server-wide) or - previously in the current directive's scope.</strong> - </blockquote> - - <p>Example:</p> -<pre> - SetEnvIf Request_URI "\.gif$" object_is_image=gif - SetEnvIf Request_URI "\.jpg$" object_is_image=jpg - SetEnvIf Request_URI "\.xbm$" object_is_image=xbm - : - SetEnvIf Referer www\.mydomain\.com intra_site_referral - : - SetEnvIf object_is_image xbm XBIT_PROCESSING=1 - -</pre> - - <p>The first three will set the environment variable - <samp>object_is_image</samp> if the request was for an image - file, and the fourth sets <samp>intra_site_referral</samp> if - the referring page was somewhere on the - <samp>www.mydomain.com</samp> Web site.</p> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="setenvifnocase" name="setenvifnocase">SetEnvIfNoCase - directive</a></h2> - - <p><a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> SetEnvIfNoCase - <em>attribute regex env-variable</em>[=<em>value</em>] - [<em>env-variable</em>[=<em>value</em>]] ...<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <em>none</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> FileInfo<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_setenvif<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Apache 1.3 and - above; the Request_Protocol keyword and environment-variable - matching are only available with 1.3.7 and later; use in - .htaccess files only supported with 1.3.13 and later</p> - - <p>The <samp>SetEnvIfNoCase</samp> is semantically identical to - the <a href="#setenvif"><samp>SetEnvIf</samp></a> directive, - and differs only in that the regular expression matching is - performed in a case-insensitive manner. For example:</p> -<pre> - SetEnvIfNoCase Host Apache\.Org site=apache - -</pre> - - <p>This will cause the <samp>site</samp> environment variable - to be set to "<samp>apache</samp>" if the HTTP request header - field <samp>Host:</samp> was included and contained - <samp>Apache.Org</samp>, <samp>apache.org</samp>, or any other - combination.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_setenvif.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_setenvif.html.ja.jis deleted file mode 100644 index 493573c25ee..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_setenvif.html.ja.jis +++ /dev/null @@ -1,336 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_setenvif</title> - - </head> - <!-- English revision: 1.19 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_setenvif $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O!"(B - $B%j%/%(%9%H$NB0@-$K4p$E$$$F4D6-JQ?t$r@_Dj$9$k5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - mod_setenvif.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - setenvif_module<br /> - <a href="module-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> - Apache 1.3 $B0J9_$G;HMQ2DG=!#(B</p> - - <h2>$B35MW(B</h2> - - <p><samp>mod_setenvif</samp> - $B%b%8%e!<%k$O!"%j%/%(%9%H$N$"$kB&LL$,;XDj$5$l$?(B<a - href="../misc/faq.html#regex">$B@55,I=8=(B</a - >$B$K9g$&$+$I$&$+$K$h$C$F4D6-JQ?t$r@_Dj$9$k5!G=$rDs6!$7$^$9!#(B - $B$3$l$i$N4D6-JQ?t$r;HMQ$7$F!"%5!<%P$NB>$NItJ,$,$I$N$h$&$JF0:n$r$9$k$+$r(B - $B7hDj$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$B$3$N%b%8%e!<%k$,Ds6!$9$k%G%#%l%/%F%#%V$O!"(B - $B@_Dj%U%!%$%k$K8=$l$k=gHV$KE,MQ$5$l$^$9!#(B - $B$=$l$r;H$C$F!"<!$NNc$N$h$&$K$h$jJ#;($J@_Dj$r$9$k$3$H$,$G$-$^$9!#(B - $B$3$l$O!"%V%i%&%6$,(B mozilla $B$G$O$"$k$1$l$I!"(BMSIE $B$G$O$J$$$H$-$K(B - <code>netscape</code> $B$r@_Dj$7$^$9!#(B</p> - <blockquote> -<pre> - BrowserMatch ^Mozilla netscape - BrowserMatch MSIE !netscape - -</pre> - </blockquote> - - <p>$B>\:Y$O!"(B<a href="../env.html">Apache - $B$N4D6-JQ?t(B</a>$B$r;2>H$7$F$/$@$5$$!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#browsermatch">BrowserMatch</a></li> - - <li><a href="#browsermatchnocase">BrowserMatchNoCase</a></li> - - <li><a href="#setenvif">SetEnvIf</a></li> - - <li><a href="#setenvifnocase">SetEnvIfNoCase</a></li> - </ul> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="browsermatch" name="browsermatch">BrowserMatch - $B%G%#%l%/%F%#%V(B</a></h2> - - <p><a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> BrowserMatch <em>regex - env-variable</em>[=<em>value</em>] - [<em>env-variable</em>[=<em>value</em>]] ...<br /> - <a href="directive-dict.html#Default" - rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> None<br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_setenvif<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 $B0J>e(B - ($B$3$N%G%#%l%/%F%#%V$O(B Apache 1.2 $B$G$O!":#$G$O(B obsolete $B$K$J$C$F$$$k(B - mod_browser $B%b%8%e!<%k$K$"$j$^$7$?(B)$B!#(B.htaccess $B%U%!%$%k$G$N;HMQ$O(B - 1.3.13 $B0J9_$G$N$_%5%]!<%H!#(B</p> - - <p>BrowserMatch $B%G%#%l%/%F%#%V$O!"(BHTTP $B%j%/%(%9%H$N(B - <samp>User-Agent</samp> - $B%X%C%@%U%#!<%k%I$K4p$E$$$F4D6-JQ?t$r@_Dj$7$^$9!#:G=i$N0z?t$O(B - POSIX.2 $B3HD%@55,I=8=(B (<samp>egrep</samp> - $B7A<0$N@55,I=8=$H;w$?$b$N(B) $B$G$9!#(B - $B;D$j$N0z?t$O!"@_Dj$r$9$kJQ?tL>$H$=$NCM$G!"8e<T$O>JN,2DG=$G$9!#(B - $B$3$l$i$O0J2<$N7A<0$K$J$j$^$9!#(B</p> - - <ol> - <li><samp><em>varname</em></samp>, or</li> - - <li><samp>!<em>varname</em></samp>, or</li> - - <li><samp><em>varname</em>=<em>value</em></samp></li> - </ol> - - <p>$B:G=i$N7A<0$G$O!"CM$O(B "1" $B$K@_Dj$5$l$^$9!#(B - 2 $BHVL\$OJQ?t$,4{$KDj5A$5$l$F$$$?>l9g!"$=$l$r:o=|$7$^$9!#(B - 3 $BHVL\$OJQ?t$NCM$r(B <samp><em>value</em></samp> $B$K@_Dj$7$^$9!#(B - <samp>User-Agent</samp> - $B%U%#!<%k%I$NJ8;zNs$,J#?t$N%(%s%H%j$K%^%C%A$7$?>l9g$O!"(B - $B$=$N7k2L$,$^$H$a$i$l$^$9!#(B - $B%(%s%H%j$O8=$l$?=g$K=hM}$5$l!"8e$N%(%s%H%j$,A0$N$b$N$r>e=q$-$7$^$9!#(B - </p> - <p>$BNc(B:</p> -<pre> - BrowserMatch ^Mozilla forms jpeg=yes browser=netscape - BrowserMatch "^Mozilla/[2-3]" tables agif frames javascript - BrowserMatch MSIE !javascript - -</pre> - - <p>$B@55,I=8=$NJ8;zNs$O(B<strong>$BBgJ8;z>.J8;z$r6hJL$9$k(B</strong - >$B$3$H$KCm0U$7$F$/$@$5$$!#BgJ8;z>.J8;z$r6hJL$7$J$$%^%C%A$O(B<a - href="#browsermatchnocase"><samp>BrowserMatchNoCase</samp></a - >$B%G%#%l%/%F%#%V$r;2>H$7$F$/$@$5$$!#(B - </p> - <p><samp>BrowserMatch</samp> $B%G%#%l%/%F%#%V$H(B - <samp>BrowserMatchNoCase</samp> $B%G%#%l%/%F%#%V$O(B - <a href="#setenvif"><samp>SetEnvIf</samp></a> $B%G%#%l%/%F%#%V(B - <a href="#setenvifnocase"><samp>SetEnvIfNoCase</samp></a> - $B%G%#%l%/%F%#%V$NFCJL$J%1!<%9$G$9!#0J2<$N(B 2 $B9T$OF1$88z2L$K$J$j$^$9(B: - </p> -<pre> - BrowserMatchNoCase Robot is_a_robot - SetEnvIfNoCase User-Agent Robot is_a_robot - -</pre> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="browsermatchnocase" - name="browsermatchnocase">BrowserMatchNoCase $B%G%#%l%/%F%#%V(B</a></h2> - - <p><a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> BrowserMatchNoCase - <em>regex env-variable</em>[=<em>value</em>] - [<em>env-variable</em>[=<em>value</em>]] ...<br /> - <a href="directive-dict.html#Default" - rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>none</em><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_setenvif<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 $B0J>e(B - ($B$3$N%G%#%l%/%F%#%V$O(B Apache 1.2 $B$G$O!":#$G$O(B obsolete $B$K$J$C$F$$$k(B - mod_browser $B%b%8%e!<%k$K$"$j$^$7$?(B)$B!#(B.htaccess $B%U%!%$%k$G$N;HMQ$O(B - 1.3.13 $B0J9_$G$N$_%5%]!<%H!#(B</p> - <p><samp>BrowserMatchNoCase</samp> - $B%G%#%l%/%F%#%V$O!"0UL#E*$K$O(B <a href="#browsermatch" - ><samp>BrowserMatch</samp></a> - $B%G%#%l%/%F%#%V$H$[$H$s$IF1$8$G$9!#(B - $B0c$&E@$O!"BgJ8;z>.J8;z$r6hJL$7$J$$$G%^%C%A$r9T$J$&$3$H$G$9!#Nc(B:</p> -<pre> - BrowserMatchNoCase mac platform=macintosh - BrowserMatchNoCase win platform=windows - -</pre> - <p><samp>BrowserMatch</samp> $B%G%#%l%/%F%#%V$H(B - <samp>BrowserMatchNoCase</samp> $B%G%#%l%/%F%#%V$O(B <a - href="#setenvif"><samp>SetEnvIf</samp></a> $B%G%#%l%/%F%#%V$H(B <a - href="#setenvifnocase"><samp>SetEnvIfNoCase</samp></a> - $B%G%#%l%/%F%#%V$NFCJL$J%1!<%9$G$9!#0J2<$N(B - 2 $B9T$OF1$88z2L$K$J$j$^$9(B:</p> -<pre> - BrowserMatchNoCase Robot is_a_robot - SetEnvIfNoCase User-Agent Robot is_a_robot - -</pre> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="setenvif" name="setenvif">SetEnvIf - $B%G%#%l%/%F%#%V(B</a></h2> - - <p><a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> SetEnvIf <em> attribute - regex env-variable</em>[=<em>value</em>] - [<em>env-variable</em>[=<em>value</em>]] ...<br /> - <a href="directive-dict.html#Default" - rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>none</em><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_setenvif<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 $B0J>e!#(B - Request_Protocol $B%-!<%o!<%I$H4D6-JQ?t$N%^%C%A$O(B 1.3.7 - $B0J9_$G$N$_;HMQ2DG=!#(B.htaccess $B%U%!%$%k$G$N;HMQ$O(B - 1.3.13 $B0J9_$G$N$_%5%]!<%H!#(B</p> - - <p><samp>SetEnvIf</samp> - $B%G%#%l%/%F%#%V$O!"%j%/%(%9%H$NB0@-$K4p$E$$$F4D6-JQ?t$rDj5A$7$^$9!#(B - $B$3$l$i$NB0@-$O!"(BHTTP $B%j%/%(%9%H$N$$$m$$$m$J%X%C%@%U%#!<%k%I(B - ($B>\$7$$>pJs$O(B <a href="http://www.rfc-editor.org/rfc/rfc2616.txt">RFC - 2616</a> $B$r;2>H$7$F$/$@$5$$(B) - $B$+!"0J2<$N$h$&$J!"%j%/%(%9%H$NB>$NB&LL$G$"$k$3$H$,$G$-$^$9!#(B</p> - - <ul> - <li><samp>Remote_Host</samp> - - $B%j%/%(%9%H$r9T$J$C$F$$$k%/%i%$%"%s%H$N%[%9%HL>(B ($B$b$7$"$l$P(B)</li> - - <li><samp>Remote_Addr</samp> - - $B%j%/%(%9%H$r9T$J$C$F$$$k%/%i%$%"%s%H$N(B IP $B%"%I%l%9(B</li> - - <li><samp>Remote_User</samp> - - $BG'>Z$5$l$?%f!<%6L>(B ($B$b$7$"$l$P(B)</li> - - <li><samp>Request_Method</samp> - - $B;HMQ$5$l$F$$$k%a%=%C%IL>(B (<samp>GET</samp>, <samp>POST</samp> - <em>$B$J$I(B</em>)</li> - - <li><samp>Request_Protocol</samp> - - $B%j%/%(%9%H$,9T$J$o$l$?%W%m%H%3%k$NL>A0$H%P!<%8%g%s(B - (<em>$BNc$($P(B</em>$B!"(B"HTTP/0.9", "HTTP/1.1" <em>$B$J$I!#(B</em>)</li> - - <li><samp>Request_URI</samp> - - URL $B$N%9%-!<%`$H%[%9%H$N8e$NItJ,(B</li> - </ul> - - <p>$B$h$/;H$o$l$k%j%/%(%9%H$N%X%C%@%U%#!<%k%I$K$O(B - <samp>Host</samp>, <samp>User-Agent</samp>, <samp>Referer</samp> - $B$,$"$j$^$9!#(B</p> - - <p>$BB0@-L>(B <em>attribute</em> - $B$,FCJL$J%-!<%o!<%I$d%j%/%(%9%H$N%X%C%@%U%#!<%k%IL>$K%^%C%A$7$J$$$H$-$O!"(B - $B%j%/%(%9%H$K4XO"IU$1$i$l$?%j%9%H$K$"$k4D6-JQ?t$NL>A0$H$7$F;n$5$l$^$9!#(B - $B$3$l$K$h$j!"(B<code>SetEnvIf</code> - $B%G%#%l%/%F%#%V$,A0$N%^%C%A$N7k2L$r;HMQ$9$k$3$H$,$G$-$k$h$&$K$J$j$^$9!#(B - </p> - - <blockquote> - <strong>$BA0$N(B <code>SetEnvIf[NoCase]</code> - $B$GDj5A$5$l$?4D6-JQ?t$N$_$r$3$NJ}K!$GD4$Y$k$3$H$,$G$-$^$9!#(B - $B!VA0!W$H$$$&$N$O(B ($B%5!<%PA4BN!"$N$h$&$J(B) - $B$h$j9-$$%9%3!<%W$GDj5A$5$l$?$+!"(B - $B8=%G%#%l%/%F%#%V$N%9%3!<%W$NCf$NA0$NJ}$GDj5A$5$l$?$H$$$&0UL#$G$9!#(B - </strong> - </blockquote> - <p>$BNc(B:</p> -<pre> - SetEnvIf Request_URI "\.gif$" object_is_image=gif - SetEnvIf Request_URI "\.jpg$" object_is_image=jpg - SetEnvIf Request_URI "\.xbm$" object_is_image=xbm - : - SetEnvIf Referer www\.mydomain\.com intra_site_referral - : - SetEnvIf object_is_image xbm XBIT_PROCESSING=1 - -</pre> - - <p>$B@hF,$N;0$D$O%j%/%(%9%H$,2hA|%U%!%$%k$N$H$-$K!"4D6-JQ?t(B - <samp>object_is_image</samp> $B$r@_Dj$7$^$9!#(B - 4 $BHVL\$O;2>H85$N%Z!<%8$,(B <samp>www.mydomain.com</samp> - $B%&%'%V%5%$%H$N$I$3$+$K$"$k>l9g$K(B <samp>intra_site_referral</samp> - $B$r@_Dj$7$^$9!#(B</p> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="setenvifnocase" name="setenvifnocase">SetEnvIfNoCase - $B%G%#%l%/%F%#%V(B</a></h2> - - <p><a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> SetEnvIfNoCase - <em>attribute regex env-variable</em>[=<em>value</em>] - [<em>env-variable</em>[=<em>value</em>]] ...<br /> - <a href="directive-dict.html#default" - rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> <em>none</em><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> FileInfo<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_setenvif<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 $B0J>e!#(B - Request_Protocol $B%-!<%o!<%I$H4D6-JQ?t$N%^%C%A$O(B 1.3.7 - $B0J9_$G$N$_;HMQ2DG=!#(B.htaccess $B%U%!%$%k$G$N;HMQ$O(B - 1.3.13 $B0J9_$G$N$_%5%]!<%H!#(B</p> - - <p><samp>SetEnvIfNoCase</samp> $B$O!"0UL#E*$K$O(B <a - href="#setenvif"><samp>SetEnvIf</samp></a> $B$H$[$H$s$IF1$8$G$9!#(B - $B0c$$$O@55,I=8=$N%^%C%A$,BgJ8;z>.J8;z$r6hJL$7$J$$$G9T$J$o$l$k$3$H$G$9!#(B - $BNc$($P(B:</p> - -<pre> - SetEnvIfNoCase Host Apache\.Org site=apache -</pre> - - <p>$B$3$l$O!"(BHTTP $B%j%/%(%9%H$N(B <samp>Host:</samp> - $B%X%C%@%U%#!<%k%I$,$"$j!"$=$NCM$,(B - <samp>Apache.org</samp>, <samp>apache.org</samp> - $B$d$=$NB>$NBgJ8;z>.J8;z$NAH$_9g$o$;$G$"$C$?$H$-$K!"4D6-JQ?t(B - <samp>site</samp> $B$r(B "<samp>apache</samp>" $B$K@_Dj$7$^$9!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_so.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_so.html.en deleted file mode 100644 index 4e81065380e..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_so.html.en +++ /dev/null @@ -1,201 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_so</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_so</h1> - - <p>This module provides for loading of executable code and - modules into the server at start-up or restart time.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base (Windows); - Experimental (Unix)<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> mod_so.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - so_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.3 and later.</p> - - <h2>Summary</h2> - - <p>This is an experimental module. On selected operating - systems it can be used to load modules into Apache at runtime - via the <a href="../dso.html">Dynamic Shared Object</a> (DSO) - mechanism, rather than requiring a recompilation.</p> - - <p>On Unix, the loaded code typically comes from shared object - files (usually with <samp>.so</samp> extension), whilst on - Windows this module loads <samp>DLL</samp> files. This module - is only available in Apache 1.3 and up.</p> - - <p>In previous releases, the functionality of this module was - provided for Unix by mod_dld, and for Windows by mod_dll. On - Windows, mod_dll was used in beta release 1.3b1 through 1.3b5. - mod_so combines these two modules into a single module for all - operating systems.</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#loadfile">LoadFile</a></li> - - <li><a href="#loadmodule">LoadModule</a></li> - </ul> - - <h2><a id="creating" name="creating">Creating DLL Modules for - Windows</a></h2> - - <p>The Apache module API is unchanged between the Unix and - Windows versions. Many modules will run on Windows with no or - little change from Unix, although others rely on aspects of the - Unix architecture which are not present in Windows, and will - not work.</p> - - <p>When a module does work, it can be added to the server in - one of two ways. As with Unix, it can be compiled into the - server. Because Apache for Windows does not have the - <code>Configure</code> program of Apache for Unix, the module's - source file must be added to the ApacheCore project file, and - its symbols must be added to the - <code>os\win32\modules.c</code> file.</p> - - <p>The second way is to compile the module as a DLL, a shared - library that can be loaded into the server at runtime, using - the <code><a href="#loadmodule">LoadModule</a></code> - directive. These module DLLs can be distributed and run on any - Apache for Windows installation, without recompilation of the - server.</p> - - <p>To create a module DLL, a small change is necessary to the - module's source file: The module record must be exported from - the DLL (which will be created later; see below). To do this, - add the <code>MODULE_VAR_EXPORT</code> (defined in the Apache - header files) to your module's module record definition. For - example, if your module has:</p> -<pre> - module foo_module; -</pre> - - <p>Replace the above with:</p> -<pre> - module MODULE_VAR_EXPORT foo_module; -</pre> - - <p>Note that this will only be activated on Windows, so the - module can continue to be used, unchanged, with Unix if needed. - Also, if you are familiar with <code>.DEF</code> files, you can - export the module record with that method instead.</p> - - <p>Now, create a DLL containing your module. You will need to - link this against the ApacheCore.lib export library that is - created when the ApacheCore.dll shared library is compiled. You - may also have to change the compiler settings to ensure that - the Apache header files are correctly located.</p> - - <p>This should create a DLL version of your module. Now simply - place it in the <samp>modules</samp> directory of your server - root, and use the <code><a - href="#loadmodule">LoadModule</a></code> directive to load - it.</p> - <hr /> - - <h2><a id="loadfile" name="loadfile">LoadFile</a> - directive</h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LoadFile - <em>filename</em> [<em>filename</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_so - - <p>The LoadFile directive links in the named object files or - libraries when the server is started or restarted; this is used - to load additional code which may be required for some module - to work. <em>Filename</em> is either an absolute path or - relative to <a href="core.html#serverroot">ServerRoot</a>.</p> - - <p>For example:</p> - <code>LoadFile libexec/libxmlparse.so</code> - - <hr /> - - <h2><a id="loadmodule" name="loadmodule">LoadModule</a> - directive</h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> LoadModule <em>module - filename</em><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_so - - <p>The LoadModule directive links in the object file or library - <em>filename</em> and adds the module structure named - <em>module</em> to the list of active modules. <em>Module</em> - is the name of the external variable of type - <code>module</code> in the file, and is listed as the <a - href="module-dict.html#ModuleIdentifier">Module Identifier</a> - in the module documentation. Example (Unix, and for Windows as - of Apache 1.3.15):</p> - - <blockquote> - <code>LoadModule status_module modules/mod_status.so</code> - </blockquote> - - <p>Example (Windows prior to Apache 1.3.15, and some 3rd party - modules):</p> - - <blockquote> - <code>LoadModule foo_module modules/ApacheModuleFoo.dll<br /> - </code> - </blockquote> - - <p><strong>Note that all modules bundled with the Apache Win32 - binary distribution were renamed as of Apache version - 1.3.15</strong>.</p> - - <p>Win32 Apache modules are often distributed with the old - style names, or even a name such as libfoo.dll. Whatever the - name of the module, the LoadModule directive requires the exact - filename, no assumption is made about the filename - extension.</p> - - <p><strong>See also</strong>: <a - href="core.html#addmodule">AddModule</a> and <a - href="core.html#clearmodulelist">ClearModuleList</a></p> - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_so.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_so.html.ja.jis deleted file mode 100644 index 9bde47abaaa..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_so.html.ja.jis +++ /dev/null @@ -1,201 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_so</title> - - </head> - <!-- English revision: 1.14--> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_so $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O!"%5!<%P$N5/F0;~$d:F5/F0;~$K<B9T%3!<%I$H(B - $B%b%8%e!<%k$r%5!<%P$KFI$_9~$`5!G=$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> - Base (Windows); Experimental (Unix)<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> mod_so.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - so_module<br /> - <a href="module-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> - Apache 1.3 $B0J9_$G;HMQ2DG=!#(B</p> - - <h2>$B35MW(B</h2> - - <p>$B$3$l$O<B83E*$J%b%8%e!<%k$G$9!#(B - $B%*%Z%l!<%F%#%s%0%7%9%F%`$K$h$C$F$O!"%5!<%P$N:F%3%s%Q%$%k$r$9$kBe$o$j$K!"(B - <a href="../dso.html">Dynamic Shared Object</a> - (DSO) $B5!9=$K$h$j!"<B9T;~$K(B Apache $B$K%b%8%e!<%k$rFI$_9~$`!"$H$$$&$3$H$r(B - $B9T$J$&$?$a$K$3$N%b%8%e!<%k$r;HMQ$9$k$3$H$,$G$-$^$9!#(B</p> - <p>Unix $B>e$G$O!"FI$_9~$^$l$k%3!<%I$ODL>o$O%7%'%"!<%I%*%V%8%'%/%H%U%!%$%k(B - ($BIaDL(B <samp>.so</samp> $B$H$$$&3HD%;R$,IU$$$F$$$^$9(B) $B$+$i$G$9!#(B - $B0lJ}!"(BWindows $B>e$G$O$3$N%b%8%e!<%k$O(B <samp>DLL</samp> - $B%U%!%$%k$rFI$_9~$_$^$9!#$3$N%b%8%e!<%k$O(B - Apache 1.3 $B0J9_$N$_$G;HMQ2DG=$G$9!#(B</p> - <p>$B0JA0$N%j%j!<%9$G$O!"$3$N%b%8%e!<%k$N5!G=$O(B Unix $B$G$O(B mod_dld$B!"(B - Windows $B$G$O(B mod_dll $B$K$h$jDs6!$5$l$F$$$^$7$?!#(BWindows $B$G$O!"(B - mod_dll $B$O(B 1.3b1 $B$+$i(B 1.3b5 $B$^$G$N%Y!<%?%j%j!<%9$G;HMQ$5$l$F$$$^$7$?!#(B - mod_so $B$O$9$Y$F$N%*%Z%l!<%F%#%s%0%7%9%F%`MQ$K!"(B - $B$3$NFs$D$N%b%8%e!<%k$r0l$D$N%b%8%e!<%k$K$^$H$a$?$b$N$G$9!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#loadfile">LoadFile</a></li> - - <li><a href="#loadmodule">LoadModule</a></li> - </ul> - - <h2><a id="creating" name="creating">Windows $BMQ$N(B DLL - $B%b%8%e!<%k$r:n@.$9$k(B</a></h2> - - <p>Apache $B$N%b%8%e!<%k(B API $B$O(B UNIX $B$H(B Windows $B$H$GJQ99$5$l$F$$$^$;$s!#(B - $BB?$/$N%b%8%e!<%k$OA4$/JQ99$J$7!"$b$7$/$O4JC1$JJQ99$K$h$j(B Windows - $B$G<B9T$G$-$k$h$&$K$J$j$^$9!#$?$@$7!"$=$l0J30$N(B Windows $B$K$OL5$$(B Unix - $B%"!<%-%F%/%A%c!<$N5!G=$K0MB8$7$?%b%8%e!<%k$OF0:n$7$^$;$s!#(B</p> - - <p>$B%b%8%e!<%k$,<B:]$KF0:n$9$k$H$-$O!"(B - $BFs$D$NJ}K!$N$I$A$i$+$G%5!<%P$KDI2C$9$k$3$H$,$G$-$^$9!#$^$:!"(BUnix - $B$HF1MM$K%5!<%P$K%3%s%Q%$%k$7$FAH$_9~$`$3$H$,$G$-$^$9!#(BWindows - $BMQ$N(B Apache $B$O(B Unix $BMQ$N(B Apache $B$K$"$k(B <code>Configure</code> - $B%W%m%0%i%`$,$"$j$^$;$s$N$G!"%b%8%e!<%k$N%=!<%9%U%!%$%k$r(B - ApacheCore $B%W%m%8%'%/%H%U%!%$%k$KDI2C$7!"%7%s%\%k$r(B - <code>os\win32\modules.c</code> $B%U%!%$%k$KDI2C$9$kI,MW$,$"$j$^$9!#(B</p> - - <p>$BFs$DL\$O%b%8%e!<%k$r(B DLL $B$H$7$F%3%s%Q%$%k$9$kJ}K!$G$9!#(B - DLL $B$O%7%'%"!<%I%i%$%V%i%j$G!"<B9T;~$K(B - <code><a href="#loadmodule">LoadModule</a></code> - $B%G%#%l%/%F%#%V$K$h$j%5!<%P$KFI$_9~$`$3$H$,$G$-$^$9!#$3$l$i$N%b%8%e!<%k(B - DLL $B$OG[I[$9$k$3$H$,2DG=$G!"%5!<%P$r:F%3%s%Q%$%k$9$k$3$H$J$/!"(BWindows - $BMQ$N(B Apache $B$N$9$Y$F$N%$%s%9%H!<%k$G<B9T$9$k$3$H$,$G$-$^$9!#(B</p> - - <p>$B%b%8%e!<%k(B DLL $B$r:n@.$9$k$?$a$K$O!"(B - $B%b%8%e!<%k$N:n@.$K>.$5$JJQ99$r9T$J$&I,MW$,$"$j$^$9!#(B - $B$D$^$j!"%b%8%e!<%k$N%l%3!<%I$,(B DLL ($B$3$l$O8e$G:n@.$5$l$^$9!#(B - $B0J2<$r;2>H$7$F$/$@$5$$(B) $B$+$i%(%/%9%]!<%H$5$l$J$1$l$P$J$j$^$;$s!#(B - $B$3$l$r9T$J$&$K$O!"(B<code>MODULE_VAR_EXPORT</code> (Apache - $B$N%X%C%@%U%!%$%k$GDj5A$5$l$F$$$^$9(B) $B$r%b%8%e!<%k$N%b%8%e!<%k%l%3!<%I(B - $BDj5A$NItJ,$KDI2C$7$F$/$@$5$$!#$?$H$($P!"%b%8%e!<%k$K(B</p> -<pre> - module foo_module; -</pre> - - <p>$B$,$"$k$H$9$k$H!"$=$l$r<!$N$b$N$GCV$-49$($F$/$@$5$$!#(B</p> -<pre> - module MODULE_VAR_EXPORT foo_module; -</pre> - - <p>$B$b$7(B Unix $B>e$G$3$N%b%8%e!<%k$r;HMQ$7$?$/$J$C$F$b!"(B - $BJQ99L5$7$G;H$$B3$1$i$l$k$h$&$K!"$3$N%^%/%m$O(B Windows - $B>e$G$N$_8zNO$r;}$D$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B<code>.DEF</code> - $B%U%!%$%k$NJ}$rNI$/CN$C$F$$$k$H$$$&>l9g$O!"(B - $BBe$o$j$K$=$l$r;H$C$F%b%8%e!<%k%l%3!<%I$r(B - $B%(%/%9%]!<%H$9$k$3$H$b$G$-$^$9!#(B</p> - <p>$B$3$3$G!"$"$J$?$N%b%8%e!<%k$N(B DLL $B$r:n@.$7$F$/$@$5$$!#$3$l$r!"(B - ApacheCore.dll $B%7%'%"!<%I%i%$%V%i%j$,%3%s%Q%$%k$5$l$?$H$-$K:n@.$5$l$?(B - ApacheCore.lib $B%(%/%9%]!<%H%i%$%V%i%j$H%j%s%/$7$F$/$@$5$$!#$3$N;~$K!"(B - Apache $B$N%X%C%@%U%!%$%k$,@5$7$$0LCV$K$"$k$h$&$K!"(B - $B%3%s%Q%$%i$N@_Dj$rJQ$($kI,MW$,$"$k$+$b$7$l$^$;$s!#(B</p> - - <p>$B$3$l$G(B DLL $BHG$N%b%8%e!<%k$,:n@.$5$l$F$$$k$O$:$G$9!#(B - $B$5$"!"%5!<%P%k!<%H$N(B <samp>modules</samp> - $B%G%#%l%/%H%j$K%b%8%e!<%k$rCV$$$F!"(B<code><a - href="#loadmodule">LoadModule</a></code> - $B%G%#%l%/%F%#%V$r;H$C$FFI$_9~$s$G$/$@$5$$!#(B</p> - <hr /> - - <h2><a id="loadfile" name="loadfile">LoadFile</a> - $B%G%#%l%/%F%#%V(B</h2> - - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> LoadFile - <em>filename</em> [<em>filename</em>] ...<br /> - <a href="directive-dict.html#Context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> $B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_so - - <p>LoadFile $B%G%#%l%/%F%#%V$O!"%5!<%P$,5/F0$5$l$?$H$-$d:F5/F0$5$l$?$H$-$K!"(B - $B;XDj$5$l$?%*%V%8%'%/%H%U%!%$%k$d%i%$%V%i%j$r%j%s%/$7$^$9!#(B - $B$3$l$O%b%8%e!<%k$,F0:n$9$k$?$a$KI,MW$K$J$k$+$b$7$l$J$$DI2C$N(B - $B%3!<%I$rFI$_9~$`$?$a$K;HMQ$5$l$^$9!#(B<em>Filename</em> $B$O@dBP%Q%9$+!"(B<a - href="core.html#serverroot">ServerRoot</a> $B$+$i$NAjBP%Q%9$G$9!#(B</p> - - <p>$BNc(B:</p> - <code>LoadFile libexec/libxmlparse.so</code> - - <hr /> - - <h2><a id="loadmodule" name="loadmodule">LoadModule</a> - $B%G%#%l%/%F%#%V(B</h2> - - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> LoadModule <em>module - filename</em><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a>$B%5!<%P@_Dj%U%!%$%k(B<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_so - - <p>LoadModule $B%G%#%l%/%F%#%V$O(B <em>filename</em> - $B$H$$$&%*%V%8%'%/%H%U%!%$%k$*$h$S%i%$%V%i%j$r%j%s%/$7!"(B<em>module</em> - $B$H$$$&L>A0$N%b%8%e!<%k$N9=B$$r%"%/%F%#%V$J%b%8%e!<%k$N%j%9%H$KDI2C$7$^$9!#(B - <em>Module</em> $B$O%U%!%$%kCf$N(B <code>module</code> - $B7?$N30ItJQ?t$NL>A0$G!"%b%8%e!<%k$N%I%-%e%a%s%H$K(B - <a href="module-dict.html#moduleidentifier" - >$B%b%8%e!<%k<1JL;R(B</a>$B$H$7$F=q$+$l$F$$$k$b$N$G$9!#Nc(B - (Unix $B$H(B Apache 1.3.15 $B0J9_$N(B Windows):</p> - - <blockquote> - <code>LoadModule status_module modules/mod_status.so</code> - </blockquote> - - <p>$BNc(B (Apache 1.3.15 $B0JA0$N(B - Windows, $B%5!<%I%Q!<%F%#%b%8%e!<%k$N0lIt(B):</p> - - <blockquote> - <code>LoadModule foo_module modules/ApacheModuleFoo.dll<br /> - </code> - </blockquote> - - <p><strong>Apache 1.3.15 $B$N;~E@$G(B Apache Win32 $B%P%$%J%jG[I[$KIUB0$7$F$$$k(B - $B$9$Y$F$N%b%8%e!<%k$NL>A0$,JQ99$5$l$?$3$H$KCm0U$7$F$/$@$5$$(B</strong>$B!#(B - </p> - - <p>Win32 Apache $B%b%8%e!<%k$O$7$P$7$P8E$$7A<0$NL>A0$GG[I[$5$l$k$3$H$,$"$j!"(B - libfoo.dll $B$N$h$&$JL>A0$GG[I[$5$l$?$j$9$k$3$H$5$($"$j$^$9!#(B - $B%b%8%e!<%k$NL>A0$K4X78$J$/!"(BLoadModule - $B%G%#%l%/%F%#%V$O@53N$J%U%!%$%kL>$rMW5a$7$^$9!#(B - $B%U%!%$%kL>$N3HD%;R$K4X$7$F$O2?$N2>Dj$b9T$J$$$^$;$s!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - - <p><strong>$B;2>H(B</strong>: <a - href="core.html#addmodule">AddModule</a> $B$H(B <a - href="core.html#clearmodulelist">ClearModuleList</a></p> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_speling.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_speling.html.en deleted file mode 100644 index e51ea83f8eb..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_speling.html.en +++ /dev/null @@ -1,133 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_speling</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_speling</h1> - - <p>This module attempts to correct misspellings of URLs that - users might have entered, by ignoring capitalization and by - allowing up to one misspelling.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> - mod_speling.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - speling_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.3 and later. Available as an External module in Apache - 1.1 and later.</p> - - <h2>Summary</h2> - - <p>Requests to documents sometimes cannot be served by the core - apache server because the request was misspelled or - miscapitalized. This module addresses this problem by trying to - find a matching document, even after all other modules gave up. - It does its work by comparing each document name in the - requested directory against the requested document name - <strong>without regard to case</strong>, and allowing - <strong>up to one misspelling</strong> (character insertion / - omission / transposition or wrong character). A list is built - with all document names which were matched using this - strategy.</p> - - <p>If, after scanning the directory,</p> - - <ul> - <li>no matching document was found, Apache will proceed as - usual and return a "document not found" error.</li> - - <li>only one document is found that "almost" matches the - request, then it is returned in the form of a redirection - response.</li> - - <li>more than one document with a close match was found, then - the list of the matches is returned to the client, and the - client can select the correct candidate.</li> - </ul> - - <h2>Directives</h2> - - <ul> - <li><a href="#checkspelling">CheckSpelling</a></li> - </ul> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="checkspelling" - name="checkspelling">CheckSpelling</a> directive</h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> CheckSpelling - on|off<br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>CheckSpelling - Off</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host, directory, .htaccess<br /> - <a href="directive-dict.html#Override" - rel="Help"><strong>Override:</strong></a> Options <br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_speling<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> CheckSpelling - was available as a separately available module for Apache 1.1, - but was limited to miscapitalizations. As of Apache 1.3, it is - part of the Apache distribution. Prior to Apache 1.3.2, the - <samp>CheckSpelling</samp> directive was only available in the - "server" and "virtual host" contexts. - - <p>This directive enables or disables the spelling module. When - enabled, keep in mind that</p> - - <ul> - <li>the directory scan which is necessary for the spelling - correction will have an impact on the server's performance - when many spelling corrections have to be performed at the - same time.</li> - - <li>the document trees should not contain sensitive files - which could be matched inadvertently by a spelling - "correction".</li> - - <li>the module is unable to correct misspelled user names (as - in <code>http://my.host/~apahce/</code>), just file names or - directory names.</li> - - <li>spelling corrections apply strictly to existing files, so - a request for the <samp><Location /status></samp> may - get incorrectly treated as the negotiated file - "<samp>/stats.html</samp>".</li> - </ul> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_speling.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_speling.html.ja.jis deleted file mode 100644 index c209f83fcdc..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_speling.html.ja.jis +++ /dev/null @@ -1,133 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_speling</title> - - </head> - <!-- English revision: 1.14 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_speling $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$OBgJ8;z>.J8;z$N0c$$$rL5;k$7$?$j!"(B - $B0lJ8;z0J2<$NDV$j$N4V0c$$$rL5;k$9$k$3$H$G(B - URL $B$NDV$j$N4V0c$$$N=$@5$r;n$_$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - mod_speling.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - speling_module<br /> - <a href="module-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 - $B0J9_$G;HMQ2DG=!#(BApache 1.1 $B0J9_$G$O30It%b%8%e!<%k$H$7$F;HMQ2DG=!#(B - </p> - - <h2>$B35MW(B</h2> - - <p>$B%j%/%(%9%H$NDV$j$,4V0c$C$F$$$?$j!"(B - $BBgJ8;z>.J8;z$,0c$C$F$$$?$j$9$k$?$a$K!"(BApache $B$N%3%"%5!<%P$,(B - $B%I%-%e%a%s%H$X$N%j%/%(%9%H$X$N1~Ez$r@5$7$/Ds6!$G$-$J$$$3$H$,$"$j$^$9!#(B - $B$3$N%b%8%e!<%k$O!"B>$N$9$Y$F$N%b%8%e!<%k$,$"$-$i$a$?8e$G$"$C$?$H$7$F$b!"(B - $B%j%/%(%9%H$K9g$&%I%-%e%a%s%H$r8+$D$1$h$&$H$9$k$3$H$K$h$j$3$NLdBj$N(B - $B2r7h$r;n$_$^$9!#$3$N%b%8%e!<%k$O%j%/%(%9%H$5$l$?%G%#%l%/%H%j$K$"$k(B - $B$=$l$>$l$N%I%-%e%a%s%H$NL>A0$H!"%j%/%(%9%H$5$l$?%I%-%e%a%s%H$NL>A0$H$r(B - <strong>$BBgJ8;z>.J8;z$N6hJL$rL5;k$7(B</strong>$B!"(B - <strong>$B0lJ8;z$^$G$NDV$j$N4V0c$$(B</strong> - ($BJ8;z$NA^F~(B/$B>JN,(B/$BNY9g$&J8;z$NCV49!"4V0c$C$?J8;z(B) - $B$r5v2D$7$FHf3S$9$k$3$H$K$h$j!"L\E*$rC#@.$7$h$&$H$7$^$9!#(B - $B$3$NJ}K!$G%j%/%(%9%H$K9g$&%I%-%e%a%s%H$N0lMw$,:n@.$5$l$^$9!#(B</p> - - <p>$B%G%#%l%/%H%j$r%9%-%c%s$7$?8e$K!"(B</p> - - <ul> - <li>$BE,@Z$J%I%-%e%a%s%H$,8+$D$+$i$J$+$C$?>l9g!"(B - Apache $B$O$$$D$b$HF1$8$h$&$K=hM}$r$7!"(B - $B!V%I%-%e%a%s%H$,8+$D$+$i$J$$!W$H$$$&%(%i!<$rJV$7$^$9!#(B</li> - - <li>$B%j%/%(%9%H$K!V$[$H$s$I!W9g$&%I%-%e%a%s%H$,0l$D$@$18+$D$+$C$?>l9g!"(B - $B$=$l$,%j%@%$%l%/%H1~Ez$H$7$FJV$5$l$^$9!#(B</li> - - <li>$B$h$/;w$?%I%-%e%a%s%H$,J#?t8+$D$+$C$?>l9g!"(B - $B$=$N%j%9%H$,%/%i%$%"%s%H$KJV$5$l!"(B - $B%/%i%$%"%s%H$,@5$7$$8uJd$rA*Br$G$-$k$h$&$K$7$^$9!#(B</li> - </ul> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#checkspelling">CheckSpelling</a></li> - </ul> - <hr /> - <!-- the HR is part of the directive description --> - - <h2><a id="checkspelling" - name="checkspelling">CheckSpelling</a> $B%G%#%l%/%F%#%V(B</h2> - - <a href="directive-dict.html#syntax" - rel="help"><strong>$B9=J8(B:</strong></a> CheckSpelling on|off<br /> - <a href="directive-dict.html#default" - rel="help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>CheckSpelling - Off</code><br /> - <a href="directive-dict.html#context" - rel="help"><strong>$B%3%s%F%-%9%H(B:</strong></a> - $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H!"%G%#%l%/%H%j!"(B.htaccess<br /> - <a href="directive-dict.html#override" - rel="help"><strong>$B>e=q$-(B:</strong></a> Options<br /> - <a href="directive-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="directive-dict.html#module" - rel="help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_speling<br /> - <a href="directive-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> CheckSpelling $B$O(B - Apache 1.1 $B$G$O30It$N%b%8%e!<%k$H$7$F;HMQ2DG=$G$7$?$,!"(B - $BBgJ8;z>.J8;z$N0c$$$r=$@5$9$k5!G=$N$_$G$7$?!#(BApache 1.3 $B$G$O(B - Apache $B$NG[I[$N0lIt$K$J$C$F$$$^$9!#(BApache 1.3.2 $B0JA0$G$O!"(B - <samp>CheckSpelling</samp> $B%G%#%l%/%F%#%V$O(B "$B%5!<%P(B" $B$H(B - "$B%P!<%A%c%k%[%9%H(B" $B$N%3%s%F%-%9%H$N$_$G;HMQ2DG=$G$7$?!#(B - - - <p>$B$3$N%G%#%l%/%F%#%V$ODV$jMQ$N%b%8%e!<%k$r;HMQ$9$k$+$I$&$+$r(B - $B7h$a$^$9!#;HMQ;~$K$O!"0J2<$N$3$H$r3P$($F$*$$$F$/$@$5$$(B</p> - - <ul> - <li>$BF1;~$K$?$/$5$s$NDV$j$ND{@5$r9T$J$o$J$1$l$P$J$i$J$$$H$-$O!"(B - $B$=$N$?$a$K9T$J$o$l$k%G%#%l%/%H%j$N%9%-%c%s$,(B - $B%5!<%P$N@-G=$K1F6A$rM?$($^$9!#(B</li> - - <li>$B%I%-%e%a%s%H$NCf$KDV$j$N!VD{@5!W$K$h$j(B - $B0U?^$;$:9g$C$F$7$^$&$h$&$J=EMW$J%U%!%$%k$,$J$$$h$&$K$7$F$/$@$5$$!#(B - </li> - - <li>$B%b%8%e!<%k$O%f!<%6L>$NDV$j$N4V0c$$(B - (<code>http://my.host/~apahce/</code> $B$N$h$&$K(B) - $B$rD{@5$9$k$3$H$O$G$-$^$;$s!#(B - $BD{@5$G$-$k$N$O%U%!%$%kL>$H%G%#%l%/%H%jL>$@$1$G$9!#(B</li> - - <li>$BDV$j$ND{@5$OB8:_$9$k%U%!%$%k$K87L)$KE,MQ$5$l$^$9$N$G!"(B - <samp><Location /status></samp> - $B$O%M%4%7%(!<%7%g%s$N7k2L$N%U%!%$%k(B "<samp>/stats.html</samp>" - $B$H$7$F4V0c$C$F07$o$l$k$+$b$7$l$^$;$s!#(B</li> - </ul> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_unique_id.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_unique_id.html.en deleted file mode 100644 index 5baf0169b49..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_unique_id.html.en +++ /dev/null @@ -1,216 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_unique_id</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_unique_id</h1> - - <p>This module provides an environment variable with a unique - identifier for each request.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Extension<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> - mod_unique_id.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - unique_id_module<br /> - <a href="module-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> Available in - Apache 1.3 and later.</p> - - <h2>Summary</h2> - - <p>This module provides a magic token for each request which is - guaranteed to be unique across "all" requests under very - specific conditions. The unique identifier is even unique - across multiple machines in a properly configured cluster of - machines. The environment variable <code>UNIQUE_ID</code> is - set to the identifier for each request. Unique identifiers are - useful for various reasons which are beyond the scope of this - document.</p> - - <h2>Directives</h2> - - <p>This module has no directives.</p> - - <h2>Theory</h2> - - <p>First a brief recap of how the Apache server works on Unix - machines. On Unix machines, Apache creates several children, - the children process requests one at a time. Each child can - serve multiple requests in its lifetime. For the purpose of - this discussion, the children don't share any data with each - other. We'll refer to the children as httpd processes.</p> - - <p>Your website has one or more machines under your - administrative control, together we'll call them a cluster of - machines. Each machine can possibly run multiple instances of - Apache. All of these collectively are considered "the - universe", and with certain assumptions we'll show that in this - universe we can generate unique identifiers for each request, - without extensive communication between machines in the - cluster.</p> - - <p>The machines in your cluster should satisfy these - requirements. (Even if you have only one machine you should - synchronize its clock with NTP.)</p> - - <ul> - <li>The machines' times are synchronized via NTP or other - network time protocol.</li> - - <li>The machines' hostnames all differ, such that the module - can do a hostname lookup on the hostname and receive a - different IP address for each machine in the cluster.</li> - </ul> - - <p>As far as operating system assumptions go, we assume that - pids (process ids) fit in 32-bits. If the operating system uses - more than 32-bits for a pid, the fix is trivial but must be - performed in the code.</p> - - <p>Given those assumptions, at a single point in time we can - identify any httpd process on any machine in the cluster from - all other httpd processes. The machine's IP address and the pid - of the httpd process are sufficient to do this. So in order to - generate unique identifiers for requests we need only - distinguish between different points in time.</p> - - <p>To distinguish time we will use a Unix timestamp (seconds - since January 1, 1970 UTC), and a 16-bit counter. The timestamp - has only one second granularity, so the counter is used to - represent up to 65536 values during a single second. The - quadruple <em>( ip_addr, pid, time_stamp, counter )</em> is - sufficient to enumerate 65536 requests per second per httpd - process. There are issues however with pid reuse over time, and - the counter is used to alleviate this issue.</p> - - <p>When an httpd child is created, the counter is initialized - with ( current microseconds divided by 10 ) modulo 65536 (this - formula was chosen to eliminate some variance problems with the - low order bits of the microsecond timers on some systems). When - a unique identifier is generated, the time stamp used is the - time the request arrived at the web server. The counter is - incremented every time an identifier is generated (and allowed - to roll over).</p> - - <p>The kernel generates a pid for each process as it forks the - process, and pids are allowed to roll over (they're 16-bits on - many Unixes, but newer systems have expanded to 32-bits). So - over time the same pid will be reused. However unless it is - reused within the same second, it does not destroy the - uniqueness of our quadruple. That is, we assume the system does - not spawn 65536 processes in a one second interval (it may even - be 32768 processes on some Unixes, but even this isn't likely - to happen).</p> - - <p>Suppose that time repeats itself for some reason. That is, - suppose that the system's clock is screwed up and it revisits a - past time (or it is too far forward, is reset correctly, and - then revisits the future time). In this case we can easily show - that we can get pid and time stamp reuse. The choice of - initializer for the counter is intended to help defeat this. - Note that we really want a random number to initialize the - counter, but there aren't any readily available numbers on most - systems (<em>i.e.</em>, you can't use rand() because you need - to seed the generator, and can't seed it with the time because - time, at least at one second resolution, has repeated itself). - This is not a perfect defense.</p> - - <p>How good a defense is it? Suppose that one of your machines - serves at most 500 requests per second (which is a very - reasonable upper bound at this writing, because systems - generally do more than just shovel out static files). To do - that it will require a number of children which depends on how - many concurrent clients you have. But we'll be pessimistic and - suppose that a single child is able to serve 500 requests per - second. There are 1000 possible starting counter values such - that two sequences of 500 requests overlap. So there is a 1.5% - chance that if time (at one second resolution) repeats itself - this child will repeat a counter value, and uniqueness will be - broken. This was a very pessimistic example, and with real - world values it's even less likely to occur. If your system is - such that it's still likely to occur, then perhaps you should - make the counter 32 bits (by editing the code).</p> - - <p>You may be concerned about the clock being "set back" during - summer daylight savings. However this isn't an issue because - the times used here are UTC, which "always" go forward. Note - that x86 based Unixes may need proper configuration for this to - be true -- they should be configured to assume that the - motherboard clock is on UTC and compensate appropriately. But - even still, if you're running NTP then your UTC time will be - correct very shortly after reboot.</p> - - <p>The <code>UNIQUE_ID</code> environment variable is - constructed by encoding the 112-bit (32-bit IP address, 32 bit - pid, 32 bit time stamp, 16 bit counter) quadruple using the - alphabet <code>[A-Za-z0-9@-]</code> in a manner similar to MIME - base64 encoding, producing 19 characters. The MIME base64 - alphabet is actually <code>[A-Za-z0-9+/]</code> however - <code>+</code> and <code>/</code> need to be specially encoded - in URLs, which makes them less desirable. All values are - encoded in network byte ordering so that the encoding is - comparable across architectures of different byte ordering. The - actual ordering of the encoding is: time stamp, IP address, - pid, counter. This ordering has a purpose, but it should be - emphasized that applications should not dissect the encoding. - Applications should treat the entire encoded - <code>UNIQUE_ID</code> as an opaque token, which can be - compared against other <code>UNIQUE_ID</code>s for equality - only.</p> - - <p>The ordering was chosen such that it's possible to change - the encoding in the future without worrying about collision - with an existing database of <code>UNIQUE_ID</code>s. The new - encodings should also keep the time stamp as the first element, - and can otherwise use the same alphabet and bit length. Since - the time stamps are essentially an increasing sequence, it's - sufficient to have a <em>flag second</em> in which all machines - in the cluster stop serving and request, and stop using the old - encoding format. Afterwards they can resume requests and begin - issuing the new encodings.</p> - - <p>This is a relatively portable solution. It is extended to - multithreaded systems like Windows NT, which add the thread-id - to the ID, producing a 144-bit (including 32-bit tid) quadruple - that generates a 24 character UNIQUE_ID value. The identifiers - generated have essentially an infinite life-time because future - identifiers can be made longer as required. Essentially no - communication is required between machines in the cluster (only - NTP synchronization is required, which is low overhead), and no - communication between httpd processes is required (the - communication is implicit in the pid value assigned by the - kernel). In very specific situations the identifier can be - shortened, but more information needs to be assumed (for - example the 32-bit IP address is overkill for any site, but - there is no portable shorter replacement for it). This module - may be extended to include an entire IPv6 address, but that is - overkill for nearly all server configurations. - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </p> - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_unique_id.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_unique_id.html.ja.jis deleted file mode 100644 index 8a28c1112f6..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_unique_id.html.ja.jis +++ /dev/null @@ -1,213 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_unique_id</title> - - </head> - <!-- English revision: 1.9 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_unique_id $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O!"$=$l$>$l$N%j%/%(%9%H$KBP$7$F(B - $B0l0U$J<1JL;R$r;}$D4D6-JQ?t$rDs6!$7$^$9!#(B</p> - - <p><a href="module-dict.html#status" - rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> Extension<br /> - <a href="module-dict.html#sourcefile" - rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - mod_unique_id.c<br /> - <a href="module-dict.html#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - unique_id_module<br /> - <a href="module-dict.html#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> Apache 1.3 - $B0J9_$G;HMQ2DG=!#(B</p> - - <h2>$B35MW(B</h2> - - <p>$B$3$N%b%8%e!<%k$OHs>o$K@)8B$5$l$?>r7o2<$G!"(B - $B$=$l$>$l$N%j%/%(%9%H$K!V$9$Y$F!W$N%j%/%(%9%H$KBP$7$F(B - $B0l0U$K7h$^$k$3$H$,J]>Z$5$l$F$$$kKbK!$N%H!<%/%s$rDs6!$7$^$9!#(B - $B$3$N0l0U$J<1JL;R$O!"E,@Z$K@_Dj$5$l$?%/%i%9%?$G$OJ#?t$N(B - $B%^%7%s$N4V$G$5$($b0l0U$K$J$j$^$9!#$=$l$>$l$N%j%/%(%9%H$KBP$7$F4D6-JQ?t(B - <code>UNIQUE_ID</code> $B$K<1JL;R$,@_Dj$5$l$^$9!#(B - $B0l0U$J<1JL;R$,JXMx$JM}M3$O$$$m$$$m$"$j$^$9$,!"(B - $B$3$N%I%-%e%a%s%H$NL\E*$+$i$O30$l$k$?$a!"$3$3$G$O@bL@$7$^$;$s!#(B</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <p>$B$3$N%b%8%e!<%k$K$O%G%#%l%/%F%#%V$O$"$j$^$;$s!#(B</p> - - <h2>$BM}O@(B</h2> - - <p>$B$^$:$O$8$a$K!"(BApache $B%5!<%P$,(B Unix - $B%^%7%s$G$I$N$h$&$KF0:n$r$9$k$+$r4JC1$K@bL@$7$^$9!#(B - Unix $B%^%7%s$G$O(B Apache $B$O$$$/$D$+$N;R%W%m%;%9$r:n@.$7!"(B - $B$=$N;R%W%m%;%9$,0l$D$:$D%j%/%(%9%H$r=hM}$7$^$9!#$=$l$>$l$N;R%W%m%;%9$O!"(B - $B@8B84|4VCf$KJ#?t$N%j%/%(%9%H$r07$&$3$H$,$G$-$^$9!#(B - $B$3$N5DO@$G$O;R%W%m%;%94V$G$O0l@Z%G!<%?$r6&M-$7$J$$$3$H$K$7$^$9!#(B - $B0J8e!"$3$N;R%W%m%;%9$N$3$H$r(B httpd $B%W%m%;%9$H8F$S$^$9!#(B</p> - - <p>$B$"$J$?$N%&%'%V%5%$%H$K$O$"$J$?$,4IM}$9$k$$$/$D$+$N%^%7%s$,$"$k$H$7$^$9!#(B - $B$=$l$i$r$^$H$a$F%/%i%9%?$H8F$V$3$H$K$7$^$9!#$=$l$>$l$N%^%7%s$OJ#?t$N(B - Apache $B$r<B9T$9$k$3$H$b$G$-$^$9!#(B - $B$3$l$i$9$Y$F$r$^$H$a$?$b$N$,!V1'Ch!W$G$"$k$H9M$($i$l$^$9!#(B - $B$$$/$D$+$N2>Dj$N2<$G!"%/%i%9%?$N%^%7%s4V$,$?$/$5$sDL?.$r$9$k$3$H$J$/!"(B - $B$3$N1'Ch$NCf$G$=$l$>$l$N%j%/%(%9%H$K0l0U$J<1JL;R$r@8@.$G$-$k$3$H$r<($7$^$9!#(B - </p> - - <p>$B%/%i%9%?$K$"$k%^%7%s$O0J2<$NMW5a$rK~$?$5$J$1$l$P$J$j$^$;$s!#(B - ($B%^%7%s$,0l$D$@$1$@$H$7$F$b!"(BNTP $B$G;~7W$r9g$o$;$kJ}$,NI$$$G$9!#(B)</p> - - <ul> - <li>NTP $B$dB>$N%M%C%H%o!<%/>e$G;~4V$r9g$o$;$k%W%m%H%3%k$K$h$C$F(B - $B3F%^%7%s$N;~4V$NF14|$,<h$i$l$F$$$k$3$H!#(B</li> - - <li>$B%b%8%e!<%k$,%[%9%HL>$r0z$$$F0c$&(B IP - $B%"%I%l%9$r<u$1<h$k$3$H$,$G$-$k$h$&$K!"(B - $B%/%i%9%?$N$=$l$>$l$N%^%7%s$N%[%9%HL>$,0c$&$3$H!#(B</li> - </ul> - - <p>$B%*%Z%l!<%F%#%s%0%7%9%F%`$K$*$$$F$O!"(Bpid ($B%W%m%;%9(B ID) $B$,(B - 32 $B%S%C%H$NHO0OFb$G$"$k$3$H$r2>Dj$7$^$9!#%*%Z%l!<%F%#%s%0%7%9%F%`$N(B - pid $B$,(B 32 $B%S%C%H$rD6$($k>l9g$O!"4JC1$J=$@5$G$O$"$j$^$9$,!"(B - $B%3!<%I$rJQ99$9$kI,MW$,$"$j$^$9!#(B</p> - - <p>$B$3$l$i$N2>Dj$,K~$?$5$l$F$$$k$H!"$"$k;~E@$K$*$$$F!"(B - $B%/%i%9%?Fb$N$I$N%^%7%s$N$I$N(B httpd - $B%W%m%;%9$G$b!"0l0U$KF1Dj$9$k$3$H$,$G$-$^$9!#$3$l$O%^%7%s$N(B IP - $B%"%I%l%9$H(B httpd $B%W%m%;%9$N(B pid $B$G==J,$K9T$J$&$3$H$,$G$-$^$9!#(B - $B$G$9$+$i!"%j%/%(%9%H$K0l0U$J<1JL;R$r@8@.$9$k$?$a$K$O!"(B - $B;~9o$r6hJL$9$kI,MW$,$"$k$@$1$G$9!#(B</p> - - <p>$B;~9o$r6hJL$9$k$?$a$K!"(BUnix $B$N%?%$%`%9%?%s%W(B (UTC $B$N(B 1970 $BG/(B - 1 $B7n(B 1 $BF|$+$i$NIC?t(B) $B$H!"(B16 $B%S%C%H$N%+%&%s%?$r;H$$$^$9!#(B - $B%?%$%`%9%?%s%W$NN3EY$O0lIC$G$9$N$G!"0lIC4V$N(B 65536 - $B$^$G$NCM$rI=8=$9$k$?$a$K%+%&%s%?$r;HMQ$7$^$9!#;M$D$NCM(B - <em>( ip_addr, pid, time_stamp, counter )</em> $B$G3F(B httpd - $B%W%m%;%9$G0lIC$N4V$K(B 65536 $B%j%/%(%9%H$r?t$($"$2$k$3$H$,$G$-$^$9!#(B - $B;~4V$,7P$D$H(B pid $B$,:FMxMQ$5$l$k$H$$$&LdBj$,$"$j$^$9$,!"(B - $B$3$NLdBj$r2r7h$9$k$?$a$K%+%&%s%?$,;HMQ$5$l$^$9!#(B</p> - - <p>httpd $B$N;R%W%m%;%9$,:n@.$5$l$k$H!"%+%&%s%?$O(B - ($B$=$N;~E@$N%^%$%/%mIC(B $B!`(B 10) modulo 65536 $B$G=i4|2=$5$l$^$9(B - ($B$3$N<0$O$$$/$D$+$N%7%9%F%`$K$"$k!"%^%$%/%mIC$N(B - $B%?%$%^$N2<0L%S%C%H$,0[$J$k$H$$$&LdBj$r2r7h$9$k$?$a$KA*$P$l$^$7$?(B)$B!#(B - $B0l0U$J<1JL;R$,@8@.$5$l$?$H$-!";HMQ$5$l$k%?%$%`%9%?%s%W$O(B - $B%&%'%V%5!<%P$K%j%/%(%9%H$,E~Ce$7$?;~9o$K$J$j$^$9!#(B - $B%+%&%s%?$O<1JL;R$,@8@.$5$l$k$?$S$KA}2C$7$^$9(B - ($B$"$U$l$?>l9g$O(B 0 $B$KLa$j$^$9(B)$B!#(B</p> - - <p>$B%+!<%M%k$O%W%m%;%9$r%U%)!<%/$9$k$H!"$=$l$>$l$N%W%m%;%9$N$?$a$K(B - pid $B$r@8@.$7$^$9!#(Bpid $B$O7+$jJV$5$l$k$3$H$,5v2D$5$l$F$$$^$9(B - (pid $B$NCM$OB?$/$N(B Unix $B$G$O(B 16 $B%S%C%H$G$9$,!"?7$7$$%7%9%F%`$G$O(B - 32 $B%S%C%H$K3HD%$5$l$F$$$^$9(B)$B!#(B - $B$G$9$+$i!"$"$kDxEY$N;~4V$,7P2a$9$k$HF1$8(B pid $B$,:F$S;HMQ$5$l$^$9!#(B - $B$7$+$7!"0lICFb$K:F;HMQ$5$l$J$1$l$P!"(B - $B;M$D$NCM$N0l0U@-$OJ]$?$l$^$9!#$D$^$j!"2f!9$O%7%9%F%`$,0lIC4V(B - $B$K(B 65536 $B8D$N%W%m%;%9$r5/F0$7$J$$$H2>Dj$7$F$$$^$9(B ($B$$$/$D$+$N(B Unix - $B$G$O(B 32768 $B%W%m%;%9$G$9$,!"$=$l$G$9$i$[$H$s$I$"$jF@$J$$$G$7$g$&(B)$B!#(B</p> - - <p>$B2?$i$+$NM}M3$G!"F1$8;~9o$,7+$jJV$5$l$?$H$7$^$7$g$&!#(B - $B$D$^$j!"%7%9%F%`$N;~7W$,68$C$F$$$F!"$b$&0lEY2a5n$N;~9o$K$J$C$F$7$^$C$?(B - ($B$b$7$/$O?J$_$9$.$F$$$?$H$-$K!"(B - $B@5$7$$;~9o$KLa$7$?$?$a$K:F$S>-Mh$N;~9o$K$J$C$F$7$^$C$?(B) $B$H$7$^$9!#(B - $B$3$N>l9g!"(Bpid $B$H%?%$%`%9%?%s%W$,:F;HMQ$5$l$k$3$H$,4JC1$K<($5$l$^$9!#(B - $B%+%&%s%?=i4|2=MQ$N4X?t$O!"$3$NLdBj$N2sHr$r<j=u$1$7$h$&$HA*Br$5$l$F$$$^$9!#(B - $BK\Ev$O%+%&%s%?$N=i4|2=$r$9$k$?$a$K%i%s%@%`$J?t;z$r;H$$$?$$$N$G$9$,!"(B - $B$[$H$s$I$N%7%9%F%`$G$O4JC1$K;HMQ$G$-$k?t$OL5$$$3$H$KCm0U$7$F$/$@$5$$(B - (<em>$B$9$J$o$A(B</em>$B!"(Brand ()$B$O;H$($^$;$s!#(Brand () $B$K$O(B seed - $B$rM?$($kI,MW$,$"$j!"(Bseed $B$K$O;~9o$r;H$($^$;$s!#0lICC10L$G$O!"(B - $B$=$N;~9o$O$9$G$K7+$jJV$5$l$F$$$k$+$i$G$9(B)$B!#(B - $B$3$l$O!"40`z$JBP:v$G$O$"$j$^$;$s!#(B</p> - - <p>$B$3$NBP:v$O$I$N$/$i$$8z2L$,$"$k$G$7$g$&$+(B? - $B$3$3$G$O!"%^%7%s72$NCf$N0l$D$O:GBg$G0lIC$K(B 500 - $B%j%/%(%9%H$r07$&$H2>Dj$7$^$9(B ($B$3$l$r=q$$$F$$$k;~E@$G$OBEEv$J>e8B$G$9!#(B - $BDL>o%7%9%F%`$,$9$k$3$H$O@EE*$J%U%!%$%k$r<h$j$@$9$@$1$G$O$"$j$^$;$s$+$i(B)$B!#(B - $B$=$l$r9T$J$&$?$a$K!"$=$N%^%7%s$OJB9T$7$FMh$k%/%i%$%"%s%H$N?t$K(B - $B1~$8$??t$N;R%W%m%;%9$rMW5a$7$^$9!#(B - $B$7$+$7$J$,$i!"Ha4QE*$K9M$($F!"0l$D$N;R%W%m%;%9$,0lIC$K(B 500 - $B%j%/%(%9%H$r07$($k$H$7$^$9!#$=$&$9$k$H!"(B($B0lIC$N@:EY$K$*$$$F(B) - $B;~9o$,F1$8;~$r7+$jJV$9$H!"$3$N;R%W%m%;%9$,%+%&%s%?$NCM$r:F$S;H$$!"(B - $B0l0U@-$,2u$l$k2DG=@-$,(B 1.5% $B$"$j$^$9!#(B - $B$3$l$OHs>o$KHa4QE*$JNc$G!"<B@$3&$NCM$G$O!"$[$H$s$I5/$3$j$=$&$K$"$j$^$;$s!#(B - $B$=$l$G$b$3$l$,5/$3$k2DG=@-$N$"$k$h$&$J%7%9%F%`$J$i!"(B - ($B%W%m%0%i%`%3!<%I$rJT=8$7$F(B) - $B%+%&%s%?$r(B 32 $B%S%C%H$K$9$k$N$,NI$$$G$7$g$&!#(B - </p> - - <p>$B%5%^!<%?%$%`$K$h$j;~7W$,!VLa$5$l$k!W$3$H$r5$$K$7$F$$$k?M$,(B - $B$$$k$+$b$7$l$^$;$s!#$3$3$G;HMQ$5$l$k;~4V$O(B UTC $B$G$"$j!"(B - $B$=$l$O!V>o$K!W?J$`$N$G$3$3$G$OLdBj$K$J$j$^$;$s!#(Bx86 $B>e$N(B Unix - $B$O$3$N>r7o$rK~$?$9$?$a$KE,@Z$J@_Dj$,I,MW$+$b$7$l$J$$$3$H$K(B - $BCm0U$7$F$/$@$5$$!#%^%6!<%\!<%I$N;~7W$O(B UTC $B$K$J$C$F$$$F!"(B - $BB>$N;~4V$O$=$3$+$iE,@Z$KJd@5$5$l$k$3$H$r2>Dj$G$-$k$h$&$K(B - $B@_Dj$5$l$J$1$l$P$J$j$^$;$s!#$=$N$h$&$J>l9g$G$5$(!"(BNTP - $B$r;H$C$F$$$k$J$i$P%j%V!<%H8e$K$9$0@5$7$$(B UTC $B$N;~4V$K$J$k$G$7$g$&!#(B</p> - - <p><code>UNIQUE_ID</code> $B4D6-JQ?t$O(B 112 $B%S%C%H(B (32 $B%S%C%H(B IP - $B%"%I%l%9!"(B32 $B%S%C%H(B pid, 32 $B%S%C%H%?%$%`%9%?%s%W!"(B16 - $B%S%C%H%+%&%s%?$N;M$D$NAH(B) $B$r%"%k%U%!%Y%C%H(B <code>[A-Za-z0-9@-]</code> - $B$rMQ$$$F(B MIME $B$N(B base64 $BId9f2=$HF1MM$NJ}K!$K$h$jId9f2=$7!"(B19 - $B$NJ8;z$r@8@.$9$k$3$H$K$h$j:n@.$5$l$^$9!#(BMIME $B$N(B base64 - $B$N%"%k%U%!%Y%C%H$O<B:]$O(B <code>[A-Za-z0-9+/]</code> $B$G$9$,!"(B - <code>+</code> $B$H(B <code>/</code> $B$H$O(B URL - $B$G$OFCJL$JId9f2=$,I,MW$J$N$G!"$"$^$jK>$^$7$/$"$j$^$;$s!#(B - $BA4$F$NCM$O%M%C%H%o!<%/%P%$%H%*!<%@$GId9f2=$5$l$^$9$N$G!"(B - $BId9f$O0c$C$?%P%$%H%*!<%@$N%"!<%-%F%/%A%c4V$GHf3S2DG=$G$9!#(B - $B<B:]$NId9f2=$N=gHV$O(B: $B%?%$%`%9%?%s%W!"(BIP $B%"%I%l%9!"(Bpid, - $B%+%&%s%?$G$9!#$3$N=g$K$OL\E*$,$"$j$^$9$,!"(B - $B%"%W%j%1!<%7%g%s$OId9f$r2r@O$9$k$Y$-$G$O$J$$$3$H$r6/D4$7$F$*$-$^$9!#(B - $B%"%W%j%1!<%7%g%s$OId9f2=$5$l$?(B <code>UNIQUE_ID</code> - $BA4BN$rF)2aE*$J%H!<%/%s$H$7$F07$&$Y$-$G$9!#(B - <code>UNIQUE_ID</code> $B$OB>$N(B <code>UNIQUE_ID</code> - $B$H$NEy2A@-$rD4$Y$k$?$a$@$1$K$N$_;HMQ$G$-$^$9!#(B</p> - - <p>$B$3$N=gHV$O>-Mh!"4{B8$N(B <code>UNIQUE_ID</code> - $B$N%G!<%?%Y!<%9$H$N>WFM$r?4G[$9$k$3$H$J$/Id9f$rJQ99$9$k$3$H$,(B - $B2DG=$K$J$k$h$&$KA*Br$7$F$$$^$9!#(B - $B?7$7$$Id9f$O%?%$%`%9%?%s%W$r:G=i$NMWAG$H$7$F;D$9$N$,K>$^$7$/!"(B - $B$=$l0J30$OF1$8%"%k%U%!%Y%C%H$H%S%C%HD9$r;H$&$3$H$,$G$-$^$9!#(B - $B%?%$%`%9%?%s%W$OK\<AE*$KA}2C7ONs$G$9$N$G!"(B - $B%/%i%9%?$NA4$F$N%^%7%s$,%j%/%(%9%H$H%5!<%P5!G=$rDd;_$7$F!"(B - $B8E$$Id9f2=J}<0$r;HMQ$9$k$N$r$d$a$k(B<em>$B%U%i%0IC(B</em>$B$,$"$l$P==J,$G$9!#(B - $B$=$N8e$O!"%j%/%(%9%H$r:F3+$7!"(B - $B?7$7$$Id9f$rH/9T$9$k$3$H$,$G$-$k$h$&$K$J$j$^$9!#(B</p> - - <p>$B2f!9$O$3$l$,!"(B - $B$3$NLdBj$K$*$1$kHf3SE*0\?"@-$N9b$$2r7hK!$@$H9M$($F$$$^$9!#(B - Windows NT $B$N$h$&$K!"%9%l%C%I(Bid $B$r(B ID $B$KDI2C$7$F!"(B24 $BJ8;z$N(B - UNIQUE_ID $B$N(B 4 $BG\$K$"$?$k(B 144-bit (32 $B%S%C%H$N(B tid $B$r4^$`(B) $B$N(B ID - $B$r:n$j=P$9$h$&$J%^%k%A%9%l%C%I%7%9%F%`MQ$K3HD%$9$k$3$H$,$G$-$^$9!#(B - $B>-Mh$N(B ID $B$OI,MW$K1~$8$FD9$/$9$k$3$H$,$G$-$^$9$N$G!"@8@.$5$l$?(B ID - $B$O<B<A>e!"L58B$KM-8z$G$9!#$^$?!"%/%i%9%?$N%^%7%s4V$NDL?.$b;v<B>eI,MW$J$/(B - (NTP $B$K$h$kF14|$N$_$,I,MW$G!"$3$l$O%*!<%P%X%C%I$O$"$^$j$"$j$^$;$s(B)$B!"(Bhttpd - $B%W%m%;%94V$NDL?.$bI,MW$"$j$^$;$s(B ($BDL?.$O%+!<%M%k$K$h$j3d$jEv$F$i$l$?(B - pid $B$NCM$K$h$j0EL[$NFb$K9T$J$o$F$$$^$9(B)$B!#(B - $B$5$i$K8B$i$l$?>u672<$G$O!"(BID $B$O$5$i$KC;$/$9$k$3$H$,$G$-$^$9$,!"(B - $B$h$jB?$/$N>pJs$r2>Dj$9$kI,MW$,$G$F$-$^$9(B ($BNc$($P!"(B32 $B%S%C%H(B - IP $B%"%I%l%9$O$I$N%5%$%H$K$*$$$F$b2a>j$J>pJs$G$9$,!"(B - $B$=$l$NBe$o$j$K$J$k0\?"@-$N$"$k$b$N$O$"$j$^$;$s(B)$B!#(B - $B$3$N%b%8%e!<%k$O!"(BIPv6 $B%"%I%l%9A4BN$r4^$`$h$&$K$b3HD%$G$-$^$9$,!"(B - $B$[$H$s$I$9$Y$F$N%5!<%P!<$K$H$C$F$O2a>j$J>pJs$G$9!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_userdir.html.en b/usr.sbin/httpd/htdocs/manual/mod/mod_userdir.html.en deleted file mode 100644 index a692bf76adb..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_userdir.html.en +++ /dev/null @@ -1,150 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Apache module mod_userdir</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Module mod_userdir</h1> - - <p>This module provides for user-specific directories.</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>Source File:</strong></a> - mod_userdir.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>Module Identifier:</strong></a> - userdir_module</p> - - <h2>Directives</h2> - - <ul> - <li><a href="#userdir">UserDir</a></li> - </ul> - <hr /> - - <h2><a id="userdir" name="userdir">UserDir</a> directive</h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> UserDir - <em>directory-filename</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>UserDir - public_html</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> server config, virtual - host<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_userdir<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> All forms except - the <code>UserDir public_html</code> form are only available in - Apache 1.1 or above. Use of the <samp>enabled</samp> keyword, - or <samp>disabled</samp> with a list of usernames, is only - available in Apache 1.3 and above. - - <p>The UserDir directive sets the real directory in a user's - home directory to use when a request for a document for a user - is received. <em>Directory-filename</em> is one of the - following:</p> - - <ul> - <li>The name of a directory or a pattern such as those shown - below.</li> - - <li>The keyword <samp>disabled</samp>. This turns off - <em>all</em> username-to-directory translations except those - explicitly named with the <samp>enabled</samp> keyword (see - below).</li> - - <li>The keyword <samp>disabled</samp> followed by a - space-delimited list of usernames. Usernames that appear in - such a list will <em>never</em> have directory translation - performed, even if they appear in an <samp>enabled</samp> - clause.</li> - - <li>The keyword <samp>enabled</samp> followed by a - space-delimited list of usernames. These usernames will have - directory translation performed even if a global disable is - in effect, but not if they also appear in a - <samp>disabled</samp> clause.</li> - </ul> - - <p>If neither the <samp>enabled</samp> nor the - <samp>disabled</samp> keywords appear in the - <samp>Userdir</samp> directive, the argument is treated as a - filename pattern, and is used to turn the name into a directory - specification. A request for - <code>http://www.foo.com/~bob/one/two.html</code> will be - translated to:</p> -<pre> -UserDir public_html -> ~bob/public_html/one/two.html -UserDir /usr/web -> /usr/web/bob/one/two.html -UserDir /home/*/www -> /home/bob/www/one/two.html -</pre> - - <p>The following directives will send redirects to the - client:</p> -<pre> -UserDir http://www.foo.com/users -> http://www.foo.com/users/bob/one/two.html -UserDir http://www.foo.com/*/usr -> http://www.foo.com/bob/usr/one/two.html -UserDir http://www.foo.com/~*/ -> http://www.foo.com/~bob/one/two.html -</pre> - - <blockquote> - <strong>Be careful when using this directive; for instance, - <samp>"UserDir ./"</samp> would map - <samp>"/~root"</samp> to <samp>"/"</samp> - which is probably - undesirable. If you are running Apache 1.3 or above, it is - strongly recommended that your configuration include a - "<samp>UserDir disabled root</samp>" declaration. - See also the <a - href="core.html#directory"><Directory></a> directive - and the <a href="../misc/security_tips.html">Security - Tips</a> page for more information.</strong> - </blockquote> - -<p>Additional examples:</p> - -<p>To allow a few users to have <code>UserDir</code> directories, but -not anyone else, use the following:</p> - -<pre> -UserDir disabled -UserDir enabled user1 user2 user3 -</pre> - -<p>To allow most users to have <code>UserDir</code> directories, but -deny this to a few, use the following:</p> - -<pre> -UserDir enabled -UserDir disabled user4 user5 user6 -</pre> - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_userdir.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/mod_userdir.html.ja.jis deleted file mode 100644 index 93dfcc23d5d..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/mod_userdir.html.ja.jis +++ /dev/null @@ -1,149 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache module mod_userdir</title> - </head> - <!-- English revision: 1.20 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">mod_userdir $B%b%8%e!<%k(B</h1> - - <p>$B$3$N%b%8%e!<%k$O!"%f!<%6$N%[!<%`%G%#%l%/%H%j$K%"%/%;%9$9$k5!G=$rDs6!$7$^$9(B</p> - - <p><a href="module-dict.html#Status" - rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br /> - <a href="module-dict.html#SourceFile" - rel="Help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - mod_userdir.c<br /> - <a href="module-dict.html#ModuleIdentifier" - rel="Help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - userdir_module</p> - - <h2>$B%G%#%l%/%F%#%V(B</h2> - - <ul> - <li><a href="#userdir">UserDir</a></li> - </ul> - <hr /> - - <h2><a id="userdir" name="userdir">UserDir</a> $B%G%#%l%/%F%#%V(B</h2> - - <a href="directive-dict.html#Syntax" - rel="Help"><strong>Syntax:</strong></a> UserDir - <em>directory-filename</em><br /> - <a href="directive-dict.html#Default" - rel="Help"><strong>Default:</strong></a> <code>UserDir - public_html</code><br /> - <a href="directive-dict.html#Context" - rel="Help"><strong>Context:</strong></a> $B%5!<%P@_Dj%U%!%$%k!"(B $B%P!<%A%c%k%[%9%H(B<br /> - <a href="directive-dict.html#Status" - rel="Help"><strong>Status:</strong></a> Base<br /> - <a href="directive-dict.html#Module" - rel="Help"><strong>Module:</strong></a> mod_userdir<br /> - <a href="directive-dict.html#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> <code>UserDir public_html</code> - $B$H$$$C$?7A<00J30$O!"(BApache 1.1 $B0J9_$G$N$_M-8z$G$9!#(B - <samp>enabled</samp> $B$d(B <samp>disabled</samp> $B$H$$$&%-!<%o!<%I$N5-=R5Z$S!"(B - $B%f!<%6L>$NNs5s$K4X$7$F$O!"(BApache 1.3 $B0J9_$G$N$_BP1~$7$F$$$^$9!#(B - - <p>UserDir $B%G%#%l%/%F%#%V$O!"(B - $B%f!<%6$N%I%-%e%a%s%H$KBP$9$kMW5a$,$"$C$?:]$K;HMQ$9$k!"(B - $B%f!<%6$N%[!<%`%G%#%l%/%H%j$NCf$N<B:]$N%G%#%l%/%H%j$NL>A0$r;XDj$7$^$9!#(B - <em>directory-filename</em> $B$K$O!"0J2<$N$I$l$+$r;XDj$7$^$9!#(B</p> - - <ul> - <li>$B%G%#%l%/%H%jL>$+!"0J2<$K=R$Y$k7A<0$N%Q%?!<%s!#(B</li> - - <li><samp>disabled</samp> $B$H$$$&%-!<%o!<%I!#(B<br /> - $B$3$N@_Dj$O!"(B<samp>enabled</samp> $B%-!<%o!<%I(B ($B0J2<;2>H(B) - $B$K$*$$$F;XDj$5$l$?%f!<%60J30!"(B - <em>$B$9$Y$F(B</em>$B$N%f!<%6L>$r%G%#%l%/%H%j$KJQ49$7$J$$$h$&$K$7$^$9!#(B</li> - - <li><samp>disabled</samp> $B$H$$$&%-!<%o!<%I$H!"(B - $B$=$N8e$K%9%Z!<%96h@Z$j$G%f!<%6L>$rNs5s!#(B<br /> - $B;XDj$5$l$?%f!<%6$O!"(B<samp>enabled</samp> - $B$K$*$$$F5-=R$,$5$l$F$$$?$H$7$F$b!"(B - $B%G%#%l%/%H%j$X$NJQ49$,(B<em>$B$5$l$J$/(B</em>$B$J$j$^$9!#(B</li> - - <li><samp>enabled</samp> - $B$H$$$&%-!<%o!<%I$H!"%9%Z!<%96h@Z$j$G%f!<%6L>$rNs5s(B<br /> - $B;XDj$5$l$?%f!<%6$O!"JQ49$,$5$l$J$$$h$&$K@_Dj$5$l$F$$$?$H$7$F$b!"(B - $B%G%#%l%/%H%j$X$NJQ49$r9T$$$^$9!#(B - $B$?$@$7!"(B<samp>disabled</samp> - $B$K$*$$$FL@5-$5$l$F$$$k>l9g$K$O!"JQ49$,$J$5$l$^$;$s!#(B</li> - </ul> - - <p><samp>enabled</samp> $B$d(B <samp>disabled</samp> - $B$H$$$C$?%-!<%o!<%I$G$J$$>l9g$K$O!"(B - $B%U%!%$%kL>$N%Q%?!<%s$H$7$F07$o$l!"(B - $BL>A0$+$i%G%#%l%/%H%j$X$NJQ49$r;XDj$9$k$3$H$,$G$-$^$9!#(B - <code>http://www.foo.com/~bob/one/two.html</code> $B$X$N(B URL - $B$N>l9g$NJQ49$K$D$$$F8+$F$_$^$9!#(B</p> - -<pre> -UserDir public_html -> ~bob/public_html/one/two.html -UserDir /usr/web -> /usr/web/bob/one/two.html -UserDir /home/*/www -> /home/bob/www/one/two.html -</pre> - - <p>$B0J2<$N$h$&$K%G%#%l%/%F%#%V$r@_Dj$9$k$H!"(B - $B%/%i%$%"%s%H$X$O%j%@%$%l%/%H$,Aw=P$5$l$^$9!#(B</p> -<pre> -UserDir http://www.foo.com/users -> http://www.foo.com/users/bob/one/two.html -UserDir http://www.foo.com/*/usr -> http://www.foo.com/bob/usr/one/two.html -UserDir http://www.foo.com/~*/ -> http://www.foo.com/~bob/one/two.html -</pre> - - <blockquote> - <strong> - $B$3$N%G%#%l%/%F%#%V$rMxMQ$9$k:]!"(B<samp>"UserDir ./"</samp> - $B$H$$$C$?@_Dj$r$9$k$H!"(B<samp>"/~root"</samp> $B$O(B <samp>"/"</samp> - $B$K%^%C%T%s%0$5$l$k$3$H$K5$$r$D$1$F$/$@$5$$!#(B - $B$3$l$OHs>o$KK>$^$7$/$"$j$^$;$s!#(B - Apache 1.3 $B0J9_$rMxMQ$7$F$$$k$N$G$"$l$P!"(B"UserDir disabled root" - $B$H$$$&5-=R$r@_Dj%U%!%$%kCf$K4^$a$k$3$H$r6/$/?d>)$7$^$9!#(B - <a - href="core.html#directory"><Directory></a> $B%G%#%l%/%F%#%V$d!"(B - <a href="../misc/security_tips.html">$B%;%-%e%j%F%#$K4X$9$k3P=q(B</a> - $B$b;2>H$7$F$/$@$5$$!#(B</strong> - </blockquote> - -<p>$B$=$NB>$N@_DjNc(B:</p> - -<p>$B>.?t$N%f!<%6$K$O(B <code>UserDir</code> -$B%G%#%l%/%H%j$rMxMQ$5$;$k$b$N$N!";D$j$N%f!<%6$K$O$5$;$?$/$J$$>l9g(B:</p> - -<pre> -UserDir disabled -UserDir enabled user1 user2 user3 -</pre> - -<p>$BBgItJ,$N%f!<%6$K$O(B <code>UserDir</code> -$B%G%#%l%/%H%j$rMxMQ$5$;!"0lIt$N%f!<%6$N$_L58z$K$9$k>l9g(B:</p> - -<pre> -UserDir enabled -UserDir disabled user4 user5 user6 -</pre> - - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> diff --git a/usr.sbin/httpd/htdocs/manual/mod/module-dict.html.en b/usr.sbin/httpd/htdocs/manual/mod/module-dict.html.en deleted file mode 100644 index 0609614cf82..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/module-dict.html.en +++ /dev/null @@ -1,125 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content="HTML Tidy, see www.w3.org" /> - - <title>Definitions of terms used to describe Apache - modules</title> - </head> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" - vlink="#000080" alink="#FF0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="CENTER">Terms Used to Describe Apache Modules</h1> - - <p>Each Apache module is described using a common format that - looks like this:</p> - - <dl> - <dd><a href="#Status" rel="Help"><strong>Status:</strong></a> - <em>status</em><br /> - <a href="#SourceFile" rel="Help"><strong>Source - File:</strong></a> <em>source-file</em><br /> - <a href="#ModuleIdentifier" rel="Help"><strong>Module - Identifier:</strong></a> <em>module-identifier</em><br /> - <a href="#Compatibility" - rel="Help"><strong>Compatibility:</strong></a> - <em>compatibility notes</em></dd> - </dl> - - <p>Each of the attributes, complete with values where possible, - are described in this document.</p> - - <h2>Module Terms</h2> - - <ul> - <li><a href="#Status">Status</a></li> - - <li><a href="#SourceFile">Source File</a></li> - - <li><a href="#ModuleIdentifier">Module Identifier</a></li> - - <li><a href="#Compatibility">Compatibility</a></li> - </ul> - <hr /> - - <h2><a id="Status" name="Status">Status</a></h2> - - <p>This indicates how tightly bound into the Apache Web server - the module is; in other words, you may need to recompile the - server in order to gain access to the module and its - functionality. Possible values for this attribute are:</p> - - <dl> - <dt><strong>Base</strong></dt> - - <dd>A module labeled as having "Base" status is compiled and - loaded into the server by default, and is therefore normally - available unless you have taken steps to remove the module - from your configuration.</dd> - - <dt><strong>Extension</strong></dt> - - <dd>A module with "Extension" status is not normally compiled - and loaded into the server. To enable the module and its - functionality, you may need to change the server build - configuration files and re-compile Apache.</dd> - - <dt><strong>Experimental</strong></dt> - - <dd>"Experimental" status indicates that the module is - available as part of the Apache kit, but you are on your own - if you try to use it. The module is being documented for - completeness, and is not necessarily supported.</dd> - - <dt><strong>External</strong></dt> - - <dd>Modules which are not included with the base Apache - distribution ("third-party modules") may use the "External" - status. We are not responsible, nor do we support such - modules.</dd> - </dl> - <hr /> - - <h2><a id="SourceFile" name="SourceFile">Source File</a></h2> - - <p>This quite simply lists the name of the source file which - contains the code for the module. This is also the name used by - the <a - href="core.html#ifmodule"><code><IfModule></code></a> - directive.</p> - <hr /> - - <h2><a id="ModuleIdentifier" name="ModuleIdentifier">Module - Identifier</a></h2> - - <p>This is a string which identifies the module for use in the - <a href="mod_so.html#loadmodule">LoadModule</a> directive when - dynamically loading modules. In particular, it is the name of - the external variable of type module in the source file.</p> - <hr /> - - <h2><a id="Compatibility" - name="Compatibility">Compatibility</a></h2> - - <p>If the module was not part of the original Apache version 1 - distribution, the version in which it was introduced should be - listed here.</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> - diff --git a/usr.sbin/httpd/htdocs/manual/mod/module-dict.html.ja.jis b/usr.sbin/httpd/htdocs/manual/mod/module-dict.html.ja.jis deleted file mode 100644 index 1526b52460c..00000000000 --- a/usr.sbin/httpd/htdocs/manual/mod/module-dict.html.ja.jis +++ /dev/null @@ -1,124 +0,0 @@ -<?xml version="1.0" encoding="iso-2022-jp"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> - <head> - - <title>Apache $B%b%8%e!<%k$N2r@b$G;HMQ$9$kMQ8l(B</title> - - </head> - <!-- English revision: 1.2 --> - <!-- Background white, links blue (unvisited), navy (visited), red (active) --> - - <body bgcolor="#ffffff" text="#000000" link="#0000ff" - vlink="#000080" alink="#ff0000"> - <div align="CENTER"> - <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> - - <h3>Apache HTTP Server Version 1.3</h3> - </div> - - - <h1 align="center">Apache $B%b%8%e!<%k$N2r@b$G;HMQ$9$kMQ8l(B</h1> - - <p>Apache $B%b%8%e!<%k$K$D$$$F$N2r@b$O!"(B - $B$$$:$l$b0J2<$N6&DL$N=q<0$G5-=R$5$l$F$$$^$9(B:</p> - - <dl> - <dd><a href="#status" rel="help"><strong>$B%9%F!<%?%9(B:</strong></a> - <em>status</em><br /> - <a href="#sourcefile" rel="help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a> - <em>source-file</em><br /> - <a href="#moduleidentifier" - rel="help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a> - <em>module-identifier</em><br /> - <a href="#Compatibility" - rel="help"><strong>$B8_49@-(B:</strong></a> - <em>compatibility notes</em></dd> - </dl> - <p>$B$3$N%I%-%e%a%s%H$G$O$=$l$>$l$NB0@-$r@bL@$7$F$$$^$9!#(B - $B<h$jF@$k$9$Y$F$NCM$b5-=R$7$F$$$^$9!#(B</p> - - <h2>$B%b%8%e!<%k$NMQ8l(B</h2> - - <ul> - <li><a href="#status">$B%9%F!<%?%9(B</a></li> - - <li><a href="#sourcefile">$B%=!<%9%U%!%$%k(B</a></li> - - <li><a href="#moduleidentifier">$B%b%8%e!<%k<1JL;R(B</a></li> - - <li><a href="#Compatibility">$B8_49@-(B</a></li> - </ul> - <hr /> - - <h2><a id="status" name="status">$B%9%F!<%?%9(B</a></h2> - - <p>$B$3$l$O!"$=$N%b%8%e!<%k$,(B Apache - $B%&%'%V%5!<%P$K$I$l$/$i$$L)@\$KAH$_9~$^$l$F$$$k$+$r<($7$^$9!#(B - $B8@$$49$($l$P!"%b%8%e!<%k$rAH$_9~$_!"$=$N5!G=$rMxMQ$9$k$?$a$K!"(B - $B%5!<%P$r:F%3%s%Q%$%k$9$kI,MW$,$"$k$+$b$7$l$J$$$H$$$&$3$H$r<($7$^$9!#(B - $B$3$NB0@-$,<h$jF@$kCM$O0J2<$N$b$N$G$9(B:</p> - <dl> - <dt><strong>Base</strong></dt> - - <dd>$B%9%F!<%?%9$,(B "Base" - $B$N%b%8%e!<%k$O!"%G%U%)%k%H$G%3%s%Q%$%k$5$l$F!"$o$6$o$6@_Dj$+$i(B - $B%b%8%e!<%k$r:o=|$7$F$$$J$$8B$j!"DL>o$OMxMQ2DG=$G$9!#(B - </dd> - - <dt><strong>Extension</strong></dt> - - <dd>$B%9%F!<%?%9$,(B "Extension" $B$N%b%8%e!<%k$O!"(B - $B%G%U%)%k%H$G$O%3%s%Q%$%k$5$l$:!"%5!<%P$K$bFI$_9~$^$l$^$;$s!#(B - $B$=$N%b%8%e!<%k$H$=$N5!G=$rM-8z$K$9$k$K$O!"(B - $B%5!<%P$r%S%k%I$9$k$?$a$N@_Dj$rJQ99$7$F!"(BApache - $B$r:F%3%s%Q%$%k$9$kI,MW$,$"$j$^$9!#(B</dd> - <dt><strong>Experimental</strong></dt> - - <dd>$B%9%F!<%?%9$,(B "Experimental" $B$N%b%8%e!<%k$O!"(B - Apache $BG[I[J*$KF1:-$5$l$F$$$^$9$,!"(B - $B;HMQ$9$k>l9g$O<+8J@UG$$G9T$J$&I,MW$,$"$j$^$9!#(B - $B$=$N%b%8%e!<%k$O!"%I%-%e%a%s%H$b40@.$K8~$1$F:n@.Cf$G$9$7!"(B - $B%5%]!<%H$5$l$k$F$$$k$H$O8B$j$^$;$s!#(B</dd> - <dt><strong>External</strong></dt> - - <dd>$B%9%F!<%?%9$,(B "External" $B$N%b%8%e!<%k$O!"4pK\(B Apache - $BG[I[$KF1:-$5$l$^$;$s(B ("$B%5!<%I%Q!<%F%#!<%b%8%e!<%k(B")$B!#(B - $B$=$N$?$a!"2f!9$K@UG$$O$"$j$^$;$s$7!"(B - $B$=$N%b%8%e!<%k$N%5%]!<%H$b$7$F$$$^$;$s!#(B</dd> - </dl> - <hr /> - - <h2><a id="sourcefile" name="sourcefile">$B%=!<%9%U%!%$%k(B</a></h2> - - <p>$B$3$l$OC1=c$K!"(B - $B$=$N%b%8%e!<%k$KI,MW$J%3!<%I$r4^$`%=!<%9%U%!%$%k$NL>A0$rNs5s$7$?$b$N$G$9!#(B - $B$3$l$O!"(B<a href="core.html#ifmodule"><code><IfModule></code></a> - $B%G%#%l%/%F%#%V$G;HMQ$5$l$kL>A0$G$b$"$j$^$9!#(B - </p> - <hr /> - - <h2><a id="moduleidentifier" - name="moduleidentifier">$B%b%8%e!<%k<1JL;R(B</a></h2> - - <p>$B$3$NJ8;zNs$O!"%b%8%e!<%k$NF0E*FI$_9~$_$r9T$J$&$H$-$K;HMQ$9$k(B <a - href="mod_so.html#loadmodule">LoadModule</a> - $B%G%#%l%/%F%#%V$K$*$$$F;HMQ$5$l$k%b%8%e!<%k$N<1JL;R$G$9!#(B - $B>\$7$/=q$/$H!"%=!<%9%U%!%$%kFb$N(B module $B%?%$%W$N30ItJQ?t$NL>A0$G$9!#(B - </p> - <hr /> - - <h2><a id="Compatibility" name="Compatibility">$B8_49@-(B</a></h2> - - <p>$B$"$k%b%8%e!<%k$,(B Apache $B%P!<%8%g%s(B 1 - $B$NG[I[$K4^$^$l$F$$$J$+$C$?>l9g!"(B - $B$=$N%b%8%e!<%k$,F3F~$5$l$?%P!<%8%g%s$,$3$3$K=q$+$l$F$$$^$9!#(B</p> - <hr /> - - <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> - <a href="./"><img src="../images/index.gif" alt="Index" /></a> - <a href="../"><img src="../images/home.gif" alt="Home" /></a> - - </body> -</html> |
