You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Christopher R Newman <ch...@alcatel.com> on 2004/09/17 19:09:55 UTC

[users@httpd] Cookie exceeds LimitRequestFieldsize

  Hello all,
    Is there a way to change the limit on the request field size without 
the users on the server being affected a lot?  I tried changing the 
LimitRequestFieldsize parameter in the httpd.conf and performing quick 
restarts of the server, but to no avail.  The default is 8190 so I tried 
to increase it, but it's limited by the compile-time constant, which I'm 
sure requires recompiling Apache to change.  I tried disabling the 
limiting parameter by setting it to 0 (security isn't a concern since 
I'm on a private network), but the server rejected all requests as if 
the actual field size limit was equal to 0.  Is there a way to raise the 
value above 8190 or disabling it without recompiling the server?  If 
not, should a value of 0 disable the limiting parameter when I 
recompile?  I want to make sure I do it right if I have to recompile so 
I don't have to do it again if it is wrong.

Thanks,
Chris

P.S.  Background info for an alternative solution:  I'm trying to set 
cookies in Javascript to pass to a CGI.  Even though I break up the 
cookies to avoid exceeding the cookie limits, it looks like when I 
redirect, all of the cookies are sent in a single header.  I tried 
writing each of the cookies to a hidden frame and rewrite that frame 
after each cookie (presumably so they will be in different headers), but 
I still have the same problem.  I get the "Size of a request header 
field exceeds server limit" error showing the cookies I was setting on 
one long line.  Rather than changing the Apache config., someone might 
be able to help me figure out how to break up the cookies I set into 
separate headers.  I would greatly appreciate the help.

-- 
======================================================================
Chris Newman       Alcatel USA          Work:(919)850-5586
Software Engineer  2301 Sugar Bush Rd.  Fax:(919)850-6160
Test Automation    Raleigh, NC 27601    Christopher.Newman@alcatel.com
======================================================================



---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org