[Typo3-dev] To long BE URLs: POST/GET discussion

Stefan Kreisberg stefanNOSPAM at linkfactory.dk
Thu May 26 22:13:06 CEST 2005


Thx for the comments ;-D

Martin Kutschker wrote:
> Stefan Kreisberg schrieb:
>> Hiya,
>> 
>> I dunno whether this issue has ever been discussed, so here's some
>> thoughts on the BE behaviour, long URI's and Apache server:
>> 
>> I have a site that changes a lot of content and many new pages each week.
>> The editors and admins like to clear their info cache with regards to
>> getting resetting search results for various issues. This leads to many
>> records in the related tables, which again leads to "higher" (and thus
>> also bigger) id's with the auto_inc. The result is, that eventually the
>> recursive call to "clear info cache" is so long that a default Apache
>> compilation fails with:
> 
> I don't get to what "recursive calls" you refer here, but...

Sorry, should have been "depth", i.e. how many levels the info cache delete
button should descend into (max 3 AFAIR)

>>  Request-URI Too Large
>>  The requested URL's length exceeds the capacity limit for this server.
>>  
>>  request failed: URI too long
>>  
>> One could ofcourse recompile/tune Apache with a larger
>> DEFAULT_LIMIT_REQUEST_LINE
> 
> it's not only hardcoded, but a limitation of the HTTP protcol itself.
> The maximum URL length is about 250 chars. So I won't fiddle with Apache.

Hm, isn't it longer nowadays? Nevertheless postvars probably a better thing.
I thin IE is the only browser with the 250 char limit (?)

> I thought about the problem before, but in the context of plugins:
> Prefixing the arguments with the pluig name is nice, but can lead to
> really long URLs.
> 
> Masi

-Stefan




More information about the TYPO3-dev mailing list