Ubuntu Apache 10 second timeout

apache-2.2timeoutUbuntu

I'm debugging an API I'm building using netcat to send raw HTTP requests. The thing is that Apache closes the connection after 10 seconds, giving me very little time to type. I know that I could pipe a file to nc, or use any other workaround, but I'd like it to work as it's supposed to.

The Timeout directive in apache2.conf is at its default of 300 seconds, KeetAliveTimeout at 15 seconds. Where could this 10 second timeout possibly be defined? I'm running Ubuntu 10.04 Desktop.

Thanks,

Andreas

Best Answer

This sounds like mod_reqtimeout needs some tweaking. Take a look at the docs for mod_reqtimeout

On ubuntu 10.04, I believe you will find the configuration in:

/etc/apache2/mods-enabled/reqtimeout.conf