To debug my webapp behaviour behind some weird network, I need to dump all HTTP request coming to the Apache2 server (on a standard Ubuntu). So I tryed to activate the dump_io module :
and I checked that the module was correctly loaded (after reload) by :
# apache2ctl -t -D DUMP_MODULES | grep dumpio dumpio_module (shared)
I added the following in the
<VirtualHost> part of my site :
LogLevel debug DumpIOInput On
service apache2 restart and
tail -f /var/log/apache2/error.log
but nothing is showing...
I tryed putting the directive at global level (apache2.conf), putting all virtual hosts LogLevel to debug (as suggested in Why can't I get Apache2 mod_dumpio working under Lucid Lynx Ubuntu?) but no luck...
The only thing I'm getting related to my
setInfo request is the following line (in error.log) which does not show if I set loglevel to warn, but shows event if I don't declare the DumpIOInput.
[Tue Nov 06 00:21:13 2012] [debug] mod_deflate.c(615): [client 18.104.22.168] Zlib: Compressed 494 to 284 : URL /setInfo
So, what can I do next ? I'm pretty sure that I have incoming requests on my virtualhost, because I get the following error (which is the one I'm trying to clarify and debug) :
[Tue Nov 06 09:24:42 2012] [error] [client 22.214.171.124] no acceptable variant: /path/api/setInfo