From: André Malo Date: Fri, 15 Oct 2004 21:21:46 +0000 (+0000) Subject: update transformation X-Git-Tag: 2.1.1~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ee6126ffd6f62f2ab9fef60724f8af47e7afef0;p=thirdparty%2Fapache%2Fhttpd.git update transformation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105468 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_filter.html.en b/docs/manual/mod/mod_filter.html.en index 2bfbab15a49..a03b16ae5d9 100644 --- a/docs/manual/mod/mod_filter.html.en +++ b/docs/manual/mod/mod_filter.html.en @@ -80,13 +80,18 @@ Variables offers the full flexibility of configuration with
top

Filter Declarations, Providers and Chains

- +

+[This image displays the traditional filter model]
+Figure 1: The traditional filter model

+

In the traditional model, output filters are a simple chain from the content generator (handler) to the client. This works well provided the filter chain can be correctly configured, but presents problems when the filters need to be configured dynamically based on the outcome of the handler.

- +

+[This image shows the mod_filter model]
+Figure 2: The mod_filter model

mod_filter works by introducing indirection into the filter chain. Instead of inserting filters in the chain, we insert a filter harness which in turn dispatches conditionally diff --git a/docs/manual/mod/mod_isapi.html.ko.euc-kr b/docs/manual/mod/mod_isapi.html.ko.euc-kr index 4c18b295305..3ba98690f0f 100644 --- a/docs/manual/mod/mod_isapi.html.ko.euc-kr +++ b/docs/manual/mod/mod_isapi.html.ko.euc-kr @@ -119,7 +119,7 @@

HSE_REQ_SEND_URL_REDIRECT_RESP
»ç¿ëÀÚ¸¦ ´Ù¸¥ À§Ä¡·Î ¸®´ÙÀÌ·º¼ÇÇÑ´Ù.
¿ÏÀüÇÑ URLÀ» »ç¿ëÇØ¾ß ÇÑ´Ù (¿¹¸¦ µé¾î, - http://server/location).
. + http://server/location).
HSE_REQ_SEND_URL
»ç¿ëÀÚ¸¦ ´Ù¸¥ À§Ä¡·Î ¸®´ÙÀÌ·º¼ÇÇÑ´Ù.
diff --git a/docs/manual/mod/mod_proxy_ajp.html.en b/docs/manual/mod/mod_proxy_ajp.html.en index 88b743b2014..a1c303dae6f 100644 --- a/docs/manual/mod/mod_proxy_ajp.html.en +++ b/docs/manual/mod/mod_proxy_ajp.html.en @@ -75,10 +75,10 @@ cause more connections to be open at once.

Once the web server has opened a connection to the servlet container, the connection can be in one of the following states:

-

    +
    • Idle
      No request is being handled over this connection.
    • Assigned
      The connecton is handling a specific request.
    • -

    +

Once a connection is assigned to handle a particular request, the basic request informaton (e.g. HTTP headers, etc) is sent over the connection in a highly condensed form (e.g. common strings are encoded as integers). @@ -87,7 +87,7 @@ separate packet immediately after.

At this point, the servlet container is presumably ready to start processing the request. As it does so, it can send the - following messages back to the web server: + following messages back to the web server:

  • SEND_HEADERS
    Send a set of headers back to the browser.
  • SEND_BODY_CHUNK
    Send a chunk of body data back to the browser. @@ -98,7 +98,7 @@ request (for uploaded files, for example). (Note: this is unrelated to HTTP chunked tranfer).
  • END_RESPONSE
    Finish the request-handling cycle.
  • -

+

Each message is accompanied by a differently formatted packet of data. See Response Packet Structures below for details.

top
@@ -112,7 +112,7 @@ making that so (on the C side). If anyone with a better knowledge of socket calls can step in, that would be great.

There are four data types in the protocol: bytes, booleans, - integers and strings. + integers and strings.

Byte
A single byte.
Boolean
@@ -135,7 +135,7 @@ C code can pass around references into a single buffer, without copying. if the \0 was missing, the C code would have to copy things out in order to get its notion of a string. -

+

Packet Size

According to much of the code, the max packet size is @@ -149,7 +149,7 @@ ASCII code for B). After those first two bytes, there is an integer (encoded as above) with the length of the payload. Although this might suggest that the maximum payload could be as large as 2^16, in fact, the - code sets the maximum to be 8K. + code sets the maximum to be 8K.

