I am closing in on having solved all the inconsistencies between cf9 to
Lucee from a migration done a few months ago.
One of the few remaining items is the setting in the cfadmin for Missing
Template (404).
The small text below the setting states the following:
Template that will be invoked in case of a missing error. This setting can
be overridden by the tag CFError.
which I believe is causing the issues that I wish to solve.
Our system makes use of the CFERROR tag to trap bugs and have them emailed
to an admin for review.
Unlike CF9, it would appear that missing files (mostly due to junk urls)
are being caught by the CFERROR tag rather than the
missing template setting which causes an overabundance of inconsequential
error emails that is very distracting to finding real error reports.
for example:
across 50+ clients, we get 100’s of such emails a day that I wish to
suppress.
I though about adding a test snippet inside of our error template that
would trap “the missing file” error and send it to our 404 page, BUT
I would like to distinguish those generated by bad urls from those that
could be “real” missing errors made by developers like a missing cfinclude
etc…
Can anyone think of a way to accomplish what I want which is really have
these handled by the missing template file.
On that note and out of curiosity,. How is it that googlebot and others
are attempting to index urls by injecting the word “mobile” or “m” into
the url?
We have never had such a mapping or folder ever in our system; we don’t
have a mobile compliant version of our sites
… and we have a site index map in the webroot which clearly states the
pages that we would like to have indexed.
The amount of “faked” urls that we get is really unbelievable and I don’t
understand the motivation behind it.
here are some other examples:
http://www.4semi.com/ http://www.4semi.com/Semi.com/register.cfmSemi.com
http://www.4semi.com/Semi.com/register.cfm/register.cfm
http://www.4semi.com/Semi.com/register.cfm * >> “semi.com” injected
between the domain and the script page *
http://www.mmrsurplus.com/plus.com
http://www.mmrsurplus.com/plus.com/register.cfm?menuid=m&NewReg=1&subject=1
/register.cfm?menuid=m&NewReg=1&subject=1
http://www.mmrsurplus.com/plus.com/register.cfm?menuid=m&NewReg=1&subject=1 >>
“plus.com” injected in the url
http://www.vacequip.com/ http://www.vacequip.com/ful_inf.htmful_inf.htm
http://www.vacequip.com/ful_inf.htm >> *never had a page by this name?? *
http://www.labjupiter.com/iter.com
http://www.labjupiter.com/iter.com/register.cfm?menuid=m&NewReg=1&subject=1
/register.cfm?menuid=m&NewReg=1&subject=1
http://www.labjupiter.com/iter.com/register.cfm?menuid=m&NewReg=1&subject=1
-
“iter.com” injected in the url*
etc…
Thanks for any help
Scott