add apache/nginx rewrite rule