Posted on: 2012/8/6 21:27
xhttperror 1.0 beta: ready for tests
ready for tests here:http://xoops.svn.sourceforge.net/view ... httperror/trunk/?view=tar
This xHttpError is a module for displaying server error messages within your XOOPS site to give a more professional look, rather than the default/generic error message.
This module is new but inspired by the AM HTError module module.
There are three error messages already configured, 404 (not found), 500 (internal server error) and 403 (forbidden). You can easily add, edit or remove the error types as needed.
Error messages can be logged to help you track them, which is handy if you find another site is still linking to a file no that longer exists, or a page/script keeps failing.
This module is written with Apache in mind, so also needs the .htaccess file in the site's root folder (it should also work in other servers where you can add custom error messages) - xHttpError can not write to this file itself as this would be a security issue, so you will have to manually edit this upon first installing the module, and every time an error type is added or removed. The text for this is generated automatically in the module's admin index, and only needs to be copy & pasted.