add support for apache proxy