TCP can't redirect to dir


#1

Hello, sorry for the English, I need to redirect to a single server when this sentence is fulfilled, in http it is done, in tcp every one minute it asks me to login again:
mode http
acl spip_acl path_dir /ecrire
acl spip_acl path_beg -i /spip.php?page=login&url=%2Fecrire%2F

mode tcp:
acl spip_ssl req.ssl_sni -m sub -i /juntaelectoral/ # Directory
acl spip_ssl req.ssl_sni -m sub -i /ecrire #Direcotry
acl spip_ssl req.ssl_sni -m beg -i /spip.php?page=login&url=%2Fecrire%2F