Can I configure an HTTP URL redirect on my CacheFlow appliance?
book
Article ID: 168736
calendar_today
Updated On:
Products
CacheFlow Appliance Software
Issue/Introduction
I have a ProxySG appliance, and I know that my CacheFlow appliance uses the same CPL. Can I create an HTTP redirect rule in CacheFlow as I do on the ProxySG appliance?
define action myredir request_redirect(302, "http://www.bluecoat.com(.*)", "http://www.baidu.com$(1)") end
But has 3 errors when compiling in in Cache Flow 3.2.x
Compiling new configuration file: Inline configuration Tue, 04 Aug 2015 07:24:15 UTC Error: Invalid name for definition: 'action' cpl.local:27: define action myredir