求帮忙把伪静态规则改成nginx的

浏览:794 发布日期:2015/05/01 分类:求助交流 关键字: 伪静态 规则 nginx Apache IIS
程序对应的Apache规则如下:RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond $1 !^(index\.php|static)
RewriteRule ^(.*)$ /index.php/$1 [L]
程序对应的IIS规则如下:RewriteRule .*\.(?:gif|exe|ip|ip|jpg|png|css|js|txt|rar|jpeg|html|swf|ico|eot|svg|ttf|woff|php|htm).* $0 [I,L]
RewriteRule ^(.*)$   /index.php/$1 [L]
问题是此程序没有nginx的规则,可我的服务器是nginx的,求帮忙看看怎么写出个nginx的规则
最佳答案
评论( 相关
后面还有条评论,点击查看>>