Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9B3DEDAAC for ; Mon, 20 Aug 2012 10:59:01 +0000 (UTC) Received: (qmail 5169 invoked by uid 500); 20 Aug 2012 10:58:58 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 4972 invoked by uid 500); 20 Aug 2012 10:58:58 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 4945 invoked by uid 99); 20 Aug 2012 10:58:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2012 10:58:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of demablogia@gmail.com designates 209.85.214.173 as permitted sender) Received: from [209.85.214.173] (HELO mail-ob0-f173.google.com) (209.85.214.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Aug 2012 10:58:50 +0000 Received: by obbta14 with SMTP id ta14so12492319obb.18 for ; Mon, 20 Aug 2012 03:58:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=u5z0qu1+7+nTWV6pN0aC+z4B4/3nEcQLpfB4k8gB9Ck=; b=lZgsJjmxikIny25GP4Exh4J3UsQgONkNHP8s2cYtB3YNMdlL188WpPiXKRjWx90fwm CS2UMye0m9OCstI5zFIIdYkeqaIiYLgi73VdkxJGAZJqWxzzfhcT2ln0V7Uq0uhRcajz 7/iyErtdH+AQ2d7QDo8pUeZ2Krqx/uKRJuCeQ0cYeksMADyjPwOkz5Q7RD8T43WydJxv 8H6hQbq7OgVcgtF2GL3KUtjWn6d5WAp7CWH5lZhlzUXZRSHeWVot5H3E05OG1XHEGTrd 70qxD3hy9ky8cGuBDVfIZYgR8Zk0JiCGh5S6ljaXj9Ou0fH8gVWdhEZcqtrO6AdOUOfn eYPg== Received: by 10.182.98.108 with SMTP id eh12mr9939015obb.6.1345460309158; Mon, 20 Aug 2012 03:58:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.7.116 with HTTP; Mon, 20 Aug 2012 03:58:09 -0700 (PDT) In-Reply-To: <8024_1345459477_50321515_8024_12499_1_50336698.9070901@yahoo.es> References: <9283_1345458349_503210AD_9283_1227_1_50336231.4030205@yahoo.es> <8024_1345459477_50321515_8024_12499_1_50336698.9070901@yahoo.es> From: =?ISO-8859-1?Q?Jose_Mar=EDa_Zaragoza?= Date: Mon, 20 Aug 2012 12:58:09 +0200 Message-ID: Subject: Re: redirecting people to maintenance mode To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 > maybe I haven't worded my idea correctly. I can't assume the Tomcat service > in server1 is running all the time (since it's under maintenance, tomcat > might be restarted a few times during the maintenance). That's why I thought > about iptables. The issue is that iptables run at the IP level while > redirects work at application level. > I thought that you only wanted to avoid that users access to server ,and if the server is down ... In this case, I wouldn't have 2 server ( one for display a maintenance page ). I'd prefer a frontend server , like Apache , and to use some module to proxy /filter/check connection , etc. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org