Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There is already an answered question on this topic:

Limit a form post size with Apache / Django

but I'm not sure what this means: "If, for example, you are permitting file upload to a particular location" (source: - which location I'm uploading a file to when doing that under Django (WSGI)? Is that directive Apache-wide, or should it be used on some specific folder?

share|improve this question
up vote 2 down vote accepted

Depends on where you put the directive.

Use a Location directive to constraint it to a specific URL.

<Location /some/suburl>
LimitRequestBody 102400

If you stick it at VirtualHost level, then applies to all URLs.

share|improve this answer
Great, perfect answer, thanks! – Tomasz Zieliński Aug 23 '10 at 8:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.