You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Prabhat Karki <br...@yahoo.com> on 2010/03/16 19:30:37 UTC

apache responds with 413 for duplicate http header

Hello,
I have apache installed on redhat linux. The version is below
Server version: Apache/2.2.11 (Unix)
This server is basically accepting requests on port 80. However if the incoming requests has duplicate http headers for the same requests the apache responds with a 413 error. In the example below the client has two Content-Length headers and as shown the response from apache is 413. All the header information is not included below for obvious reasons. Is there any config changes that can be applied to apache to ignore the duplicate headers

POST http://example.com HTTP/1.1
Host:example.net.net:80
User-Agent: .1
Content-Length: 70
Content-length: 70
Content-Type: application/x-www-form-urlencoded



ACTION=search&CUID=7QCJVqZNuujgdluDNZTXTA%3d%3d&CATALOG=HOME&GCLIENT=PHTTP/1.1 413 Request Entity Too Large
Date: Tue, 16 Mar 2010 15:39:37 GMT
Connection: close
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>413 Reques

Thanks in Advance
Prabhat


      

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: apache responds with 413 for duplicate http header

Posted by David kerber <dc...@verizon.net>.
Prabhat Karki wrote:
> Hello,
> I have apache installed on redhat linux. The version is below
> Server version: Apache/2.2.11 (Unix)
> This server is basically accepting requests on port 80. However if the incoming requests has duplicate http headers for the same requests the apache responds with a 413 error. In the example below the client has two Content-Length headers and as shown the response from apache is 413. All the header information is not included below for obvious reasons. Is there any config changes that can be applied to apache to ignore the duplicate headers
> 
> POST http://example.com HTTP/1.1
> Host:example.net.net:80
> User-Agent: .1
> Content-Length: 70
> Content-length: 70
> Content-Type: application/x-www-form-urlencoded
> 
> 
> 
> ACTION=search&CUID=7QCJVqZNuujgdluDNZTXTA%3d%3d&CATALOG=HOME&GCLIENT=PHTTP/1.1 413 Request Entity Too Large
> Date: Tue, 16 Mar 2010 15:39:37 GMT
> Connection: close
> Content-Type: text/html; charset=iso-8859-1
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>413 Reques
> 
> Thanks in Advance
> Prabhat

Where does Tomcat figure into this question?

D


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: apache responds with 413 for duplicate http header

Posted by André Warnier <aw...@ice-sa.com>.
Peter Crowther wrote:
> There are lots of Apache projects.  You want the mailing list for Apache
> httpd; this is the mailing list for Apache Tomcat.  Try re-posting on a more
> appropriate list :-)
> 
And apart from that : fix the client. It is not the server which is the 
problem here.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: apache responds with 413 for duplicate http header

Posted by Peter Crowther <pe...@melandra.com>.
There are lots of Apache projects.  You want the mailing list for Apache
httpd; this is the mailing list for Apache Tomcat.  Try re-posting on a more
appropriate list :-)

- Peter

On 16 March 2010 18:30, Prabhat Karki <br...@yahoo.com> wrote:

> Hello,
> I have apache installed on redhat linux. The version is below
> Server version: Apache/2.2.11 (Unix)
> This server is basically accepting requests on port 80. However if the
> incoming requests has duplicate http headers for the same requests the
> apache responds with a 413 error. In the example below the client has two
> Content-Length headers and as shown the response from apache is 413. All the
> header information is not included below for obvious reasons. Is there any
> config changes that can be applied to apache to ignore the duplicate headers
>
> POST http://example.com HTTP/1.1
> Host:example.net.net:80
> User-Agent: .1
> Content-Length: 70
> Content-length: 70
> Content-Type: application/x-www-form-urlencoded
>
>
>
> ACTION=search&CUID=7QCJVqZNuujgdluDNZTXTA%3d%3d&CATALOG=HOME&GCLIENT=PHTTP/1.1
> 413 Request Entity Too Large
> Date: Tue, 16 Mar 2010 15:39:37 GMT
> Connection: close
> Content-Type: text/html; charset=iso-8859-1
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>413 Reques
>
> Thanks in Advance
> Prabhat
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>