500 error access log
When I access only the index.php?eID=sr_freecap_EidDispatcher without get parameters or when a bot access a url which doesn't exists any more the accesslog shows a 500 code/error, it should be nice if the extension gives an other header.
[31/Mar/2015:20:38:00 +0200] "GET /index.php?eID=sr_freecap_EidDispatcher&id=52&extensionName=SrFreecap&pluginName=ImageGenerator&controllerName=ImageGenerator&actionName=show&formatName=png&set=708ad HTTP/1.1" 500 1374 "-" "Googlebot-Image/1.0" "-"
[BUGFIX] 500 error in access log
Issue a Bad Request (400) exception when some argument is missing or invalid.
Reviewed-by: Stanislas Rolland <email@example.com>
Tested-by: Stanislas Rolland <firstname.lastname@example.org>
#3 Updated by Job Rutgers over 4 years ago
I agree I get an Oops, an error occurred! error, but the header of this error is 500, so an internal server error. This is not so nice, I would like to see an other header for example a 410 Gone header. Because the server was able to generate this link in the past.
I monitor my 500 errors with munin, and the bots do to many request to those links.