Leif,

I still have an issue.

To simply matters, I am trying to set up a reverse proxy server.  I have 2 
servers:  traffic.mytest.com and origin.mytest.com.   Both servers are running 
Apache Web Server.  The index page is only on the origin server.  I modified 
the traffic server as follows:

  remap.config

  map http://traffic.mytest.com  http://origin.mytest.com
  reverse_map http://origin.mytest.com http://traffic.mytest.com

  records.config

  CONFIG proxy.config.reverse_proxy.enabled INT 1

I then stop and start the trafficserver.

On a browser on a client, I enter:

  http://traffic.mytest.com/index.com

I expect the traffic server to make an HTTP request to the origin server and 
then cache the page on the traffic server.  The traffic server will then server 
the page to the client.  However, I get and Error 404.

Am I understanding this correctly?

Thanks in advance for your time and help.

Ken


From: Leif Hedstrom [mailto:[email protected]]
Sent: Monday, October 21, 2013 11:33 PM
To: [email protected]
Cc: Chin, Kenneth (HBO)
Subject: Re: Apache Traffic Server Hierarchical Caching Question


On Oct 21, 2013, at 9:29 PM, Leif Hedstrom 
<[email protected]<mailto:[email protected]>> wrote:



On Oct 21, 2013, at 8:35 PM, Chin, Kenneth (HBO) 
<[email protected]<mailto:[email protected]>> wrote:


HI,

I am new to Apache Traffic Server.  I am interested in setting up a 
Hierarchical Caching environment.  I have read the documentation and as I read 
it, it states that only parent.config and records.config need to be modified on 
the child server.  As a test, I am accessing an HTML page on child from a 
client.  The page is not on the child but exists on the parent.  For some 
reason, I receive a 404 error.  Is there something that I am missing.



Hard to say, but a wild guess could be one or all of the settings below. 
otherwise, you might need other configs, such as remap.config for example.


Forgot to say, in a setup like this, make sure that you parent proxy 
everything, otherwise you could open up things as an open proxy (which you 
don't want).

-- leif


-- Leif




CONFIG proxy.config.http.parent_proxy_routing_enable INT 1

CONFIG proxy.config.reverse_proxy.enabled INT 0

CONFIG proxy.config.url_remap.remap_required INT 0


---------------------------------------------------------------------
This e-mail is intended only for the use of the addressees.  Any copying, 
forwarding, printing or other use of this e-mail by persons other than the 
addressees is not authorized.  This e-mail may contain information that is 
privileged, confidential and exempt from disclosure. If you are not the 
intended recipient, please notify us immediately by return e-mail (including 
the original message in your reply) and then delete and discard all copies of 
the e-mail. 

Thank you.

---------------------------------------------------------------------

Reply via email to