以下是apache的形式,想換成nginx的rewite,請(qǐng)教各位大佬幫助,謝謝RewriteEngine?on
RewriteCond?%{http_host}?^web.area.com?[NC]
RewriteRule?^(.*)$?http://web.area.com$1?[R=301,L]
RewriteRule?^/track/(.*)$?/front/action/rd.php?param=$1?[L]
RewriteCond??%{DOCUMENT_ROOT}%{REQUEST_URI}?!-d
RewriteRule?^/((?!\.).)*(?<!\/)$??????$0/?[R=301,L]
RewriteCond?%{DOCUMENT_ROOT}%{REQUEST_URI}?!-f
RewriteCond?%{REQUEST_URI}???!^/(public|admin)/{0,1}
RewriteRule?^/??/front.php?[L]
如何用Nginx的rewrite語(yǔ)法改寫apache
流淚魚兒
2020-05-29 15:22:33