--- typo3conf/ext/realurl/class.tx_realurl.php.old	2007-03-23 21:25:11.380440992 +0000
+++ typo3conf/ext/realurl/class.tx_realurl.php	2007-03-23 21:41:02.370440992 +0000
@@ -977,6 +977,11 @@
 
 						// Implode URL and redirect:
 					$redirectUrl = implode('/',$originalDirs);
+
+					if ( $this->extConf['init']['postVarSet_failureUrl'] != '') {
+						$redirectUrl = $this->extConf['init']['postVarSet_failureUrl'];
+					}
+
 					header('HTTP/1.1 301 Moved Permanently');
 					header('Location: '.t3lib_div::locationHeaderUrl($redirectUrl));
 					exit;
