Fix named-based virtual hosts.