public FilterResult Filter(IWebRequestData request)
 {
     foreach (var regex in HostRegExs)
     {
         if (Regex.IsMatch(request.Host, regex) ||
             (request.Referer != null && Regex.IsMatch(request.Referer.Host, regex)))
         {
             return(FilterResult.Allow);
         }
     }
     return(FilterResult.Block("This page is blocked by SimpleProxy whitelist filter", HttpStatusCode.Forbidden));
 }