本人装的amh,现在有个网站.htaccess是这么写的。
<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>
求nginx下该如何编写!
桃花长相依