Writing rewrites works for Apache