You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Qiang Li (JIRA)" <ji...@apache.org> on 2014/06/12 08:07:01 UTC

[jira] [Created] (TS-2886) body factory not worked

Qiang Li created TS-2886:
----------------------------

             Summary: body factory not worked
                 Key: TS-2886
                 URL: https://issues.apache.org/jira/browse/TS-2886
             Project: Traffic Server
          Issue Type: Bug
          Components: HTTP
            Reporter: Qiang Li


body factory not worked

my records.config:
{code}
CONFIG proxy.config.body_factory.enable_customizations INT 1
CONFIG proxy.config.body_factory.enable_logging INT 0
CONFIG proxy.config.body_factory.response_suppression_mode INT 0
CONFIG proxy.config.body_factory.template_sets_dir STRING /etc/trafficserver/body_factory
{code}

test:
www.test1.com not in my remap.config
{code}
curl -v -x127.0.0.1:80 http://www.test1.com/index.html
* About to connect() to proxy 127.0.0.1 port 80 (#0)
*   Trying 127.0.0.1... connected
* Connected to 127.0.0.1 (127.0.0.1) port 80 (#0)
> GET http://www.test1.com/index.html HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.13.1.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
> Host: www.test1.com
> Accept: */*
> Proxy-Connection: Keep-Alive
> 
< HTTP/1.1 404 Not Found
< Date: Thu, 12 Jun 2014 06:03:43 GMT
< Connection: close
< Via: http/1.1 utn-cz-1-1-s18p1 (ApacheTrafficServer/5.0.0 [c s f ])
< Cache-Control: no-store
< Content-Type: text/html
< Content-Language: en
< Content-Length: 34
< 
* Closing connection #0
Your requested URL was not found.
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)