[
https://issues.apache.org/jira/browse/TS-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14504957#comment-14504957
]
Leif Hedstrom commented on TS-3531:
-----------------------------------
So, I've tested this, and I could not reproduce. Is it possible that something
has been fixed on the current 5.3.x branch? Faysal, can you please try with the
current 5.3.x branch from git?
{code}
root@loki 198/0 # tail -1 etc/trafficserver/plugin.config
cacheurl.so /tmp/cacheurl.config
root@loki 199/0 # cat /tmp/cacheurl.config
http://loki.ogre.com/bench/100.bmp http://tested/switched.gif
root@loki 200/0 # ./bin/traffic_server -T cacheurl
traffic_server: using root directory '/opt/ats'
[Apr 21 07:38:33.010] Server {0x7fb39a4c9880} DIAG: (cacheurl) Opening config
file: /tmp/cacheurl.config
[Apr 21 07:38:33.010] Server {0x7fb39a4c9880} DIAG: (cacheurl) Adding
pattern/replacement pair: 'http://loki.ogre.com/bench/100.bmp' ->
'http://tested/switched.gif'
[Apr 21 07:38:33.010] Server {0x7fb39a4c9880} DIAG: (cacheurl) loaded 1 regexes
[Apr 21 07:38:35.082] Server {0x7fb398cf2700} DIAG: (cacheurl) Rewriting cache
URL for http://loki.ogre.com/bench/100.bmp to http://tested/switched.gif
{code}
> cacheurl plugin not working in 5.3.0->5.3.x
> -------------------------------------------
>
> Key: TS-3531
> URL: https://issues.apache.org/jira/browse/TS-3531
> Project: Traffic Server
> Issue Type: Bug
> Components: Cache, Plugins
> Reporter: Faysal Banna
> Fix For: 6.0.0
>
>
> Hi Guys
> was working and doing tests on 5.3.0 before i could integrate it in my
> production servers, and while doing so i noticed some issues with cacheurl
> plugin and maybe other plugins but that i can not confirm.
> Here is what my observation was :
> in cacheurl.config i have
> http://s1.2mdn.net/viewad/4079501/BeitMisk_Spring_160x600_web.gif
> http://tested/switched.gif
> loaded cacheurl.so cacheurl.config in plugin.config
> and i confirm that i get [Apr 18 02:45:54.442] Server {0x2b05b69fba80} DIAG:
> (cacheurl) Adding pattern/replacement pair:
> 'http://s1.2mdn.net/viewad/4079501/BeitMisk_Spring_160x600_web.gif' ->
> 'http://tested/switched.gif'
> in traffic.out
> which says that the pattern was added correctly
> nevertheless when i do curl or wget with xdebug header request
> i get :
> X-Cache-Key: http://s1.2mdn.net/viewad/4079501/BeitMisk_Spring_160x600_web.gif
> meaning that the cacheurl plugin didn't actually do the mapping in any way
> possible
> Next was testing with 5.2.1 version of ATS to see how things go so i git
> cloned it and compiled and ran the same test again
> now i get
> X-Cache-Key: http://tested/switched.gif
> which means that cacheurl in 5.2.1 works while in latest mainstream or 5.3.0
> it does not
> i shall do further tests and feed you back here
> much regards
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)