Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 :

a2enmod dump_io

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

Then 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 178.251.23.193] 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 178.251.23.138] no acceptable variant: /path/api/setInfo
share|improve this question
    
ServerFault is officially empty... :/ –  Orabîg Aug 21 at 10:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.