User: kbahey Branch: HEAD Date: Mon, 25 Jun 2007 20:25:27 +0000 Modified files: /modules/customerror README.txt customerror.info customerror.module Log message: - Added the ability to list redirects for 404s. There is a textarea in settings that you specify a regexp and destination pairs, one per line, separated by a space. customerror now checks these regexps to see if one matches the page the user has been trying to reach, and then redirects to the destination setup by the site admin. The advantage is that we do not have to fiddle with .htaccess and change it every time we upgrade. The disadvantage is that this incurs some overhead since it causes a Drupal bootstrap for each such request. In the end the user experience is better. The code works, but may need a regexp guru to optimize it. - Fixed old style % in t() replacing them by @. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/customerror/README... http://cvs.drupal.org/diff.php?path=contributions/modules/customerror/custom... http://cvs.drupal.org/diff.php?path=contributions/modules/customerror/custom...