1.phpcms 伪静态

1.phpcms  伪静态
location / { 
if (!-f $request_filename){ 
rewrite (.*) /index.php; 
} 
rewrite ^/caipu-([0-9]+)-([0-9]+)-([0-9]+).html /index.php?m=content&c=index&a=show&catid=$1&id=$2&page=$3 last; 
rewrite ^/content-([0-9]+)-([0-9]+)-([0-9]+).html /index.php?m=content&c=index&a=show&catid=$1&id=$2&page=$3 last; 
rewrite ^/list-([0-9]+)-([0-9]+).html /index.php?m=content&c=index&a=lists&catid=$1&page=$2 last; 
rewrite ^/tag-([^\.]*)-([0-9]+)-([0-9]+).html /index.php?m=content&c=tag&catid=$2&tag=$1&page=$3 last; 
rewrite ^/comment-([0-9]+)-([0-9]+)-([0-9]+).html /index.php?m=comment&c=index&a=init&commentid=content_$1-$2-$3 last; 
rewrite ^/([^\.]*).html /index.php?m=member&c=index&a=$1 last; 
} 
1.phpcms  伪静态

1.phpcms 伪静态,布布扣,bubuko.com

1.phpcms 伪静态

上一篇:js实现自定义右键菜单--兼容IE、Firefox、Chrome


下一篇:weblogic 10.x 上开发restful服务