@@ -189,13 +189,14 @@ -
Packet Format (Server->Container)Data Length (n) Data

+

For most packets, the first byte of the payload encodes the type of message. The exception is for request body packets sent from the server to the container -- they are sent with a standard packet header ( 0x1234 and then length of the packet), but without any prefix code after that.

-

The web server can send the following messages to the servlet container: +

The web server can send the following messages to the servlet + container:

@@ -229,14 +230,14 @@ -
CodeData Size (2 bytes) and corresponding body data.

+

To ensure some basic security, the container will only actually do the Shutdown if the request comes from the same machine on which it's hosted.

The first Data packet is send immediatly after the Forward Request by the web server.

The servlet container can send the following types of messages to the - webserver: + webserver:

@@ -272,7 +273,7 @@ -
CodeCPong Reply The reply to a CPing request

+

Each of the above messages has a different internal structure, detailed below.

@@ -325,7 +326,7 @@ attribute_value := (string)

Method

The HTTP method, encoded as a single byte:

-

+
@@ -354,7 +355,7 @@ attribute_value := (string) -
Command NameCode
OPTIONS1
GET2
MERGE25
BASELINE_CONTROL26
MKACTIVITY27

+

Later version of ajp13, will transport additional methods, even if they are not in this list.

@@ -373,7 +374,7 @@ attribute_value := (string) it is encoded normally (as a string, with prefixed length). The list of common headers sc_req_header_nameand their codes is as follows (all are case-sensitive):

-

+
-
NameCode valueCode name
accept0xA001SC_REQ_ACCEPT
accept-charset0xA002SC_REQ_ACCEPT_CHARSET @@ -395,7 +396,7 @@ attribute_value := (string)
pragma0xA00CSC_REQ_PRAGMA
referer0xA00DSC_REQ_REFERER
user-agent0xA00ESC_REQ_USER_AGENT

+

The Java code that reads this grabs the first two-byte integer and if it sees an '0xA0' in the most significant byte, it uses the integer in the second byte as an index into an array of @@ -419,7 +420,7 @@ attribute_value := (string) sends them in the order listed below). A special terminating code is sent to signal the end of the list of optional attributes. The list of byte codes is:

-

+
@@ -436,7 +437,7 @@ attribute_value := (string) attribute follows) -
InformationCode ValueNote
?context0x01Not currently implemented
?ssl_key_size0x0B
are_done0xFFrequest_terminator

+

