httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hubert lubaczewski <>
Subject Re: [users@httpd] mod_rewrite with maps gives random pages
Date Thu, 23 Dec 2004 21:02:21 GMT
On Thu, Dec 23, 2004 at 09:25:07PM +0100, André Malo wrote:
> * hubert lubaczewski wrote:
> >
> #define URL_LENGTH_LIMIT 20480
> This looks like you've taken 2048 in the first place. Just to make sure: If 
> you're running 2048 in your production version, that's your problem. The 
> buffer should be at least LimitRequestLine (8K as distributed). Otherwise 
> there's stuff left over in the buffer and handled in the next request.

LimitRequestLine is 8k, but i do assing 20k ! not 2k!
do you think i should memset() with '\0''s the whole cGiven ? but what
it could be that it *usually* works? some kind of char mangling data
in memory?

> In other words, every line you get that doesn't end with a \n will move the 
> map out of sync (you could check that in your program).

how can you get this thing with fgets() ?!


hubert lubaczewski
Network Operations Center
eo Networks Sp. z o.o.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message