added apache rewrite condition