The context and servlet_path are not currently set by the C code, and most of the Java code completely ignores whatever is sent over for those fields (and some of it will actually break @@ -507,7 +508,7 @@ AJP13_GET_BODY_CHUNK := encoded the same way the request header names are. See header_encoding above for details about how the the codes are distinguished from the strings.
The codes for common headers are:

-

+
@@ -520,7 +521,7 @@ AJP13_GET_BODY_CHUNK := -
NameCode value
Content-Type0xA001
Content-Language0xA002
Servlet-Engine0xA009
Status0xA00A
WWW-Authenticate0xA00B

+

After the code or the string header name, the header value is immediately encoded.

diff --git a/docs/manual/mod/mod_rewrite.html.en b/docs/manual/mod/mod_rewrite.html.en index 8c8cfa04ef4..18b0a4dd324 100644 --- a/docs/manual/mod/mod_rewrite.html.en +++ b/docs/manual/mod/mod_rewrite.html.en @@ -1183,19 +1183,17 @@ once! - -
Description:Sets some special options for the rewrite engine
Syntax:RewriteOptions Options
Default:RewriteOptions MaxRedirects=10
Context:server config, virtual host, directory, .htaccess
Override:FileInfo
Status:Extension
Module:mod_rewrite
Compatibility:MaxRedirects is available in Apache 2.0.45 and +
Compatibility:MaxRedirects is no longer available in version 2.1 and later

The RewriteOptions directive sets some special options for the current per-server or per-directory - configuration. The Option strings can be one of the - following:

+ configuration. The Option string can be currently only one:

inherit
@@ -1205,14 +1203,6 @@ later server are inherited. In per-directory context this means that conditions and rules of the parent directory's .htaccess configuration are inherited. - -
MaxRedirects=number
-
In order to prevent endless loops of internal redirects - issued by per-directory RewriteRules, mod_rewrite 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.
diff --git a/docs/manual/mod/quickreference.html.de b/docs/manual/mod/quickreference.html.de index c15c7f360c5..e00c6b11e88 100644 --- a/docs/manual/mod/quickreference.html.de +++ b/docs/manual/mod/quickreference.html.de @@ -577,7 +577,7 @@ processing engine RewriteMap MapName MapType:MapSource svEDefines a mapping function for key-lookup -RewriteOptions Options MaxRedirects=10 svdhESets some special options for the rewrite engine +RewriteOptions OptionssvdhESets some special options for the rewrite engine RewriteRule Pattern SubstitutionsvdhEDefines rules for the rewriting engine RLimitCPU Sekunden|max [Sekunden|max]svdhCBegrenzt den CPU-Verbrauch von Prozessen, die von diff --git a/docs/manual/mod/quickreference.html.en b/docs/manual/mod/quickreference.html.en index 82474cfeb9b..b55c7f2b499 100644 --- a/docs/manual/mod/quickreference.html.en +++ b/docs/manual/mod/quickreference.html.en @@ -564,7 +564,7 @@ processing engine RewriteMap MapName MapType:MapSource svEDefines a mapping function for key-lookup -RewriteOptions Options MaxRedirects=10 svdhESets some special options for the rewrite engine +RewriteOptions OptionssvdhESets some special options for the rewrite engine RewriteRule Pattern SubstitutionsvdhEDefines rules for the rewriting engine RLimitCPU seconds|max [seconds|max]svdhCLimits the CPU consumption of processes launched diff --git a/docs/manual/mod/quickreference.html.es b/docs/manual/mod/quickreference.html.es index ac45fcab0ca..a2c8ce5fcbd 100644 --- a/docs/manual/mod/quickreference.html.es +++ b/docs/manual/mod/quickreference.html.es @@ -567,7 +567,7 @@ processing engine RewriteMap MapName MapType:MapSource svEDefines a mapping function for key-lookup -RewriteOptions Options MaxRedirects=10 svdhESets some special options for the rewrite engine +RewriteOptions OptionssvdhESets some special options for the rewrite engine RewriteRule Pattern SubstitutionsvdhEDefines rules for the rewriting engine RLimitCPU seconds|max [seconds|max]svdhCLimits the CPU consumption of processes launched diff --git a/docs/manual/mod/quickreference.html.ja.euc-jp b/docs/manual/mod/quickreference.html.ja.euc-jp index c2a4e9f655b..4ae8e5646c2 100644 --- a/docs/manual/mod/quickreference.html.ja.euc-jp +++ b/docs/manual/mod/quickreference.html.ja.euc-jp @@ -531,7 +531,7 @@ processing engine RewriteMap MapName MapType:MapSource svEDefines a mapping function for key-lookup -RewriteOptions Options MaxRedirects=10 svdhESets some special options for the rewrite engine +RewriteOptions OptionssvdhESets some special options for the rewrite engine RewriteRule Pattern SubstitutionsvdhEDefines rules for the rewriting engine RLimitCPU seconds|max [seconds|max]svdhCApache ¤Î»Ò¥×¥í¥»¥¹¤«¤éµ¯Æ°¤µ¤ì¤¿¥×¥í¥»¥¹¤Î CPU ¾ÃÈñÎ̤ò diff --git a/docs/manual/mod/quickreference.html.ko.euc-kr b/docs/manual/mod/quickreference.html.ko.euc-kr index 779bbe56b57..24b7625d684 100644 --- a/docs/manual/mod/quickreference.html.ko.euc-kr +++ b/docs/manual/mod/quickreference.html.ko.euc-kr @@ -510,7 +510,7 @@ processing engine RewriteMap MapName MapType:MapSource svEDefines a mapping function for key-lookup -RewriteOptions Options MaxRedirects=10 svdhESets some special options for the rewrite engine +RewriteOptions OptionssvdhESets some special options for the rewrite engine RewriteRule Pattern SubstitutionsvdhEDefines rules for the rewriting engine RLimitCPU seconds|max [seconds|max]svdhCLimits the CPU consumption of processes launched