Re: http redirection

2016-06-06 Thread Leif Hedstrom
> On Jun 5, 2016, at 10:41 PM, Rafiee wrote: > > Ok, that makes sense I think (although, I’d probably question why you don’t let ATS proxy instead of doing redirects). That much said, depending on what identifies the requests (request1 vs request2), you either should use the redirect dir

Re: http redirection

2016-06-06 Thread Rafiee
[image: Redirect.jpg] On Mon, 6 Jun 2016 at 04:37 Leif Hedstrom wrote: > Also when you say redirect, I'm guessing you don't mean redirect? A > redirect in HTTP is e.g a 302 response asking the client to go elsewhere. > > Are you asking to do round-robin between a number of origin servers? > > --

Re: http redirection

2016-06-05 Thread Rafiee
i am want all request to two and more host redirection for example: request 1 redirect to host 1 request 2 redirect to host 2 request 3 redirect to host 1 thanks best regards On Sun, 5 Jun 2016 at 20:13 Leif Hedstrom wrote: > > > On Jun 5, 2016, at 6:00 AM, Rafiee wrote: > > > > Hi > > I am use

Re: http redirection

2016-06-05 Thread Leif Hedstrom
Also when you say redirect, I'm guessing you don't mean redirect? A redirect in HTTP is e.g a 302 response asking the client to go elsewhere. Are you asking to do round-robin between a number of origin servers? -- Leif > On Jun 5, 2016, at 2:06 PM, Rafiee wrote: > > i am want all request to

Re: http redirection

2016-06-05 Thread Leif Hedstrom
What defines request1, request2 etc? I think you will need to show some real examples for us to have a chance to understand what you want to do. -- Leif > On Jun 5, 2016, at 2:06 PM, Rafiee wrote: > > i am want all request to two and more host redirection > for example: > request 1 redirect

Re: http redirection

2016-06-05 Thread Leif Hedstrom
> On Jun 5, 2016, at 6:00 AM, Rafiee wrote: > > Hi > I am use this ATS for http redirectiton to any host > I do not know how to do redirection > this config for redirect to one host > ""/etc/trafficserver/remap.conf > redirect http://c1.com http://c2.com "" There’s not enough informatio

http redirection

2016-06-05 Thread Rafiee
Hi I am use this ATS for http redirectiton to any host I do not know how to do redirection this config for redirect to one host ""/etc/trafficserver/remap.conf redirect http://c1.com http://c2.com "" please help me. thanks