Calling a cfc directly (has functions with access=remote) gives this message.
It would be great if we could have the option to remove the message entirely or maybe edit it to something else.
PS because I don’t want to give away to hackers what language I’m using (Googling this shows I’m using CFML) I would like to show a nice friendly 404 message instead!
You can configure which template is used via server.xml
component-dump.cfm is just the following
To see details for this component you need to enable debug output
I’m using Tomcat and I found 2 component-dumps:
Changing the first had no effect, but the second (www/WEB-INF) did:
<!--- To see details for this component you need to enable debug output --->
<cfheader statuscode="404" statustext="Not found">
Now I have a 404 message if someone tries to navigate to my cfc, which is exactly what I wanted,
Thanks again for your help…