Httpd – way to increase the maximum allow url length for incoming requests on Apache HTTPd

apache-2.2configurationhttpdhttpd.conf

I'm running a web services site on Apache HTTPd and every once in while I get an error indicating the incoming URL is too long (HTTPError: HTTP Error 414: Request-URI Too Large).

My site is servicing programs rather than browser so I'm not worried about the 2K browser limit.

Is there any way to get increase the acceptable URI length?

Best Answer

Increasing LimitRequestLine parameter might help. But still I wonder what kind of URI's you have, since under normal operation I have never needed to touch that value ...