网页使用了一个YYUC的框架,该框架伪静态使用的是.htaccess文件实现,但现在主机是nginx环境,无法使用.htaccess文件,想问大神如何可以在nginx中使用。 该文件代码如下: <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME... 网页使用了一个YYUC的框架,该框架伪静态使用的是.htaccess文件实现,但现在主机是nginx环境,无法使用.htaccess文件,想问大神如何可以在nginx中使用。
该文件代码如下:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
</IfModule>
隔江千里