This post explains how to generate self signed certificates with SAN – Subject Alternative Names using openssl. It is a common but not very funny task, only a minute is needed when using this method.
The example below generates a certificate with two SubAltNames: mydomain.com and www.mydomain.com
Create openssl configuration file
Create configuration file for openssh (In a Linux … Read more
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.
Searching on the Apache debug error traces took me to this error line:
[Thu Jul 14 11:50:18 2016] [error] [client 220.127.116.11] request failed:
… Read more
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