Hi Guys
Thank you very much for your answers... very interesting points of views... I'll keep in mind both ideas..
FYI, this is the final result:
virtual vs_www.domain.com_80 {
snat automap
pool pool_www.domain.com_17800
destination 10.2.56.171:http
ip protocol tcp
httpclass
httpclass_www.domain.com
httpclass_to_www.domain.com
profiles
pro_www.domain.com_80
tcp
persist per_cookie_www.domain.com
}
profile httpclass httpclass_www.domain.com {
defaults from httpclass
hosts "www.domain.com"
}
profile httpclass httpclass_to_www.domain.com {
defaults from httpclass
pool none
redirect "http://www.domain.com"
}