From: Daniel Earl Poirier Date: Thu, 4 Nov 2010 20:22:41 +0000 (+0000) Subject: Add some more cross-references related to the protocol X-Git-Tag: 2.3.9~142 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f58211fd0afb4fd05ae2a6106a1036ffb8de9d3;p=apache Add some more cross-references related to the protocol argument for Listen and AcceptFilter, as suggested by Otmar Lendl. PR45286 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1031215 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/bind.xml b/docs/manual/bind.xml index f269618ae2..40c26fb5d2 100644 --- a/docs/manual/bind.xml +++ b/docs/manual/bind.xml @@ -148,6 +148,25 @@ default on FreeBSD, NetBSD, and OpenBSD.

+
+ Specifying the protocol with Listen +

The optional second protocol argument of + Listen + is not required for most + configurations. If not specified, https is the default for + port 443 and http the default for all other ports. 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. For example, running an https site on port 8443:

+ + + Listen 192.170.2.1:8443 https + +
+
How This Works With Virtual Hosts diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index c56af0e18c..282f2e29a1 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -50,6 +50,12 @@ On Windows from Apache httpd 2.3.3 and later. send data first, such as ftp: or nntp:

AcceptFilter nntp none +

The default protocol names are https for port 443 + and http for all other ports. To specify another protocol + is being used with a listening port, add the protocol + argument to the Listen + directive.

+

The default values on FreeBSD are:

AcceptFilter http httpready