Setting LimitRequestLine in httpd.conf?
Posted by: pixial (---.ias.bredband.telia.com)
Date: April 28, 2012 03:10PM

Hi, I need to enable "long URLs" and can not use POST instead of GET since I'm swapping between a secure and insecure source (and don't want to display any warning messages each time)

I've learned that I should set LimitRequestLine parameter of apache, and that it could be set without recompiling (at least up to a certain level)

The question is where to put this line/parameter? Straight into httpd.conf? in another file? in a surrounding tag?

I've tried just inserting it into httpd.conf and restarting the server but still gets the same error message.

Could it be a php restriction instead?

Any help would be greatly appreciated!

Johan

Options: ReplyQuote
Re: Setting LimitRequestLine in httpd.conf?
Posted by: RiggsFolly (---.as13285.net)
Date: April 30, 2012 01:35PM

You can add this to the httpd.conf file or a virtual host definition.

If you are using virtual hosts it would be better in there as it will only effect the one site then.


[httpd.apache.org]

Options: ReplyQuote
Re: Setting LimitRequestLine in httpd.conf?
Posted by: pixial (---.ias.bredband.telia.com)
Date: May 02, 2012 06:39AM

No virtual hosts, httpd.conf it is then.

Can I just insert the line

LimitRequestLine 99999

anywhere in the doc?
anything I need to do more besides from restarting all wamp services?

thanks for all help!

Johan

Options: ReplyQuote
Re: Setting LimitRequestLine in httpd.conf?
Posted by: RiggsFolly (---.as13285.net)
Date: May 02, 2012 05:24PM

Well give it a go.

I would say anywhere, but I would put it at the bottom and then see what happens.

Canoot say I have ever used that param.

Options: ReplyQuote


Sorry, only registered users may post in this forum.