python伪静态异常跳转后就失败,python伪静态跳转,<IfModule mo
python伪静态异常跳转后就失败,python伪静态跳转,<IfModule mod_rewrite.c>RewriteEngine onRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-f#RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]RewriteRule ^(.*)\.html$ index.php?g=portal&m=index&a=$1</IfModule>
http://www.test.com/index.php?g=portal&m=index&a=index
http://www.test.com/index.php?g=portal&m=index&a=services
http://www.test.com/index.php?g=portal&m=index&a=partner
......
转化成
http://www.test.com/index.html
http://www.test.com/services.html
http://www.test.com/partner.html
....
首页的时候导航显示已经实现伪静态
可是一跳到其他的页面,比如services partner
又变成了http://www.test.com/index.php?g=portal&m=index&a=partner
不明白?
编橙之家文章,
<IfModule mod_rewrite.c>RewriteEngine onRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-f#RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]RewriteRule ^(.*)\.html$ index.php?g=portal&m=index&a=$1</IfModule>
http://www.test.com/index.php?g=portal&m=index&a=index
http://www.test.com/index.php?g=portal&m=index&a=services
http://www.test.com/index.php?g=portal&m=index&a=partner
......
转化成
http://www.test.com/index.html
http://www.test.com/services.html
http://www.test.com/partner.html
....
首页的时候导航显示已经实现伪静态
可是一跳到其他的页面,比如services partner
又变成了http://www.test.com/index.php?g=portal&m=index&a=partner
不明白?
编橙之家文章,
相关内容
- 请问我的python AVL树这样号写对不对,,class Node(o
- Debian Python程序,用mplayer能实现渐变效果吗?,pythonmplay
- 有经验的Python大师帮看看CRC16代码实现过程错误在哪里
- Python请问PIL渲染小字号汉字截断现象怎么解决,python
- python mongoengine条件查询比较字段方法求助,pythonmongoe
- Pyhton能为视频地址解析做优化吗,pyhton能为视频解析
- Python相对路径的变化机制是什么?,python相对路径机制
- 请问BAE markdown==2.2.0添加发布不成功怎么办,markdown2.2
- 利用Python语言完成类似couchPotato工具,要做哪些准备工作
- Tornado在微信中的应用问题,信息排重写终止请求判断,
评论关闭