我们在 Java spring 框架上设置了一个 Web 门户。它运行在 tomcat 应用服务器上。Portal 是通过 apache 网络服务器通过 JK 连接器连接到 tomcat 的。整个门户都使用 Apache 的 443 端口启用了 HTTPS。Apache 版本是:Apache/2.4.2 (Unix)。它是 apache 网络服务器的最新稳定版本。
每当我们尝试将超过 128 KB 的文件上传到门户时,我们都会面临 413 错误:
Request Entity Too Large The requested resource /teamleadchoachingtracking/doFileUpload does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.
Run Code Online (Sandbox Code Playgroud)
在 apache 错误日志中,我们收到以下错误:
AH02018: request body exceeds maximum size (131072) for SSL buffer
AH02257: could not buffer message body to allow …Run Code Online (Sandbox Code Playgroud)