Hi Cian, On Sun, Jan 1, 2012 at 2:22 AM, Cian Mc Govern <[email protected]>wrote:
I'm having an issue when I try to implement the redirect and reload varnish: > > Message from VCC-compiler: > Expected variable, string or semicolon > (input Line 17 Pos 68) > set req.http.x-redir-url = "https://www.cianmcgovern.com/" + > req.url; > > ---------------------------------------------------------------------------#--------- > > Can't find a solution to this but I suspect it might be due to the > version, 2.1.5, I'm using?? > In 2.1 string concatenation looks like this: set req.http.x-redir-url = "https://www.cianmcgovern.com/" req.url; In 3.0 this was done explicit using "+". > Thanks for any help! > > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc > -- Per Buer, CEO Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer *Varnish makes websites fly!* Whitepapers <http://www.varnish-software.com/whitepapers> | Video<http://www.youtube.com/watch?v=x7t2Sp174eI> | Twitter <https://twitter.com/varnishsoftware>
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
