php mvc nginx url重写(经验累计)
来源:互联网 发布:淘宝心是怎么升级的 编辑:程序博客网 时间:2024/06/05 23:00
location /
{
rewrite ^/posid-([0-9]+)-([0-9]).html /index.php?m=content&a=newslis&posid=$1page=$2 last
rewrite ^/([a-zA-Z]+)-([a-zA-Z]+)-([0-9]+)\.html$ /index.php?m=content&c=$1&a=$2&page=$3 last
}
第一条
www.b.com/index.php?m=content&a=newslis&posid=1page=2 重写成 www.b.com/posid-9-8.html
第二条
www.b.com//index.php?m=content&c=$1&a=$2&page=$3 重写成 www.b.com/随便字符串-随便字符串-页码.html
0 0
- php mvc nginx url重写(经验累计)
- thinkphp 3.2.3在nginx+php下的url重写配置经验
- (Nginx和PHP下)URL重写,TP实现URL重写
- nginx重写url隐藏index.php
- MVC Url重写
- mvc中重写url
- Nginx实战(二) URL重写
- Nginx实战(二) URL重写
- Nginx实战(二) URL重写
- nginx url 重写规则
- Nginx的url重写
- Nginx url重写小结
- nginx url重写
- Nginx之URL重写
- Nginx配置URL重写
- nginx URL重写
- nginx配置url重写
- nginx配置url重写
- poj-3140
- Android中ListView嵌套GridView的简单消息流UI(解决宽高问题)
- java web项目使用axis2
- update xml数据
- RAC修改了子网掩码报错CRS-5008
- php mvc nginx url重写(经验累计)
- Cocos2dx 3.2 横版过关游戏Brave学习笔记(六)
- 注册页面的各种判断(正则表达式)
- 总结所有的javascript验证方法大全
- 《突出重围》游戏源码
- 面向对象和面向过程
- HTML5重力感应小球冲撞动画实现
- 黑马程序员_高新技术(一)
- ojdbc 版本区别