[西风]PDF文库系统 专业版2.0伪静态文档

  • A+
所属分类:discuz教程

教速吧自学网(www.jiaosuba.cn)免费提供dedecms使用教程、安装教程、模板制作教程等。===已发布[西风]PDF文库系统 专业版2.0 (jameson_pdf)====

伪静态


只有在你的论坛当前已在正常使用伪静态的情况下,才可使用插件伪静态

如果确定你的服务器支持伪静态,请复制对应你服务器的伪静态规则到你当前可用的规则底部,然后到插件后台-设置--启用伪静态,选择【是】,提交,更新缓存。

目前只提供apache、IIS6、IIS7、nginx服务器下的伪静态规则,其他服务器请根据apache的自行改写
apache服务器伪静态规则 添加到当前服务器起作用的规则底部

RewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^pdfdoc/?$ plugin.php?id=jameson_pdf:jameson_pdf&contrl=index&act=index&%1 RewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^pdfdoc/author/([a-zA-Z]+)/?(\d+)?/?$ plugin.php?id=jameson_pdf:jameson_pdf&contrl=author&act=$1&$1_id=$2&%1 RewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^pdfdoc/([a-zA-Z]+)/?(\d+)?/?$ plugin.php?id=jameson_pdf:jameson_pdf&contrl=index&act=$1&$1_id=$2&%1 RewriteCond %{QUERY_STRING} ^(.*)$RewriteRule ^pdfdoc/shaixuan/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?$ plugin.php?id=jameson_pdf:jameson_pdf&contrl=index&act=shaixuan&$1=$2&$3=$4&$5=$6&$7=$8&$9=$10&%1

II6服务器伪静态规则 添加到当前服务器起作用的规则底部

RewriteRule ^(.*)/pdfdoc/?$ $1/plugin.php?id=jameson_pdf:jameson_pdf&contrl=index&act=index&%1 RewriteRule ^(.*)/pdfdoc/author/([a-zA-Z]+)/?(\d+)?/?$ $1/plugin.php?id=jameson_pdf:jameson_pdf&contrl=author&act=$2&$2_id=$3&%1 RewriteRule ^(.*)/pdfdoc/([a-zA-Z]+)/?(\d+)?/?$ $1/plugin.php?id=jameson_pdf:jameson_pdf&contrl=index&act=$2&$2_id=$3&%1 RewriteRule ^(.*)/pdfdoc/shaixuan/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?$ $1/plugin.php?id=jameson_pdf:jameson_pdf&contrl=index&act=shaixuan&$2=$3&$4=$5&$6=$7&$8=$9&$10=$11&%1

IIS7服务器伪静态规则 添加到当前服务器起作用的规则标签中

nginx服务器下伪静态规则 添加到当前服务器起作用的规则 if 语句之前

rewrite ^([^\.]*)/pdfdoc/?$ $1/plugin.php?id=jameson_pdf:jameson_pdf&contrl=index&act=index last; rewrite ^([^\.]*)/pdfdoc/author/([a-zA-Z]+)/?(\d+)?/?$ $1/plugin.php?id=jameson_pdf:jameson_pdf&contrl=author&act=$2&$2_id=$3 last; rewrite ^([^\.]*)/pdfdoc/([a-zA-Z]+)/?(\d+)?/?$ $1/plugin.php?id=jameson_pdf:jameson_pdf&contrl=index&act=$2&$2_id=$3 last; rewrite ^([^\.]*)/pdfdoc/shaixuan/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?(\w+)?/?$ $1/plugin.php?id=jameson_pdf:jameson_pdf&c

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: