if (wPath != null && !wPath.equals(pagePath)) {
redirect(httpReq, httpRes, wPath);
return;
}
sc.log("--------\n\nIMPORTANT: an exception has been caught while serving " +
httpReq.getRequestURI(), ex);
Configuration c = webSite.getConfiguration();
if (c == null || c.isHideExceptions()) {