It would appear that malicious visitors are forcing invalid URLs on my site, which seems to be resulting in high host CPU usage (pinned at 99 to 100%).
OpenCart 18.104.22.168 seems to be taking all page requests (including 404 pages) and processing them, in the case of 404, displaying "The page you requested cannot be found!" message.
I would like to offload (for now) the 404 processing to a static page (blank.html) in the root of the site.
I updated the .htaccess file with a ErrorDocument 404 /blank.html, but that does not appear to be doing anything - OpenCart is still handling the pages.
Suspect that the .htaccess file has syntax which is preventing the processing of the ErrrorDocument line. Below is the .htaccess file
Could anyone confirm if it is possible to NOT have OpenCart 22.214.171.124 process 404 pages, and is my implementation in the .htaccess correct??
Code: Select all