: 57 : 58 : 1 |
while it's possible to use domcfg.nsf to map some types of http errors to special forms in the domcfg.nsf database the level of control it provides is not great and relies on the Domino administrator to work with the designer to edit that particular database and create the mappings etc.
I therefore propose that a new method for http error messages be added to the Domino HTTP stack. Basically a developer would be able to add a '$$HTTPMessage XXX' form to a notes database where XXX is a standard http error number. So if a '$$HTTPMessage 404' exists in the database and an enduser links to a nonexistant document in the database this is returned ( with the correct HTTP Headers to signifiy it is infact a 404'. If the form does not exist in the database then it could fall back to that form in the domcfg.nsf database. the domcfg.nsf would also be used in the case where the request that generated the 404 did not reference an existing database.
|