Search code examples
phphttp-status-code-404lamperror-log

Protocol Host showing in our Error Log / 404 Errors


I'm getting an error showing up in my error logs over and over. I see it in an error log in cpanel as well as in an AW stats report.

The errors look like this:

/my_directory/'%20+%20protocol_host%20+%20'/images/greenthumb.png
/my_directory/'%20+%20protocol_host%20+%20'/images/imgsicon.png

I'm seeing this thousands of times a day.

the legit path in the example above would be something like this:

/my_directory/page.php?id=123454
(i.e www.my_site.com/my_directory/page.php?id=123454)

Any ideas what this protocol_host is referring to and why it would be hitting my error log so often?

My research before posting this question led me to something related to the search indexer on a windows operating system computer, but I can't see the connection.

Thanks in advance as always


Solution

  • I'm with @Shal. Although google gives you some results for 'protocol_host' I don't think that they are related to your problem. I guess it is either an error in your PHP code which generates the links or an erroneous client (or a hacker) is accessing your site