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 650B410E39 for ; Fri, 27 Feb 2015 13:59:32 +0000 (UTC) Received: (qmail 59684 invoked by uid 500); 27 Feb 2015 13:59:27 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 59622 invoked by uid 500); 27 Feb 2015 13:59:27 -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 59612 invoked by uid 99); 27 Feb 2015 13:59:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2015 13:59:27 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of degreane@gmail.com designates 209.85.215.52 as permitted sender) Received: from [209.85.215.52] (HELO mail-la0-f52.google.com) (209.85.215.52) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2015 13:59:21 +0000 Received: by labgd6 with SMTP id gd6so17699583lab.8 for ; Fri, 27 Feb 2015 05:59:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=IklB35QjsCLOQ1FJs7LJ7THoUC98GYv7WonP4B21GP8=; b=vyBDABB7pfUIPQiUSYaGzxEAkVtLwrAtsYskXc9NS9qnfhmkLoEtQo/RiskiV/x1gu SwCw9CvNZ1Y33bJnEBt7BYILiAJ7yVng2rYnVfwZeZjI681YsRscw3IWwTdqiF2x3bfQ U1HUlwGHaJmJEf0qRkqnMCsjbnOjMy3z6rixyUoCsDS84x9nXfRfYDS6h5p+CaeSw1Q4 OgelQUJdAqObUCv/gfIiAvleVz7SgZ7GBLV+FIeiIX7yjgIGm2Dv/v/k713zPZNt9Q0P WMqVeNzZwF+tSehE9vxN1D361N4vaXDje0flcZxtIVbkYDoN5Xa9AMNRDISIQle8kuQ1 2uXQ== MIME-Version: 1.0 X-Received: by 10.152.87.84 with SMTP id v20mr12611934laz.81.1425045540739; Fri, 27 Feb 2015 05:59:00 -0800 (PST) Received: by 10.112.222.139 with HTTP; Fri, 27 Feb 2015 05:59:00 -0800 (PST) In-Reply-To: References: Date: Fri, 27 Feb 2015 15:59:00 +0200 Message-ID: Subject: Re: Having queries in Apache Traffic Server From: Faysal Banna To: users@trafficserver.apache.org, sandeep sharma Content-Type: multipart/alternative; boundary=001a11c3337e3e9f1a051012457b X-Virus-Checked: Checked by ClamAV on apache.org --001a11c3337e3e9f1a051012457b Content-Type: text/plain; charset=UTF-8 My friend. all you need is found in ts_lua check that out and check how i do bandwidth control it has specific example for certain type so you can build upon that. https://issues.apache.org/jira/browse/TS-2643 later on i shall post more details with examples upon how to strip add remove queries in the url also how to maintain the http headers either request client to ATS or ATS to Origin and vice versa. much regards On Fri, Feb 27, 2015 at 3:25 PM, SANDEEP SHARMA wrote: > Hey, > > Yup it's quite long time!!!! > > How are you man!!! Below are my concerns in ATS: > Also it would be helpful for me if you provide the examples for below > queries. > > 1. How can we strip the specific query strings?? > [have checked and found that @pparam=no-query-string help me in same but > that will strip all query string... but i want to strip the specific query > params coming in the request.] > > 2. How block any url using regex_map?? > [found that it can be done in remap.config via map but not working for me, > also how ATS traverse the remap rules, from top to bottom???] > > 3. How can add and remove headers?? > [i tried it with header.rewrite, and requirement is like this we need to > capture the value of some incoming headers and pass that value in new > header in response to client] > > 4. On what factors ATS maintain its cache?? > [If you worked on Varnish, which maintains it's cache on the basis of HOST > + REQUEST_URI by default... i mean it generate hash values on these two > factors... also provide flexibility to change that too.. how this is done > by ATS.... and how to change that if required... like cache on that basis > of HOST or URI or Protocol HTTP/HTTPS or Cookie or any header???] > > I know that i am posting too many queries, but i just want to avoid the > round trip mailing. > > Thanks again for your prompt response, i really appreciate that. > Also if it is possible for you to share your number with me,, can i have > your contact number so that i can connect with you over call if needed. > > Regards, > Sandeep Sharma > > > On Fri, Feb 27, 2015 at 5:42 PM, Faysal Banna wrote: > >> Hello. >> I guess its been long time haven't talked sandeep. and i don't know if u >> still remember me back in the days of LUSCA-squid cache and update >> accelerators. >> >> anyhow what queries you have about ATS if i could be of any help to you. >> >> >> Regards >> >> On Fri, Feb 27, 2015 at 2:08 PM, SANDEEP SHARMA < >> sandeeepsharma9@gmail.com> wrote: >> >>> Hi, >>> >>> I working on Apache Traffic Server from the last month, and having >>> queries on some of the topics. >>> Please let me know when i can share them with you guys. >>> >>> Thanks, >>> Sandeep Sharma >>> >> >> >> >> -- >> ============================ >> Faysal Banna >> Meteorological Services >> Rafic Harriri International Airport >> Beirut - Lebanon >> Mob: +961-3-258043 >> ============================= >> > > -- ============================ Faysal Banna Meteorological Services Rafic Harriri International Airport Beirut - Lebanon Mob: +961-3-258043 ============================= --001a11c3337e3e9f1a051012457b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
My friend.
all you need is found in ts_lua=C2=A0
=

