首页 > htaccess转nginx

htaccess转nginx

<IfModule mod_rewrite.c>
  Options +FollowSymlinks
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^word\/(.*)_(.*).html$ index.php/Home/Index/search?word=$1&page=$2 [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^word\/(.*).html$ index.php/Home/Index/search?word=$1 [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^read\/(.*).html$ index.php/Home/Index/read?hash=$1 [L]

</IfModule>
【热门文章】
【热门文章】