Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have such problem: I set

SecRequestBodyLimit 10485760
LimitRequestBody 10485760

in httpd.conf

but when I post large portions of text (about 2 mb) via Django admin panel I still get Apache's Error 413. Is it possible to fix it?

share|improve this question

2 Answers 2

Check the apache error log, it may have more useful information. Also check to ensure that you restarted the server after making those changes, and check that the server actually accepted those numbers. Lastly, check to ensure that Django is not returning the error, as it may also have an uplaod file limit.

share|improve this answer

Double, triple, quadruple check that you're doing a POST, and not a GET. Packet captures would help.

share|improve this answer

Your Answer

 
discard

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