2012/2/10 Roberto O. Fernández Crisial <[email protected]>
> Hugues,
>
Hi Roberto,
Thank you for your answer.
>
Try this:
>
> set req.http.X-TEST = req.hash;
> set req.http.TEST = req.http.X-TEST;
>
> It should work.
>
Unfortunately the problem doesn't come from the syntax of "req.http.TEST"
but from req.hash. Here is the message:
Message from VCC-compiler:
Symbol not found: '*req.hash*' (expected type STRING_LIST):
('input' Line 219 Pos 31)
*set req.http.X-TEST* = *req.hash*;
------------------------------########-
Running VCC-compiler failed, exit 1
VCL compilation failed
I also tried to put that in my configuration:
set req.http.X-TEST = {""} + req.hash;
And, same error:
Message from VCC-compiler:
Symbol not found: '*req.hash*' (expected type STRING):
('input' Line 219 Pos 38)
* set req.http.X-TEST* = {""} + *req.hash*;
-------------------------------------########-
Running VCC-compiler failed, exit 1
VCL compilation failed
Do you have any other idea ?
> Good luck,
>
> Roberto (@rofc)
>
>
Thanks!
-Hugues
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc