|
[
2010/02/05 16:42 | by tinkoko ]
|
在虚拟主机目录下添加以下代码即可!!
#~~~~~~rewrite~~
location / {
if (!-e $request_filename) {
rewrite ^/(.+\.(html|xml|json|htm|php|jsp|asp|shtml))$ /index.php?$1 last;
}
}
#~~~~~~~end rewrite~~~
|
[
2010/02/05 16:42 | by tinkoko ]
|