Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Hiding File not found: Error Screen?

Guest
Apr 20, 2006 Apr 20, 2006
I have coldfusion sending any error messages to my email address. Problem is if a user types in a.cfm or anything.cfm coldfusion admin will display a file not found error. This completely gives away what type of application im running on my server. Any ideas how to turn this off?
TOPICS
Advanced techniques
395
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 23, 2006 Apr 23, 2006
You should be able to use the <cferror> tag in application.cfm or use method "onError" within application.cfc to direct the template not found error or any other CF error to specific pages. eg.

<cferror type="request" template="error.htm">

BTW with regard to giving away the type of app you're running accessing a ".cfm" page is pretty much a give away on the technology.

-Tim
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 23, 2006 Apr 23, 2006
LATEST
Why don't you configure the Missing Template Handler in the Coldfusion Administrator to be a page you have customized to do precisely what you want?


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources