Mod Rewrite/.htaccess

Mod Rewrite/.htaccess,.htaccess,mod-rewrite,.htaccess,Mod Rewrite,我想知道是否有一个简短的版本: 重写规则^signup$/signup.php[L] 重写规则^signup/$/signup.php[L] 谢谢你的建议 是的 RewriteRule ^signup(/)?$ /signup.php [L]

我想知道是否有一个简短的版本:

重写规则^signup$/signup.php[L] 重写规则^signup/$/signup.php[L]

谢谢你的建议

是的

RewriteRule ^signup(/)?$ /signup.php [L]