From: André Malo
Beschreibung: | Ständig verfügbare Kernfunktionen des Apache HTTP Servers |
---|---|
Status: | Core |
Beschreibung: | Legt das Serververhalten bei TRACE -Anfragen
+fest |
---|---|
Syntax: | TraceEnable [on|off|extended] |
Voreinstellung: | TraceEnable on |
Kontext: | Serverkonfiguration |
Status: | Core |
Modul: | core |
Kompatibilität: | Seit Version 2.0.55 |
Diese Direktive überschreibt das Verhalten bei TRACE
+ sowohl für den Hauptserver als auch für
+ mod_proxy
. Die Voreinstellung TraceEnable on
+ erlaubt TRACE
-Anfragen gemäß RFC 2616, welcher
+ das Mitschicken von Request-Bodies verbietet. TraceEnable off
+ veranlasst den Hauptserver und mod_proxy
, dem
+ Client mit dem Fehler 405
(Methode nicht erlaubt)
+ antworten.
Mit Hilfe der nicht konformen Direktive TraceEnable
+ extended
können Request-Bodies zugelassen werden. Das ist
+ allerdings ausschließlich für Test- und Diagnosezwecke gedacht.
+ Der Hauptserver (als Ursprungsserver) (Anm.d.Ü.: damit ist der
+ Normalbetrieb und nicht der Einsatz als Proxy-Server gemeint)
+ limitiert den Request-Body auf 64K (plus 8K für die Chunk-Header,
+ wenn Transfer-Encoding: chunked
verwendet wird) und
+ reflektiert den vollen Headersatz sowie alle Chunk-Header in seiner
+ Antwort. Im Betrieb als Proxyserver wird der Request-Body nicht auf
+ 64K begrenzt.
Description: | Name of the distributed configuration file |
---|---|
Description: | Determines the behaviour on TRACE
+requests |
Syntax: | TraceEnable [on|off|extended] |
Default: | TraceEnable on |
Context: | server config |
Status: | Core |
Module: | core |
Compatibility: | Version 2.0.55 and later |
This directive overrides the behavior of TRACE for both
- the core server and mod_proxy. The default TraceEnable
- on
permits TRACE requests per RFC 2616, which disallows
- any request body to accompany the request. TraceEnable
- off
causes the core server and mod_proxy to return
- a 405 FORBIDDEN error to the client.
This directive overrides the behavior of TRACE
for both
+ the core server and mod_proxy
. The default
+ TraceEnable on
permits TRACE
requests per
+ RFC 2616, which disallows any request body to accompany the request.
+ TraceEnable off
causes the core server and
+ mod_proxy
to return a 405
(Method not
+ allowed) error to the client.
Finally, for testing and diagnostic purposes only, request
bodies may be allowed using the non-compliant TraceEnable
extended
directive. The core (as an origin server) will
restrict the request body to 64k (plus 8k for chunk headers if
- Transfer-Encoding: chunked is used). The core will reflect the
- full headers and all chunk headers with the request body. As a
- proxy server, the request body is not restricted to 64k.
Transfer-Encoding: chunked
is used). The core will
+ reflect the full headers and all chunk headers with the response
+ body. As a proxy server, the request body is not restricted to 64k.