If this blog helped you in any way, please donate a dollar here

Thursday, July 18, 2013

Timeout while testing with centos httpd (solved)

Hello all,

A tech post after a long time! So, here I was in my desk trying to understand how HTTP headers work. So I did a telnet to my CentOS VM's httpd (apache web server) and just typing

GET / HTTP/1.1

and just when I was in the next line, the connection got terminated. Annoying! Just then my mentor, told me that there were apache flags for that stuff. It looked like this
RequestReadTimeout header=50-80,minrate=1
RequestReadTimeout body=50,minrate=1

So I added that stuff to the "httpd.conf" file and it was supposed to work. Boom! It gives me an error saying the directive was not recognized.