works with apache proxy