Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7157949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T12:58:44+00:00 2026-05-28T12:58:44+00:00

I am running an Apache 2.2.3 proxy server to hide my backend machines from

  • 0

I am running an Apache 2.2.3 proxy server to hide my backend machines from users. I added a file upload service to my webservices; however, files larger than 128 kb are returning http Status Code of 413. I know this means Request entity too large, and I have scoured the internet looking for a solution.

I have changed my php.ini file to have max_execution_time = 3000, max_input_time = 6000, memory_limit = 128M, post_max_size = 20M, upload_max_filesize = 20M, default_socket_timeout = 6000. This didn’t help, as I suspected it wouldn’t. I am doing a Rest call from Java for the webservice it is not PHP.

I have changed the maxHttpHeaderSize in server.xml to 20000000 on the proxy connector to try to allow for more information to flow through. Again this did nothing and my limit is still at 128 kb.

I have also added the LimitRequestBody 20000000 Directive to the Location block for the webservice files will be uploaded from. This again didn’t work.

Currently all 3 are in place without any improvement. I am still only able to send max 128 kb files through the proxy.

When I try to send a file directly to the backend machine without using the proxy it works perfectly fine without taking into account the size.

Any suggestions on how to fix this will be very much appreciated.
Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T12:58:45+00:00Added an answer on May 28, 2026 at 12:58 pm

    I have figured out what the problem was, and where the 128k limit occurs.

    In mod_ssl it uses the default ssl negotiation size as 128k, when doing an upload we automatically renegotiate for security purposes.

    I had to add and modify the SSLRenegBufferSize directive in the Locations and Directories that needed a larger than 128k buffer on renegotiation. This has worked like a charm for me.

    Hope it helps anyone else that experiences this limit, or had this question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having a problem running Apache + Subversion with SSL behind an Nginx proxy
We have a reverse proxy here, running Apache in version 2.2.x Essentially I want
When running Apache Jackrabbit JCR as an embedded service in your app, is there
On one Linux Server running Apache and PHP 5, we have multiple Virtual Hosts
I'm running Railo 3 in Tomcat 6.0.32. The tomcat server is fronted by Apache
I'm looking to run Apache as a proxy for web development. I'm running Mac
I'm running Nodejs and Apache alongside each other. node-http-proxy is listening on port 80
I have an existing PHP app running on Apache server. Question, is it possible
I have Sventon running on port 8090 of my server under Apache Tomcat. I
I have local apache server, and I need to pass all requests from php

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.