From: Ken Coar Date: Thu, 7 May 1998 12:24:21 +0000 (+0000) Subject: Add the core AddVersionComponent and AddVersionPlatform directives, X-Git-Tag: APACHE_1_3b7~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39ce411517974ee24688da8a20a3382870c6ad05;p=thirdparty%2Fapache%2Fhttpd.git Add the core AddVersionComponent and AddVersionPlatform directives, which make the SERVER_SUBVERSION functionality a runtime thing and allow adding OS identity to the Server-Version string respectively. PR: 2056 Reviewed by: Jim Jagielski, Martin Kraemer, Brian Behlendorf git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81175 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.html b/docs/manual/mod/core.html index a0d7e91b112..0f8afd7326a 100644 --- a/docs/manual/mod/core.html +++ b/docs/manual/mod/core.html @@ -24,6 +24,8 @@ always available.
  • AccessConfig
  • AccessFileName
  • AddModule +
  • AddVersionComponent +
  • AddVersionPlatform
  • AllowOverride
  • AuthName
  • AuthType @@ -178,6 +180,101 @@ server comes with a pre-loaded list of active modules; this list can be cleared with the ClearModuleList directive.


    +

    AddVersionComponent directive

    + +Syntax: AddVersionComponent string
    +Context: server config
    +Status: core
    +Compatibility: AddVersionComponent is only available + in Apache 1.3 and later + +

    +Use this directive to add a string to the Server-Version +response header field which is sent back to clients. This field identifies +the server software as the Apache Web server, and can also list additional +information. This directive may occur multiple times, and the results are +cumulative. In each case the string should take one of the following forms: +

    +
    +
    AddVersionComponent "(some comment within parentheses)" +
    +
    or +
    +
    + AddVersionComponent "component-name/major.minor" +
    +
    +

    +that is, the string should either be arbitrary text enclosed in parentheses, +or else a specific component token and version number (such as "mymod/1.0"). +

    +

    +This setting applies to the entire server, and cannot be enabled or +disabled on a virtualhost-by-virtualhost basis. +

    +

    +This directive replaces the SERVER_SUBVERSION setting +that was available in earlier versions of the Apache Web server. +


    + +

    AddVersionPlatform directive

    + +Syntax: AddVersionPlatform On|Off
    +Context: server config
    +Status: core
    +Compatibility: AddVersionPlatform is only available + in Apache 1.3 and later + +

    +This directive controls whether the server's operating system platform +will be identified in the Server-Version response header +field which is sent back to clients. If enabled, a non-specific platform +designation will be added to the identity string, as shown below: +

    +
    +
    AddVersionPlatform Off +
    +
    Server sends: Server-Version: Apache/1.3.0 +
    +
    AddVersionPlatform On +
    +
    Server sends: Server-Version: Apache/1.3.0 (UNIX) +
    +
    +

    +This setting applies to the entire server, and cannot be enabled or +disabled on a virtualhost-by-virtualhost basis. +

    +

    +By default, this information is not included in the server +identity string. +

    +
    +

    AllowOverride directive

    <VirtualHost> sections. HREF="directive-dict.html#Status" REL="Help" >Status: core
    -Compatibility: BS2000AuthFile is only available for BS2000 machines, as of Apache 1.3 and later.

    +Compatibility: BS2000AuthFile is only available for BS2000 machines, as of Apache 1.3 and later.

    The BS2000AuthFile directive is available for BS2000 hosts only. It must be used to define the password file which is used to