如何更改
/profile?user=user
到
profile/user
可以使用.htaccess
或其他功能吗?
这是我到目前为止尝试过的:
RewriteRule ^([A-Za-z0-9-]+)/?$ /profile/$1 [L]
答案 0 :(得分:0)
我认为您可能已经说过将URL重写与.htaccess文件一起使用。
git clone git@github.com:$GITUSER/$PROJECT.git $PROJECT-github
cd $PROJECT-github
cat ../cvs2git-tmp/git-{blob,dump}.dat | git fast-import
git log
git reset --hard
git push