I have developed a PHP web app. I am giving an option to the user to update multiple issues on one go. In doing so, sometimes the user is encountering this error. Is there any way to increase the lenght of URL in apache?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
Under Apache, the limit is a configurable value,
LimitRequestLine. Change this value to something larger than its default of 8190 if you want to support a longer request URI. The value is in /etc/apache2/apache2.conf. If not, add a new line (LimitRequestLine 10000) underAccessFileName .htaccess.However, note that if you’re actually running into this limit, you are probably abusing
GETto begin with. You should usePOSTto transmit this sort of data — especially since you even concede that you’re using it to update values. If you check the link above, you’ll notice that Apache even says “Under normal conditions, the value should not be changed from the default.”