Hi,
I want to set up ATS as a forward proxy for npmjs.org. I add this line to
the records.config
map http://mynode:8000/ https://npmjs.org/
and added some storage in the storage.config.
I started ATS. When I do "curl -v http://mynode:8000";, I am getting a 302.
< HTTP/1.1 301 Moved Permane
- Original Message -
> Hi,
>
> I want to set up ATS as a forward proxy for npmjs.org. I add this
http://trafficserver.apache.org/docs/trunk/admin/forward-proxy/
> line to
> the records.config
>
> map http://mynode:8000/ https://npmjs.org/
>
> and added some storage in the storage.co
Thank you for the reply.
If you mean
http://trafficserver.apache.org/docs/trunk/admin/forward-proxy/index.en.html,
I exactly followed that.
The issue is ATS is not following the redirects, instead sends back 302.
* About to connect() to mynode port 8000 (#0)
* Trying 10.254.32.51... connected
On 8/7/12 2:01 PM, P Kaliyamurthy wrote:
Thank you for the reply.
If you mean
http://trafficserver.apache.org/docs/trunk/admin/forward-proxy/index.en.html,
I exactly followed that.
The issue is ATS is not following the redirects, instead sends back 302.
I'm not sure exactly what you are tryin
Try adding -L parameter to your curl command (follow location).
-Original Message-
From: P Kaliyamurthy [mailto:pkaliyamur...@gmail.com]
Sent: Tuesday, August 07, 2012 2:45 PM
To: dev@trafficserver.apache.org
Subject: Setting up ATS as a forward proxy.
Hi,
I want to set up ATS as a for
Hi, Leif Hedstrom.
Thank you for your response. Let me explain what I am trying to achieve.
1. https://npmjs.org is a site where *public* node packages (think some
tarballs) are published. For ex.,
http://registry.npmjs.org/request/-/request-0.10.0.tgz
2. I have setup a similar registry to host m
I will have proper mapping in remap.config for private and public packages
(We have naming conventions for internal packages).
--
Prabhakhar K
On Tue, Aug 7, 2012 at 5:47 PM, P Kaliyamurthy wrote:
> Hi, Leif Hedstrom.
>
> Thank you for your response. Let me explain what I am trying to achieve.
>
Thank you..
But I do not want curl to follow redirects. Instead I want ATS to do follow
redirect and give me responses.
--
Prabhakhar K
On Tue, Aug 7, 2012 at 1:51 PM, Schmidt, Bill wrote:
> Try adding -L parameter to your curl command (follow location).
>
>
> -Original Message-
> From