perform apex to www redirect in haproxy