From 47e36fe7e271db63303f4359b51f5600da5605c6 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Thu, 4 Nov 2010 18:37:03 +0000 Subject: [PATCH] Document undocumented Protocol directive. PR42912 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1031137 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/core.html.en | 37 ++++++++++++++++++++++++++++++++++++ docs/manual/mod/core.xml | 30 +++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index cfd4342de2a..0c2ce935f94 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -76,6 +76,7 @@ available
  • MaxKeepAliveRequests
  • NameVirtualHost
  • Options
  • +
  • Protocol
  • Require
  • RLimitCPU
  • RLimitMEM
  • @@ -151,6 +152,10 @@ available

    AcceptFilter nntp none

    +

    See also

    +
    top

    AcceptPathInfo Directive

    @@ -2500,6 +2505,38 @@ directory

    The default in the absence of any other settings is All.

    +
    +
    top
    +

    Protocol Directive

    + + + + + + + +
    Description:Protocol for a listening socket
    Syntax:Protocol protocol
    Context:server config, virtual host
    Status:Core
    Module:core
    Compatibility:Available in Apache 2.1.5 and later. +On Windows from Apache 2.3.3 and later.
    +

    This directive specifies the protocol used for a specific listening socket. + The protocol is used to determine which module should handle a request, and + to apply protocol specific optimizations with the AcceptFilter + directive.

    + +

    You only need to set the protocol if you are running on non-standard ports, otherwise http is assumed for port 80 and https for port 443.

    + +

    For example, if you are running https on a non-standard port, specify the protocol explicitly:

    + +

    + Protocol https +

    + +

    You can also specify the protocol using the Listen directive.

    + +

    See also

    +
    top

    Require Directive

    diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index b82cf02b414..d0a106b03ea 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -76,6 +76,7 @@ available AcceptFilter nntp none +Protocol @@ -2592,6 +2593,35 @@ a resource mod_authz_host + +Protocol +Protocol for a listening socket +Protocol protocol +server configvirtual host +Available in Apache 2.1.5 and later. +On Windows from Apache 2.3.3 and later. + + +

    This directive specifies the protocol used for a specific listening socket. + The protocol is used to determine which module should handle a request, and + to apply protocol specific optimizations with the AcceptFilter + directive.

    + +

    You only need to set the protocol if you are running on non-standard ports, otherwise http is assumed for port 80 and https for port 443.

    + +

    For example, if you are running https on a non-standard port, specify the protocol explicitly:

    + + + Protocol https + + +

    You can also specify the protocol using the Listen directive.

    +
    +AcceptFilter +Listen +
    + + RLimitCPU Limits the CPU consumption of processes launched -- 2.47.2