----- 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.config. > > > I started ATS. When I do "curl -v http://mynode:8000", I am getting a > 302. > > > < HTTP/1.1 301 Moved Permanently > < location: https://npmjs.org/ > < Date: Tue, 07 Aug 2012 18:15:22 GMT > < Age: 70 > < Content-Length: 65 > < Connection: keep-alive > < Server: ATS/3.2.0 > < > <html>Moved: <a href="https://npmjs.org/">https://npmjs.org/</a> > > > I want ATS to follow the redirect and get me the actual content from > npmjs.org. Can you please let me know, what I am missing. > > Note: > If I enter http://mynode:8000/ in a brower, I getting the page I want > as > the browser is redirecting properly. > > Thank you in advance. > > -- > Prabhakhar > -- Igor Galić Tel: +43 (0) 664 886 22 883 Mail: i.ga...@brainsware.org URL: http://brainsware.org/ GPG: 6880 4155 74BD FD7C B515 2EA5 4B1D 9E08 A097 C9AE