I tried php without suhosin patch and it was the same. Thanks Stuart

On Wed, Dec 28, 2011 at 4:44 PM, Stuart Henderson <s...@spacehopper.org>wrote:

> This may be restricted by suhosin, try increasing
> suhosin.get.max_value_length from its default of 512 in your
> php-5.2.ini file then restart apache.
>
> On 2011-12-28, Alan Cheng <bsdp...@gmail.com> wrote:
> > Hello list,
> >
> > I'm trying to install an PHP web app that generates very long URLs on my
> > OpenBSD 5.0 i386 snapshot. But I just keep getting "file name too long"
> > errors in apache error log like below.
> > It happened on both built-in apache 1.3 and apache-httpd (2.2.20) in
> ports.
> > I even tried compile apache2 using source files from ubuntu,  as the same
> > app works fine on ubuntu 11.04 + apache2 (2.2.17), it didn't help either.
> >
> > Any insight or suggestions?
> >
> > [Wed Dec 28 14:15:51 2011] [error] [client 10.249.70.50] (63)File name
> too
> > long: Cannot map GET
> >
> /media/ajax/component/boxList/filter/featured/limit/all/layout/thumbBig/vars/
> >
> a%253A25%253A%257Bs%253A3%253A%2522act%2522%253Bs%253A7%253A%2522boxList%2522
> >
> %253Bs%253A3%253A%2522mod%2522%253Bs%253A5%253A%2522media%2522%253Bs%253A4%25
> >
> 3A%2522mode%2522%253Bs%253A3%253A%2522all%2522%253Bs%253A6%253A%2522filter%25
> >
> 22%253Bs%253A8%253A%2522featured%2522%253Bs%253A5%253A%2522limit%2522%253Bs%2
> >
> 53A3%253A%2522all%2522%253Bs%253A6%253A%2522layout%2522%253Bs%253A8%253A%2522
> >
> thumbBig%2522%253Bs%253A6%253A%2522search%2522%253Bs%253A0%253A%2522%2522%253
> >
> Bs%253A8%253A%2522per_page%2522%253Ba%253A3%253A%257Bs%253A8%253A%2522thumbBi
> >
> g%2522%253Bi%253A6%253Bs%253A5%253A%2522thumb%2522%253Bi%253A10%253Bs%253A4%2
> >
> 53A%2522list%2522%253Bi%253A4%253B%257Ds%253A11%253A%2522show_filter%2522%253
> >
> Bb%253A1%253Bs%253A10%253A%2522show_limit%2522%253Bb%253A0%253Bs%253A11%253A%
> >
> 2522show_layout%2522%253Bb%253A1%253Bs%253A11%253A%2522show_search%2522%253Bb
> >
> %253A0%253Bs%253A10%253A%2522show_pager%2522%253Bb%253A0%253Bs%253A9%253A%252
> >
> 2show_more%2522%253Bb%253A1%253Bs%253A9%253A%2522save_page%2522%253Bb%253A1%2
> >
> 53Bs%253A10%253A%2522pager_name%2522%253Bs%253A4%253A%2522page%2522%253Bs%253
> >
> A9%253A%2522thumbsize%2522%253Bs%253A7%253A%2522160x120%2522%253Bs%253A9%253A
> >
> %2522more_link%2522%253Bs%253A10%253A%2522media%252Flist%2522%253Bs%253A2%253
> >
> A%2522id%2522%253Bs%253A9%253A%2522media-box%2522%253Bs%253A9%253A%2522compon
> >
> ent%2522%253Bs%253A7%253A%2522boxList%2522%253Bs%253A4%253A%2522type%2522%253
> >
> BN%253Bs%253A4%253A%2522text%2522%253BN%253Bs%253A13%253A%2522captionParams%2
> >
> 522%253Ba%253A0%253A%257B%257Ds%253A7%253A%2522caption%2522%253Bs%253A9%253A%
> > 2522New%2Bmedia%2522%253Bs%253A4%253A%2522page%2522%253Bi%253A1%253B%257D
> > HTTP/1.1 to file, referer: http://host
> >
> > BTW, I found this url
> > https://issues.apache.org/bugzilla/show_bug.cgi?id=45187 while
> googling, it
> > did help on understanding the possible root cause, but did not help in
> > resolving it.
> >
> > thanks,
> > Alan Cheng

Reply via email to