Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I customize the error messages returned from the Sambar Server ?

0
Posted

Can I customize the error messages returned from the Sambar Server ?

0

Yes. All error messages can be found in the messages directory where the Sambar Server is installed. Any modifications made to these error files will reflected in subsequent Server error responses. In addition, to use the Sambar scripting within the error messages, rename the error file you wish to use scripting within so that the file ends with the .stm extension rather than .htm. For example the file messages/notfnd.htm can be renamed messages/notfnd.stm; after making this change, you can add tags such as and to indicate the specific document that was not found along with the referring page.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123