X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=docs%2Fmanual%2Fmod%2Fcore.html.en;h=270e9e9868b88a7aaaa65f8ef6cae892b083e219;hb=655875eb8c2fadc85aacdc1700c6e7ea99c8fc7d;hp=40053607b93342bcbcdfd0984e11d0f7df144cbe;hpb=9e03d7e1afc50863089be42ba92a40b316126e99;p=apache diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 40053607b9..270e9e9868 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -8,16 +8,19 @@ core - Apache HTTP Server - + + +
<-
-Apache > HTTP Server > Documentation > Version 2.3 > Modules
+Apache > HTTP Server > Documentation > Version 2.5 > Modules

Apache Core Features

+
top

AcceptFilter Directive

@@ -120,7 +130,7 @@ available On Windows from Apache httpd 2.3.3 and later.

This directive enables operating system specific optimizations for a - listening socket by the Protocoltype. + listening socket by the Protocol type. The basic premise is for the kernel to not send a socket to the server process until either data is received or an entire HTTP Request is buffered. Only @@ -131,7 +141,10 @@ On Windows from Apache httpd 2.3.3 and later.

Using none for an argument will disable any accept filters for that protocol. This is useful for protocols that require a server send data first, such as ftp: or nntp:

-

AcceptFilter nntp none

+
+    AcceptFilter nntp none
+    
+

The default protocol names are https for port 443 and http for all other ports. To specify another protocol @@ -140,10 +153,11 @@ On Windows from Apache httpd 2.3.3 and later. directive.

The default values on FreeBSD are:

-

- AcceptFilter http httpready
- AcceptFilter https dataready -

+
+AcceptFilter http httpready
+AcceptFilter https dataready
+    
+

The httpready accept filter buffers entire HTTP requests at the kernel level. Once an entire request is received, the kernel then @@ -154,10 +168,11 @@ On Windows from Apache httpd 2.3.3 and later. accf_data(9) filter is used.

The default values on Linux are:

-

- AcceptFilter http data
- AcceptFilter https data -

+
+AcceptFilter http data
+AcceptFilter https data
+    
+

Linux's TCP_DEFER_ACCEPT does not support buffering http requests. Any value besides none will enable @@ -167,10 +182,11 @@ On Windows from Apache httpd 2.3.3 and later. tcp(7) man page.

The default values on Windows are:

-

- AcceptFilter http data
- AcceptFilter https data -

+
+AcceptFilter http data
+AcceptFilter https data
+    
+

Window's mpm_winnt interprets the AcceptFilter to toggle the AcceptEx() API, and does not support http protocol buffering. There are two values @@ -192,7 +208,7 @@ On Windows from Apache httpd 2.3.3 and later.

See also

top
@@ -252,15 +268,14 @@ On Windows from Apache httpd 2.3.3 and later. the request, so you can use the following configuration to enable such a script:

-

- <Files "mypaths.shtml">
- - Options +Includes
- SetOutputFilter INCLUDES
- AcceptPathInfo On
-
- </Files> -

+
+<Files "mypaths.shtml">
+  Options +Includes
+  SetOutputFilter INCLUDES
+  AcceptPathInfo On
+</Files>
+    
+
@@ -280,9 +295,8 @@ On Windows from Apache httpd 2.3.3 and later. configuration files are enabled for that directory. For example:

-

- AccessFileName .acl -

+
AccessFileName .acl
+

before returning the document /usr/local/web/index.html, the server will read @@ -290,13 +304,12 @@ On Windows from Apache httpd 2.3.3 and later. /usr/local/.acl and /usr/local/web/.acl for directives, unless they have been disabled with

-

- <Directory />
- - AllowOverride None
-
- </Directory> -

+
+<Directory />
+    AllowOverride None
+</Directory>
+    
+

See also