Hello,
I have configured the cacheURL plugin the daigs show plugin loaded but i
dont see any log file in the logs folder. The contents of cacheurl.conf
are as follows:
*
**diags shows plugin loaded:*
[Feb 4 01:02:54.765] Server {0x2ae87e53d340} NOTE: <Plugin.cc:84
(plugin_load)> loading plugin '/usr/local/libexec/trafficserver/cacheurl.so'
[Feb 4 01:02:54.792] Server {0x2ae87e53d340} NOTE: <Main.cc:1794
(main)> traffic server running
[Feb 4 01:03:16.633] Server {0x2ae885615700} NOTE: <Cache.cc:1045
(cacheInitialized)> cache enabled
*target file for example:*
http://cw003.gear3rd.net/files/videos/2016/02/03/14544886014a97b-360.mp4
The below regexp is correct i wonder?
[root@ATS trafficserver]# cat cacheurl.config
http://tune.pk/video\/* http://ts.tune.pk/$1
http:\/\/w+\.gear3rd\.net\/files/videos/\d{4}\/\d{2}/\d{2}\/(\\w+\-\\w+\.mp4)
http://atvid.gear3rd.net/$1&$2
[root@ATS trafficserver]#
The files are not being cached at all the above configurations are
correct? How to enable log for cacheurl plugin?
I have referred to below guide by translating it in English:
https://blog.zymlinux.net/index.php/archives/195
Thanks
F.