minor fixes
new exception class to handle redirects to pages on other domains