RewriteEngine on RewriteCond % !^$
RewriteRule uploads/(.*).(php)$ ¨C [F]
RewriteRule data/(.*).(php)$ ¨C [F]
RewriteRule templates /(.*).(php)$ ¨C [F]
RewriteEngine On
RewriteRule ^list-([0-9]+).html$
RewriteRule ^list-([0-9]+ )-([0-9]+)-([0-9]+).html$ /plus/list.php?tid=$1&totalresult=$2&PageNo=$3 [L]RewriteRule ^([0-9 ]+).html$ 9]+). Html $ /plus/view.php?aid= $1&pageno= $2 [L] rewriterule ^Index.html $ /Default.php [L] statische Regeln von Nginx in die statischen Regeln von Nginx
你需要先创建一个你的站点的nginx配置文件,可以搜索一下nginx配置站点,然后在配置文件中写上你的伪静态规则,具体写法可以百度。