Forum Discussion
nitass
Oct 06, 2011Employee
[root@iris:Active] config b virtual bar list
virtual bar {
snat automap
pool foo
destination 172.28.17.33:http
ip protocol tcp
persist mycookie
profiles {
myhttp {}
tcp {}
}
}
[root@iris:Active] config b profile mycookie list
profile persist mycookie {
defaults from cookie
mode cookie
cookie name "mycookie"
}
[root@iris:Active] config b profile myhttp list
profile http myhttp {
defaults from http
cookie secret "secret"
encrypt cookies "mycookie"
}
[root@iris:Active] config curl -I http://172.28.17.33
HTTP/1.1 200 OK
Date: Thu, 06 Oct 2011 14:14:42 GMT
Server: Apache/2.0.59 (rPath)
Last-Modified: Sat, 11 Jun 2011 00:31:47 GMT
ETag: "667a-67-cfb682c0"
Accept-Ranges: bytes
Content-Length: 103
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Set-Cookie: mycookie=ndCgP4r0y+1wxKUyfZlwh06Tobn5uo67AB2+wxP6RC8UO34hJ3/7237cm9JzcdRwbjH6+YmuOyRgGYc=; path=/