check that out=C2=A0
and check how i do bandw= idth control it has specific example for certain type so you can build upon= that.
later on i = shall post more details with examples upon how to strip add remove queries = in the url=C2=A0
also how to maintain the http headers either req= uest client to ATS or ATS to Origin and vice versa.



much regards=C2=A0

On Fri, Feb 27, 2015 at 3:25 P= M, SANDEEP SHARMA <sandeeepsharma9@gmail.com> wrote:=
Hey,

Yup it's quite long time!!!!

How are you man!= !! Below are my concerns in ATS:
Also it would be helpful for me = if you provide the examples for below queries.

1. = How can we strip the specific query strings??=C2=A0
[have checked= and found that @pparam=3Dno-query-string help me in same but that will str= ip all query string... but i want to strip the specific query params coming= in the request.]

2. How block any url using regex= _map??
[found that it can be done in remap.config via map but not= working for me,
also how ATS traverse the remap rules, from top = to bottom???]

3. How can add and remove headers??<= /div>
[i tried it with header.rewrite, and requirement is like this we = need to capture the value of some incoming headers and pass that value in n= ew header in response to client]

4. On what factor= s ATS maintain its cache??
[If you worked on Varnish, which maint= ains it's cache on the basis of HOST + REQUEST_URI by default... i mean= it generate hash values on these two factors... also provide flexibility t= o change that too.. how this is done by ATS.... and how to change that if r= equired... like cache on that basis of HOST or URI or Protocol HTTP/HTTPS o= r Cookie or any header???]

I know that i am postin= g too many queries, but i just want to avoid the round trip mailing.
<= div>
Thanks again for your prompt response, i really apprecia= te that.
Also if it is possible for you to share your number with= me,, can i have your contact number so that i can connect with you over ca= ll if needed.

Regards,
Sandeep Sharma

=

On Fri, Feb 27, 2= 015 at 5:42 PM, Faysal Banna <degreane@gmail.com> wrote:
Hello.=C2=A0
I guess i= ts been long time haven't talked sandeep. and i don't know if u sti= ll remember me back in the days of LUSCA-squid cache and update accelerator= s.=C2=A0

anyhow what queries you have about ATS if= i could be of any help to you.


Reg= ards=C2=A0

On Fri, Feb 27, 2015 at 2:08 PM, SANDEEP SHARMA <sandeeepsharma9@gmail.com> wrote:
Hi,

I working on Apache Traffic= Server from the last month, and having queries on some of the topics.
Please let me know when i can share them with you guys.
Thanks,
Sandeep Sharma



<= font color=3D"#888888">--
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=C2=A0 =C2=A0 =C2=A0 =C2= =A0=C2=A0 Faysal Banna
=C2=A0Meteorological Services
Rafic Harriri In= ternational Airport
=C2=A0 =C2=A0 =C2=A0 Beirut - Lebanon
=C2=A0 =C2= =A0 Mob: +961-3-258043
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D




--
=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 Faysal Banna
=C2=A0Meteorological Services
Rafic Harriri Inter= national Airport
=C2=A0 =C2=A0 =C2=A0 Beirut - Lebanon
=C2=A0 =C2=A0 = Mob: +961-3-258043
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--001a11c3337e3e9f1a051012457b--