update htaccess and docs about rewrite