On 7/25/06, Peter Posselt Vestergaard <PPV@xxxxxxxxxxxx> wrote:
> -----Original Message----- > From: jslive@xxxxxxxxx [mailto:jslive@xxxxxxxxx] On Behalf Of > Joshua Slive > Sent: 24. juli 2006 17:30 > To: users@xxxxxxxxxxxxxxxx > Subject: Re: [users@httpd] referer header field too long? > > On 7/24/06, Peter Posselt Vestergaard <PPV@xxxxxxxxxxxx> wrote: > > Hi > > We have a number of Apache HTTP servers installed all with version > > 2.0.54. > > Lately we have seen a number of "400 Bad Request" in the > error logs, and > > after a lot of testing we have found that this happens then the > > "Referer" HTTP header field in the request contains a URL > that it more > > than 200 characters long. > > We have searched the web and apache web site without > finding anything > > about this. > > Can someone confirm this and tell us how to work around it? > We cannot > > easily replace the servers, so we would prefer another > solution... but > > if no such exist we would like to know whether this has > been corrected > > in a later version of the Apache server? We are not > interested in the > > referer field, so it would be okay if Apache could just ignore it. > > 200 characters would be a very unusual limit. You can check > http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestfieldsize > but I suspect the problem may be elsewhere, such as an > intermediate proxy. > > Joshua. > Thanks for your answer. However we have not set that setting and I am entirely sure that no proxy is in between. We first saw the error on a customer setup, but have been able to reproduce the problem on our local setup in which we know that no proxy is in between.
I would look for something else other than the length of the Referer. What does the apache error log say? Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx