Apache   Apache – “Size of a request header field exceeds server limit”



Symptoms

When trying to access to one of my published websites, the browser shows the following error:

Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.

Apache - Size of a request header field exceeds server limit

Searching on the Apache debug error traces took me to this error line:

[Thu Jul 14 11:50:18 2016] [error] [client 212.86.13.12] request failed: 
Read more

Apache   Escaping characters on Apache rewriting rules



If you use Apache, probably you have used the mod_rewrite and the RewriteRule sentences.

One simple rewriting rule:

RewriteRule ^/cars    http://myweb.com?productid=244 [L,R]

So, when I try to access to subfolder "cars" of the configured virtual host, the browser will be redirected to http://myweb.com?productid=244

But, what if the product id contains, for example, a character like '%'?Let's try:

RewriteRule ^/cars    http://myweb.com?productid=2%44 
Read more