op Cycle
> Detected) for 'http://...'
> 20160314.19h07m03s RESPONSE: sent 127.0.0.1 status 502 (Server Hangup) for
> 'http://'
>
> don't know what to do at this point...
>
> On Mon, Mar 14, 2016 at 7:42 AM, Alan Carroll <
> solidwallofc...@yahoo-inc.com.invalid
edì 14 marzo 2016 20:15
To: dev@trafficserver.apache.org; Alan Carroll
Subject: Re: Intercept Plugin
Hi Alan,
I tried to add a remap rule like this:
regex_map http://(.*)/(.*) http://$1/$2
I still get the following error:
20160314.19h04m03s RESPONSE: sent 127.0.0.1 status 404 (Not Found on
Ac
r (2) disabling
> remap_required in records.config. This is not specific to the intercept
> plugin. If you don't want (2) you can always add an identity remap to
> remap.config and map the URL to itself.
>
, Alan Carroll <
> solidwallofc...@yahoo-inc.com.invalid> wrote:
>
>> Traffic Server requires either (1) a remap rule or (2) disabling
>> remap_required in records.config. This is not specific to the intercept
>> plugin. If you don't want (2) you can always add an identity remap to
>> remap.config and map the URL to itself.
>>
>
>
know what to do at this point...
On Mon, Mar 14, 2016 at 7:42 AM, Alan Carroll <
solidwallofc...@yahoo-inc.com.invalid> wrote:
> Traffic Server requires either (1) a remap rule or (2) disabling
> remap_required in records.config. This is not specific to the intercept
> plugin. If
Traffic Server requires either (1) a remap rule or (2) disabling remap_required
in records.config. This is not specific to the intercept plugin. If you don't
want (2) you can always add an identity remap to remap.config and map the URL
to itself.
ked. I was running into the
same issue with intercept plugin.
I even tried skipping remapping by calling TSSkipRemappingSet in
readRequestHeaders hook, that just
gives me a different error...
20160313.22h51m01s RESPONSE: sent 127.0.0.1 status 400 (Multi-Hop Cycle
Detected) for 'http://'
13, 2016 at 6:22 PM, Brian Geffon wrote:
>
> > Take a look at the example, you can set the body, status code, headers,
> > basically anything you want. The only reason you might want to use an
> > intercept plugin is it you wanted to stream a response.
> >
> > Br
ok. I'll give it a try and get back. Thanks.
On Sun, Mar 13, 2016 at 6:22 PM, Brian Geffon wrote:
> Take a look at the example, you can set the body, status code, headers,
> basically anything you want. The only reason you might want to use an
> intercept plugin is it you want
Take a look at the example, you can set the body, status code, headers,
basically anything you want. The only reason you might want to use an
intercept plugin is it you wanted to stream a response.
Brian
On Monday, March 14, 2016, Dk Jack wrote:
> custom error message plugin doesn't
27;s much easier,
>
> Brian
>
> On Monday, March 14, 2016, Dk Jack wrote:
>
> > Hi,
> > I am using atscppapi intercept Plugin. Does it still require a remap rule
> > if I am using SERVER_INTERCEPT type. I just want to respond with a custom
> > response if I see a specific url. Thanks.
> >
> > Dk.
> >
>
I would suggest looking at the custom error response plugin in the examples
folder, it will give you same result and it's much easier,
Brian
On Monday, March 14, 2016, Dk Jack wrote:
> Hi,
> I am using atscppapi intercept Plugin. Does it still require a remap rule
>
Hi,
I am using atscppapi intercept Plugin. Does it still require a remap rule
if I am using SERVER_INTERCEPT type. I just want to respond with a custom
response if I see a specific url. Thanks.
Dk.
13 matches
Mail list logo