anchor.diff:                                currentUser,
                                 new ViewPermission() ) )
       {
  -        log.info("User "+currentUser.getName()+" has no access - redirecting to login page.");
  -        String pageurl = wiki.encodeName( pagereq );
  -        response.sendRedirect( wiki.getBaseURL()+"Login.jsp?page="+pageurl );
  -        return;
  +        if( mgr.strictLogins() )
  +        {
  +            log.info("User "+currentUser.getName()+" has no access - redirecting to login page.");
  +            String pageurl = wiki.encodeName( pagereq );
  +            response.sendRedirect( wiki.getBaseURL()+"Login.jsp?page="+pageurl );
  +            return;
  +        }
  +        else
  +        {
  +            //
  +            //  Do a bit of sanity check here.  FIXME: Should this be somewhere else?
  +            //
  +            if( pagereq.equals("LoginError") ) 
  +            {
  +                throw new WikiSecurityException("Looped config detected - you must not prevent view access to page LoginError AND have strictLogins set to true!");
  +            }
  +
  +            log.info("User "+currentUser.getName()+" has no access - displaying message.");
  +            response.sendRedirect( wiki.getBaseURL()+"Wiki.jsp?page=LoginError" );
  +        }
       }
   
       pageContext.setAttribute( WikiTagBase.ATTR_CONTEXT,
  
positive.code: <%@ page import="org.apache.log4j.*" %>
  <%@ page import="com.ecyrd.jspwiki.*" %>
  <%@ page import="com.ecyrd.jspwiki.auth.AuthorizationManager" %>
  <%@ page import="com.ecyrd.jspwiki.tags.WikiTagBase" %>
  <%@ page import="com.ecyrd.jspwiki.auth.permissions.ViewPermission" %>
  <%@ page import="com.ecyrd.jspwiki.auth.UserProfile" %>
  <%@ page errorPage="/Error.jsp" %>
  <%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
  
  <%! 
      public void jspInit()
      {
  
negative.code:     if( specialpage != null )
      {
          response.sendRedirect( specialpage );
          return;
      }
  
      AuthorizationManager mgr = wiki.getAuthorizationManager();
  