伪静态转换 急
RewriteEngine OnRewriteRule ^160/t(\w+)/(.*)$ http://$1.taobaocdn.com/bao/$2_160x160.jpg
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php
Apache转换成 nginx的 急急急急急
不要用那个在线转换的
mad.gif
mad.gif
帮顶 rewrite ^/160/t(w+)/(.*)$ http://$1.taobaocdn.com/bao/$2_160x160.jpg redirect;
if (!-f $request_filename){
set $rule_1 1$rule_1;
}
if (!-d $request_filename){
set $rule_1 2$rule_1;
}
if ($rule_1 = "21"){
rewrite /.* /index.php;
}
页:
[1]