Return-Path: X-Original-To: apmail-trafficserver-users-archive@www.apache.org Delivered-To: apmail-trafficserver-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 5F01FDFF3 for ; Tue, 23 Oct 2012 21:24:40 +0000 (UTC) Received: (qmail 77226 invoked by uid 500); 23 Oct 2012 21:24:40 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 77170 invoked by uid 500); 23 Oct 2012 21:24:40 -0000 Mailing-List: contact users-help@trafficserver.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@trafficserver.apache.org Delivered-To: mailing list users@trafficserver.apache.org Received: (qmail 77159 invoked by uid 99); 23 Oct 2012 21:24:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2012 21:24:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,T_FRT_CONTACT X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.210.170] (HELO mail-ia0-f170.google.com) (209.85.210.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2012 21:24:34 +0000 Received: by mail-ia0-f170.google.com with SMTP id e16so3951774iaa.29 for ; Tue, 23 Oct 2012 14:24:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=/N0Fr+osAB5jsncjJM0u5iU5MRh5/2Pze7OCqm8TXfc=; b=T81Jt7/yawU1tVs/ouJOVGNFeKYZHt4fxO2tYgkZXTfE4P1Cv7OWy/pA1IMloKY18E CFmmSC8SOexYk7+INylY2XJqDI2lyroD4rlQ3On+zPhc+Duw0/BbkDvSwyUSWPAienih +me4xMqf4n04Hghzy9hsNuuEB3BCwThlnGk2jhnt0sJfFSFlhv5FNmEsqZdgOupnWFxS j0O8rqpwhUC0GUI0xBgtOpvdrolnrG1KoszWPHwN4UWv4EMLQQydQwxQKSX14bLNcPUm g3eINnl8aTMGDWHbXOnK3I6WJllAZ0qWt4s24cHlKNZjJrA3nCLjOOTKSA8bbuUW5Reo bB8A== MIME-Version: 1.0 Received: by 10.50.87.199 with SMTP id ba7mr555391igb.6.1351027453214; Tue, 23 Oct 2012 14:24:13 -0700 (PDT) Received: by 10.50.30.65 with HTTP; Tue, 23 Oct 2012 14:24:13 -0700 (PDT) In-Reply-To: <954D23549BF60D4488191378EE57420B026BB43B@BEAR.tomatowin.local> References: <954D23549BF60D4488191378EE57420B026BB43B@BEAR.tomatowin.local> Date: Tue, 23 Oct 2012 23:24:13 +0200 Message-ID: Subject: Re: Re: Allow only one host access to sub-url From: Jan-Frode Myklebust To: users@trafficserver.apache.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkRw9J8+5hJ6S0C5JMq6ZcB/hHWl9VGsfppDMpohkhvDlMRiQ9buPs2SHE01Tyaf785iCqE X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Oct 23, 2012 at 11:01 PM, Luca Rea wrote: > Try also the following form: > > map https://www.example.com/service/ > http://backend.example.com/service/ @action=deny @src_ip=0.0.0.0-192.168.11.10 > map https://www.example.com/service/ > http://backend.example.com/service/ @action=allow @src_ip=192.168.11.11 > map https://www.example.com/service/ > http://backend.example.com/service/ @action=deny @src_ip=192.168.11.12-254.254.254.254 > > This makes ATS fail to start. Loops over: [Oct 23 23:23:11.815] Server {0x2abc2146b940} ERROR: Couldn't insert into trie! [Oct 23 23:23:11.815] Server {0x2abc2146b940} WARNING: Could not insert new mapping [Oct 23 23:23:11.815] Server {0x2abc2146b940} WARNING: Could not add rule at line #177; Aborting! [Oct 23 23:23:11.815] Server {0x2abc2146b940} WARNING: [ReverseProxy] Unable to add mapping rule to lookup table at line 177 [Oct 23 23:23:11.815] Server {0x2abc2146b940} WARNING: something failed during BuildTable() -- check your remap plugins! [Oct 23 23:23:11.815] Server {0x2abc2146b940} WARNING: Can not load the remap table, exiting out! [Oct 23 23:23:11.821] Manager {0x7f523dece7e0} ERROR: [Alarms::signalAlarm] Server Process was reset [Oct 23 23:23:11.821] Manager {0x7f523dece7e0} ERROR: (last system error 2: No such file or directory) -jf