Q
Problem solve Get help with specific problems with your technologies, process and projects.

Customize error 404 message

What are some things that a Web administrator can do to make the error 404 message more user friendly? How could they be eliminated all together?

You can customize error messages by creating custom forms with one of the following names.

 Form Name: $$ReturnAuthenticationFailure Condition: The user's name and password cannot be verified. Form Name: $$ReturnAuthorizationFailure Condition: The user does not have a sufficient access level for the database. Form Name: $$ReturnDocumentDeleted Condition: A document was successfully deleted. Form Name: $$ReturnGeneralError Condition: Any other error condition has occurred.

Just create the form with that name and alias and then add an editable text field named "MessageString" that will hold the error message. You can add any other text or design elements that you would like to be displayed with the error message that you specified in "MessageString."

If you also want to display something as a result of an error that is not a "Web Server" error, but more of an application specific error, like when a user forgot to fill in a field, use validation and/or $$Return field.


This was last published in August 2001

Dig Deeper on Domino Resources - Part 3

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close