Re: Catching "File name too long" errors
In article <1160923606.292537.188620@i42g2000cwa.googlegroups .com>,
"Joshua Slive" <jslive@gmail.com> wrote:
> On Oct 13, 5:28 pm, Bob Arn <nom...@nomail.bob> wrote:
>
> > [Thu Oct 12 23:09:24 2006] [error] [client 11.11.11.111] (36)File name
> > too long: access to /879847594875.......
> >
> > The limit for file names is not "very-large", it is only 255 chars. I
> > want it to be as long as LimitRequestLine. How can I do that?
>
> This is probably a limit in your operating system, rather than an
> apache limit. But for this type of error, you should be able to use a
> custom ErrorDocument. Have you tried placing the ErrorDocument
> directive in the main part of httpd.conf (outside any <Directory>
> section)?
Thanks for the suggestion. I have ErrorDocument in .htaccess. There,
ErrorDocument is the first line and works for other normal errors but
not this one. On my shared host I don't have access to httpd.conf. Will
that make a difference?
Bob
|