trafficserver-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Geffon <briangef...@gmail.com>
Subject Re: Plugin Configuration Per-Remap rule
Date Tue, 13 Mar 2012 20:17:13 GMT
Great, thanks Igor and Leif.

Brian

2012/3/13 Igor Galić <i.galic@brainsware.org>

>
>
> ----- Original Message -----
> > On 3/13/12 2:06 PM, Brian Geffon wrote:
> > > Hi,
> > > Is there anyway to pass configuration data to a plugin on a per
> > > remap rule
> > > basis? I'm looking to have the configuration that a remap plugin
> > > provides
> > > but on top of a full plugin.
> > >
> > > Does anyone have ideas?
> > >
>
> The basic outline,
>
>
> http://trafficserver.staging.apache.org/docs/trunk/admin/configuration-files/remap.config#PluginChainingExamples
>
> And, like Leif says.
>
> > Take a look at the header_filter plugin. It does this. The same
> > plugin
> > implements both the remap plugin, and the various "hooks". The
> > configuration
> > (if specified in a remap rule) is passed along via TSHttpTxnArgSet()
> > / Get().
> >
> > -- leif
> >
> >
>
> --
> Igor Galić
>
> Tel: +43 (0) 664 886 22 883
> Mail: i.galic@brainsware.org
> URL: http://brainsware.org/
> GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message