@@ -200,9 +200,8 @@ This whole magic is in place in order to prevent congestion.
200200
201201== Keep seeing "HTTP/1.1 501 Method Not Implemented"
202202
203- One needs to configure EnableMCMPReceive in
204- the VirtualHost where you received the MCMP elements in the Apache httpd configuration.
205- Something like in the aforementioned Minimal Example.
203+ The `EnableMCMPReceive` must be configured in the `VirtualHost` where the MCMP elements are configured in the Apache httpd configuration.
204+ See minimal example above.
206205
207206== Redirect is not working (Tomcat, JBossWeb):
208207
@@ -303,7 +302,7 @@ Creating targeted mod_cluster.pp policy package
303302rm tmp/mod_cluster.mod.fc tmp/mod_cluster.mod
304303----
305304
306- The `mod_cluster.pp` file should be proceeded by semodule as root:
305+ The `mod_cluster.pp` file should be proceeded by ` semodule` as root:
307306
308307[source]
309308----
@@ -315,7 +314,28 @@ Alternatively, one may use `semanage` and add ports and paths labels manually.
315314
316315== How do I change STATUS message frequency?
317316
318- In WildFly, this behavior is configurable in the mod_cluster subsystem.
319- For Tomcat you can use system property to modify this behaviour.
317+ In WildFly, this behavior is configurable in the mod_cluster subsystem.
318+ Run the following CLI command to adjust to 20 seconds in this example:
319+
320+ [source]
321+ ----
322+ /subsystem=modcluster/proxy=default:write-attribute(name=status-interval, value=20)
323+ ----
324+
325+ In Tomcat, you need to use system property to modify this behavior.
320326Setting `org.jboss.modcluster.container.catalina.status-frequency` (default: 1) makes worker to send STATUS MCMP messages only `1/n` periodic event.
321327The events occur every `backgroundProcessorDelay` _(default 10 seconds)_.
328+
329+ == How can I debug requests in Undertow?
330+
331+ Undertow by default provides a `RequestDumpingHandler` from the main `io.undertow.core` module.
332+ Use the following CLI script to configure Undertow to log the request to the log:
333+
334+ [source]
335+ ----
336+ batch
337+ /subsystem=undertow/configuration=filter/custom-filter=request-dumping-filter:add(class-name=io.undertow.server.handlers.RequestDumpingHandler, module=io.undertow.core)
338+ /subsystem=undertow/server=default-server/host=default-host/filter-ref=request-dumping-filter:add
339+ run-batch
340+ reload
341+ ----
0 commit comments