Thanks Leif, can you point me to some lua plugin documentation as
unfortunately I am only getting C++ doc.

Also I would like to know if I can read the body of the http request too
using Lua to search for keywords.

Regards
Achuth

-----Original Message-----
From: Leif Hedstrom [mailto:zw...@apache.org] 
Sent: Tuesday, February 05, 2013 9:31 PM
To: dev@trafficserver.apache.org
Cc: Alakkad, Achuth (GE Healthcare)
Subject: Re: Traffic Server plugin for header based reverse proxying

On 2/5/13 4:42 AM, Alakkad, Achuth (GE Healthcare) wrote:
> Hi All
>
>   
>
> Am trying to setup Apache Traffic Server as a reverse proxy. I was 
> successfully able to set it up.
>
>   
>
> But now my issue is how to forward the request based on the header 
> content of my request.
>
>   
>
> I went through the remap and header plugins but not able to relate it 
> to my needs.
>
>   
>
> Is there any way to create a plugin which will satisfy my need ?
>


Yeah, you have two choices:

1) Write a plugin in C/C++. You have access to all request headers
easily.

2) Write a Lua script using the Lua plugin.


-- Leif

Reply via email to