Skip to main content
Participant
July 1, 2008
Question

Custom 404 on /servlet/ path?

  • July 1, 2008
  • 1 reply
  • 439 views
I'm forced by an external trustworthy validation company that tells me we need to stop CF throwing an 404 error page if someone accesses our server with the path /servlet/. Do you know how we are able to customize this error message in a way that the JVM error is not shown? Something like a error.cfm for JVM!? I have no idea how to solve this.

    This topic has been closed for replies.

    1 reply

    Inspiring
    July 1, 2008
    Igel wrote:
    > I'm forced by an external trustworthy validation company that tells me we need
    > to stop CF throwing an 404 error page if someone accesses our server with the
    > path /servlet/.

    Try removing the mapping for /servlet/* from default-web.xml and
    restarting both CF and your webserver. I have no idea how much of CF
    will break, but the servlet error should be fixed.

    Jochem


    --
    Jochem van Dieten
    Adobe Community Expert for ColdFusion
    IgelAuthor
    Participant
    July 1, 2008
    That's why I'm asking... what goes broken if something get's broken!??? I don't like to break something!