Traffic Server 2.1.5 does not respect redirect directives in remap.config
-------------------------------------------------------------------------

                 Key: TS-675
                 URL: https://issues.apache.org/jira/browse/TS-675
             Project: Traffic Server
          Issue Type: Bug
          Components: Remap API
    Affects Versions: 2.1.5
         Environment: Linux NAZ-PLONE-2020 2.6.36-gentoo-r5 #1 SMP Wed Feb 9 
15:16:31 EST 2011 x86_64 Intel(R) Xeon(R) CPU E5540 @ 2.53GHz GenuineIntel 
GNU/Linux

Apache Traffic Server - traffic_server - 2.1.5-unstable - (build # 1913 on Feb  
9 2011 at 13:42:56)

            Reporter: Michael A. Smith


Traffic Server does not seem to respect the redirect rules in remap.config at 
all. I've tried several iterations of the below to no avail.

# fgrep proxy.config.url_remap records.config
CONFIG proxy.config.url_remap.default_to_server_pac INT 0
CONFIG proxy.config.url_remap.default_to_server_pac_port INT -1
CONFIG proxy.config.url_remap.remap_required INT 0
CONFIG proxy.config.url_remap.pristine_host_hdr INT 0
CONFIG proxy.config.url_remap.filename STRING remap.config
# cat remap.config

redirect https://naz-plone-2020/ https://2020.naz.edu/
redirect  http://naz-plone-2020/  http://2020.naz.edu/

map https://2020.naz.edu  
http://127.0.0.1:10000/VirtualHostBase/https/naz-plone-2020/Plone/VirtualHostRoot
map  http://2020.naz.edu  
http://127.0.0.1:10000/VirtualHostBase/http/naz-plone-2020/Plone/VirtualHostRoot

# traffic_line -x
# curl -D- -o/dev/null http://naz-plone-2020 2> /dev/null
HTTP/1.1 404 Not Found on Accelerator
Date: Wed, 23 Feb 2011 01:20:37 GMT
Connection: close
Server: ATS/2.1.5-unstable
Cache-Control: no-store
Content-Type: text/html
Content-Language: en
Content-Length: 240



-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to