Just an update. -1 *is* a documented value (for unlimited).

I have since found the real issue. I am using mod_security, with a
rule-set that limits inbound requests.

What's interesting is since I've posted this, I've come across lots of
behaviors in trac that mod_security's generic ruleset is choking on
(for example multipart unmatched boundaries). I may write them up here
since it might encourage better app dev practices in the future.

Thank you for taking the time to reply. The takeaway: check
mod_security, if you're running it.

On Nov 20, 2:54 am, "Cooke, Mark" <[email protected]> wrote:
> Hello,
>
>
>
> > I am trying to attach files to a ticket. When I do so, I get the
> > following error in my browser
> > Request Entity Too Large
> > The requested resource
> > /attachment/ticket/1/
> > does not allow request data with POST requests, or the amount of data
> > provided in the request exceeds the capacity limit.
>
> > I am able to attach files that are *very* small (under 100k).
>
> > I am running trac 0.11.5 on Debian etch, installed with easy_install
>
> > Here are my settings:
> > trac.ini
> > [attachment]
> > max_size = -1
>
> I am not sure if '-1' is a valid value (and it does not seem to be
> mentioned as an option or in the wiki), so try setting a real value
> larger than your attachment, restart trac then try to upload again...
>
> ~ mark c

--

You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=.


Reply via email to