手机
当前位置:查字典教程网 >CMS教程 >phpcms >phpwind伪静态规则(IIS,Nginx,Apache)的介绍及代码
phpwind伪静态规则(IIS,Nginx,Apache)的介绍及代码
摘要:phpwindiis下伪静态规则[ISAPI_Rewrite]RewriteRule^(.*)/(.*)-htm-(.*)-(.*).htm...

phpwind iis下伪静态规则

[ISAPI_Rewrite]

RewriteRule ^(.*)/(.*)-htm-(.*)-(.*).html$ $1/$2.php?$3=$4

RewriteRule ^(.*)/read-htm-tid-(.*).html$ $1/read.php?tid=$2

RewriteRule ^(.*)/thread-htm-fid-(.*).html$ $1/thread.php?fid=2

RewriteRule ^(.*)/simple/([a-z0-9_]+.html)$ $1/simple/index.php?$2

phpwind apache下伪静态规则

RewriteEngine On

RewriteRule ^(.*)/thread-htm-tid-(d+)-(.*).html $1/thread.php?fid=$2

RewriteRule ^(.*)/read-htm-tid-(d+)-(.*).html $1/read.php?tid=$2

RewriteRule ^(.*)/commtopics-(d+)-(.*)$ $1/thread.php?fid=$2&page=$3

RewriteRule ^(.*)/commtopics-(.*)$ $1/thread.php?fid=$2&page=$3

RewriteRule ^(.*)/article-(d+)-(d+)-(.*).html$ $1/read.php?tid=$2&page=$3&fpage=$4

RewriteRule ^(.*)/article-(d+)-(.*).html$ $1/read.php?tid=$2&page=$3

RewriteRule ^(.*)/article-(.*).html$ $1/read.php?tid=$2

RewriteRule ^(.*)-htm-(.*)$ $1.php?$2

RewriteRule ^(.*)/simple/([a-z0-9_]+.html)$ $1/simple/index.php?$2

phpwind nginx下伪静态规则

location / {

rewrite ^(.*)-htm-(.*)$ $1.php?$2 last;

rewrite ^(.*)/simple/([a-z0-9_]+.html)$ $1/simple/index.php?$2 last;

}

【phpwind伪静态规则(IIS,Nginx,Apache)的介绍及代码】相关文章:

phpcms在nginx的rewrite伪静态标准写法

PHPCMS开启全文搜索(sphinx)后搜索无效的解决方法

phpcms后台设置了访问域名后导致网站后台无法访问的解决方法

phpcms输入后台内容录入框中支持php代码实现思路

phpcms v9列表页如何调用子栏目如首页>产品中心>产品类型a

PHPCMS V9数据库配置文件database.php位置在哪

PHPCMS取消搜索时的分词功能的方法

phpcms缓存使用总结(memcached、eaccelerator、shm)

PHPwind 伪静态简化URL长度为1.html,f2等的方法介绍

phpcms 的sso通信失败的解决和思路

精品推荐
分类导航