Request Line problem
Posted by: owerio (---.dynamic859654118.ttnet.net.tr)
Date: December 07, 2007 10:28AM

Hello. I generated a huge request line but when passed to it a php file, it complains like below.

"<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<html><head>

<title>414 Request-URI Too Large</title>

</head><body>

<h1>Request-URI Too Large</h1>

<p>The requested URL's length exceeds the capacity

limit for this server.<br />

</p>

</body></html>"

I googled it and find it might be related to DEFAULT_LIMIT_REQUEST_LINE value. But I couldnt find the right file to set the changes. I need to increase value to pass that request line to be processed by a php file. Could you help please?

Thanks in advance.

Options: ReplyQuote
Re: Request Line problem
Posted by: toivo (203.19.130.---)
Date: December 07, 2007 11:39AM

Hi,

Locate the following two lines in c:\wamp\apache2\bin\php.ini:

; Maximum size of POST data that PHP will accept.
post_max_size = 8M

Change the limit to for example 64M and see how you go.

Regards,

toivo
Sydney, Australia

Options: ReplyQuote
Re: Request Line problem
Posted by: owerio (---.dynamic859654118.ttnet.net.tr)
Date: December 08, 2007 12:25AM

Hello. Thanks for your reply. I trief but it didnt help. I encounter this problem when sending request line via Ajax.

Options: ReplyQuote


Sorry, only registered users may post in this forum.