自定义错误消息不适用于http://www.myserver.com/index.htm

时间:2012-06-27 06:05:06

标签: lotus-domino

我正在创建一个自定义常规错误消息(在domcfg中将替换标准HTTP404)
http://www.myserver.com/foo.nsf之类的URL显示自定义错误消息(服务器上不存在foo.nsf)。

问题:为什么不显示不包含“.nsf”的URL的自定义错误消息?
如何为http://www.myserver.com/index.htm显示此自定义错误消息,而不是标准HTTP 404错误。


1 个答案:

答案 0 :(得分:2)

查看HTTPMultiErrorPage notes.ini参数。有了这个,您可以指向非错误的nsf错误的HTML错误页面(404)。有关更多信息,请参阅以下内容 http://www-10.lotus.com/ldd/ddwiki.nsf/dx/07282008024243PMKMKPXA.htm

您可以为添加到HTTPMultiErrorPage notes.ini参数的路径添加替换规则,以便控制数据库中的错误页面。以下博文有详细信息: http://dpastov.blogspot.dk/2012/01/error-pages-in-domino.html