Discuz! X3.3、F1.0、X3.2、X3.1、X3、X2.5等所有版本 VPS、独立主机的伪静态规则的设置(更新更全的其他插件支持敬请关注本帖更新):
(1)服务器系统及 PHP : Linux / PHP v5.X.X 服务器软件:Apache
.htaccess的规则配置:
httpd.conf规则设置:
下载地址(点击数字即可下载)→:7667
下载地址(点击数字即可下载)→:7668
[backcolor=magenta]相关阅读:[/backcolor]
Discuz X3.3 X3.2 linux使用AMH面板Apache环境的伪静态规则设置方法
http://bbs.zhanzhangwo.com/t-22913-1-1.html
(出处: 站长窝)
(1)服务器系统及 PHP : Linux / PHP v5.X.X 服务器软件:Apache
.htaccess的规则配置:
<IfModule mod_rewrite.c> # 将 RewriteEngine 模式打开 RewriteEngine On #自定义404错误页(/page404.html是错误提示用的网页路径,请自行修改) ErrorDocument 404 /page404.html #301转向(301重定向,301跳转)设置 RewriteCond %{HTTP_HOST} ^caogen8.co$ [NC,OR] RewriteCond %{HTTP_HOST} ^caogen8.discuz.cc$ RewriteRule ^(.*)$ http://bbs.zhanzhangwo.com/$1 [R=301,L] # 修改以下语句中的 /discuz 为你的论坛目录地址,如果程序放在根目录中,请将 /discuz 修改为 / RewriteBase / # Rewrite 系统规则请勿修改 #门户专题页伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^topic-(.+)\.html$ portal.php?mod=topic&topic=$1&%1 #门户文章页伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^article-([0-9]+)-([0-9]+)\.html$ portal.php?mod=view&aid=$1&page=$2&%1 #论坛主题列表页伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^forum-(\w+)-([0-9]+)\.html$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1 #论坛主题内容页伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ forum.php?mod=viewthread&tid=$1&extra=page\%3D$3&page=$2&%1 #主题分类与分类信息伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^(.*)type-(\w+)-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/forum\.php\?mod=forumdisplay&fid=$2&typeid=$3&typeid=$3&filter=typeid&page=$4 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^(.*)sort-(\w+)-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/forum\.php\?mod=forumdisplay&fid=$2&sortid=$3&sortid=$3&filter=sortid&page=$4 #群组主题列表页伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^group-([0-9]+)-([0-9]+)\.html$ forum.php?mod=group&fid=$1&page=$2&%1 #用户个人主页伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^space-(username|uid)-(.+)\.html$ home.php?mod=space&$1=$2&%1 [NU] #用户日志内容页伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^blog-([0-9]+)-([0-9]+)\.html$ home.php?mod=space&uid=$1&do=blog&id=$2&%1 #论坛 Archiver 页伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^archiver/(fid|tid)-([0-9]+)\.html$ archiver/index.php?action=$1&value=$2&%1 #克米设计图展中心伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^(.*)pic-([0-9]+)\.html(\?(.*))*$ $1plugin\.php\?id=comiis_imgshow&tid=$2&$4 #插件伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^([a-z]+[a-z0-9_]*)-([a-z0-9_\-]+)\.html$ plugin.php?id=$1:$2&%1 #dmember 深蓝521交友中心 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou/$ jiaoyou.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou$ jiaoyou.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou-([0-9]+)$ jiaoyou.php?pid=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou-([0-9]+)-([a-z0-9_\-]+)$ jiaoyou.php?pid=$1&op=$2&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou-wall$ jiaoyou.php?mod=wall&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou-my$ jiaoyou.php?mod=my&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou-search-girl$ jiaoyou.php?mod=search&now=girl&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou-search-boy$ jiaoyou.php?mod=search&now=boy&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou-advanced$ jiaoyou.php?mod=advanced&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou-profile$ jiaoyou.php?mod=profile&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou-index$ jiaoyou.php?mod=index&%1 #space 深蓝品牌空间 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^space/$ space.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^space$ space.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^space-shop-([a-z0-9_\-]+)-([a-z0-9_\-]+)$ space.php?sid=$1&op=$2&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^space-shop-([a-z0-9_\-]+)$ space.php?sid=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^space-list$ space.php?mod=list&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^space-map$ space.php?mod=map&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^space-brand$ space.php?mod=brand&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^space-card$ space.php?mod=card&%1 #info 深蓝分类信息 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^info/$ info.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^info$ info.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^info-([0-9]+)$ info.php?mod=view&post_id=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^info-cat-([0-9]+)$ info.php?mod=list&subcat_id=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^info-select$ info.php?mod=select&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^info-select-cat-([0-9]+)$ info.php?mod=select&cat_id=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^info-area-([0-9]+)$ info.php?mod=index&area_id=$1&%1 #tuan 深蓝团购 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tuan/$ tuan.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tuan$ tuan.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tuan-goods-([a-z0-9_\-]+)$ tuan.php?mod=view&goods_id=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tuan-shop-list$ tuan.php?mod=shop&op=list&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tuan-shop-([0-9]+)$ tuan.php?mod=shop&op=view&sid=$1&%1 #tmall 深蓝商城 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tmall/$ tmall.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tmall$ tmall.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tmall-goods-([a-z0-9_\-]+)$ tmall.php?mod=view&goods_id=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tmall-shop-list$ tmall.php?mod=shop&op=list&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tmall-shop-([0-9]+)$ tmall.php?mod=shop&op=view&sid=$1&%1 #food 深蓝外卖派送 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^food/$ food.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^food$ food.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^food-goods-([a-z0-9_\-]+)$ food.php?mod=view&goods_id=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^food-shop-list$ food.php?mod=shop&op=list&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^food-shop-([0-9]+)$ food.php?mod=shop&op=view&sid=$1&%1 #biyouhui 深蓝优惠券 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^biyouhui/$ biyouhui.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^biyouhui$ biyouhui.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^biyouhui-goods-([a-z0-9_\-]+)$ biyouhui.php?mod=view&goods_id=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^biyouhui-shop-list$ biyouhui.php?mod=shop&op=list&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^biyouhui-shop-([0-9]+)$ biyouhui.php?mod=shop&op=view&sid=$1&%1 #marry 深蓝婚恋红娘 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^marry/$ marry.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^marry$ marry.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^marry-index$ marry.php?mod=index%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^marry-([0-9]+)$ marry.php?mod=member&pid=$1&%1 RewriteRule ^marry-my$ marry.php?mod=my&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^marry-search-girl$ marry.php?mod=search&op=girl&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^marry-search-boy$ marry.php?mod=search&op=boy&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^marry-advanced$ marry.php?mod=advanced&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^marry-hongniang$ marry.php?mod=hongniang&%1 #sale 深蓝二手市场 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^sale/$ sale.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^sale$ sale.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^sale-([0-9]+)$ sale.php?mod=view&goods_id=$1&%1 #gongqiu 深蓝供求招商 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^gongqiu/$ gongqiu.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^gongqiu$ gongqiu.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^gongqiu-([0-9]+)$ gongqiu.php?mod=view&goods_id=$1&%1 #house 深蓝房产楼盘 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^house/$ house.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^house$ house.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^house-([0-9]+)$ house.php?mod=view&post_id=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^house-loupan-([0-9]+)-([a-z0-9_\-]+)$ house.php?mod=loupan&op=view&lid=$1&ac=$2&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^house-loupan$ house.php?mod=loupan&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^house-loupan-([0-9]+)$ house.php?mod=loupan&op=view&lid=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^house-list-([0-9]+)$ house.php?mod=list&profile_type_id=$1&%1 #job 深蓝求职招聘 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^job/$ job.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^job$ job.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^job-([0-9]+)$ job.php?mod=view&post_id=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^job-list$ job.php?mod=list&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^job-memberlist$ job.php?mod=memberlist&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^job-space-([0-9]+)$ job.php?mod=space&op=view&uid=$1&%1 </IfModule>(2)服务器系统及 PHP:WINNT / PHP v5.X.X 服务器软件:Microsoft-IIS/6.0
httpd.conf规则设置:
RegistrationName=Longshui Chen RegistrationCode=7Z3NU-7MAP5-JZDPH-PR9GK [ISAPI_Rewrite] CacheClockRate 3600 RepeatLimit 32 #自定义404错误页(/page404.html是错误提示用的网页路径,请自行修改) ErrorDocument 404 /page404.html #301转向(301重定向,301跳转)设置 RewriteCond %{HTTP_HOST} ^caogen8.co$ [NC,OR] RewriteCond %{HTTP_HOST} ^caogen8.discuz.cc$ RewriteRule ^(.*)$ http://bbs.zhanzhangwo.com/$1 [R=301,L] #discuz x3.1 RewriteBase / #门户专题页伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^topic-(.+)\.html$ portal.php?mod=topic&topic=$1&%1 #门户文章页伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^article-([0-9]+)-([0-9]+)\.html$ portal.php?mod=view&aid=$1&page=$2&%1 #论坛主题列表页伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^forum-(\w+)-([0-9]+)\.html$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1 #论坛主题内容页伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ forum.php?mod=viewthread&tid=$1&extra=page\%3D$3&page=$2&%1 #主题分类与分类信息伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^(.*)type-(\w+)-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/forum\.php\?mod=forumdisplay&fid=$2&typeid=$3&typeid=$3&filter=typeid&page=$4 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^(.*)sort-(\w+)-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/forum\.php\?mod=forumdisplay&fid=$2&sortid=$3&sortid=$3&filter=sortid&page=$4 #群组主题列表页伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^group-([0-9]+)-([0-9]+)\.html$ forum.php?mod=group&fid=$1&page=$2&%1 #用户个人主页伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^space-(username|uid)-(.+)\.html$ home.php?mod=space&$1=$2&%1 [NU] #用户日志内容页伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^blog-([0-9]+)-([0-9]+)\.html$ home.php?mod=space&uid=$1&do=blog&id=$2&%1 #论坛 Archiver 页伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^archiver/(fid|tid)-([0-9]+)\.html$ archiver/index.php?action=$1&value=$2&%1 #克米设计图展中心伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^(.*)pic-([0-9]+)\.html(\?(.*))*$ $1plugin\.php\?id=comiis_imgshow&tid=$2&$4 #插件伪静态 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^([a-z]+[a-z0-9_]*)-([a-z0-9_\-]+)\.html$ plugin.php?id=$1:$2&%1 #dmember 深蓝521交友中心 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou/$ jiaoyou.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou$ jiaoyou.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou-([0-9]+)$ jiaoyou.php?pid=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou-([0-9]+)-([a-z0-9_\-]+)$ jiaoyou.php?pid=$1&op=$2&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou-wall$ jiaoyou.php?mod=wall&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou-my$ jiaoyou.php?mod=my&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou-search-girl$ jiaoyou.php?mod=search&now=girl&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou-search-boy$ jiaoyou.php?mod=search&now=boy&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou-advanced$ jiaoyou.php?mod=advanced&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou-profile$ jiaoyou.php?mod=profile&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^jiaoyou-index$ jiaoyou.php?mod=index&%1 #space 深蓝品牌空间 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^space/$ space.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^space$ space.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^space-shop-([a-z0-9_\-]+)-([a-z0-9_\-]+)$ space.php?sid=$1&op=$2&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^space-shop-([a-z0-9_\-]+)$ space.php?sid=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^space-list$ space.php?mod=list&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^space-map$ space.php?mod=map&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^space-brand$ space.php?mod=brand&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^space-card$ space.php?mod=card&%1 #info 深蓝分类信息 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^info/$ info.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^info$ info.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^info-([0-9]+)$ info.php?mod=view&post_id=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^info-cat-([0-9]+)$ info.php?mod=list&subcat_id=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^info-select$ info.php?mod=select&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^info-select-cat-([0-9]+)$ info.php?mod=select&cat_id=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^info-area-([0-9]+)$ info.php?mod=index&area_id=$1&%1 #tuan 深蓝团购 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tuan/$ tuan.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tuan$ tuan.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tuan-goods-([a-z0-9_\-]+)$ tuan.php?mod=view&goods_id=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tuan-shop-list$ tuan.php?mod=shop&op=list&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tuan-shop-([0-9]+)$ tuan.php?mod=shop&op=view&sid=$1&%1 #tmall 深蓝商城 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tmall/$ tmall.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tmall$ tmall.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tmall-goods-([a-z0-9_\-]+)$ tmall.php?mod=view&goods_id=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tmall-shop-list$ tmall.php?mod=shop&op=list&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tmall-shop-([0-9]+)$ tmall.php?mod=shop&op=view&sid=$1&%1 #food 深蓝外卖派送 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^food/$ food.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^food$ food.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^food-goods-([a-z0-9_\-]+)$ food.php?mod=view&goods_id=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^food-shop-list$ food.php?mod=shop&op=list&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^food-shop-([0-9]+)$ food.php?mod=shop&op=view&sid=$1&%1 #biyouhui 深蓝优惠券 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^biyouhui/$ biyouhui.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^biyouhui$ biyouhui.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^biyouhui-goods-([a-z0-9_\-]+)$ biyouhui.php?mod=view&goods_id=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^biyouhui-shop-list$ biyouhui.php?mod=shop&op=list&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^biyouhui-shop-([0-9]+)$ biyouhui.php?mod=shop&op=view&sid=$1&%1 #marry 深蓝婚恋红娘 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^marry/$ marry.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^marry$ marry.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^marry-index$ marry.php?mod=index%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^marry-([0-9]+)$ marry.php?mod=member&pid=$1&%1 RewriteRule ^marry-my$ marry.php?mod=my&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^marry-search-girl$ marry.php?mod=search&op=girl&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^marry-search-boy$ marry.php?mod=search&op=boy&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^marry-advanced$ marry.php?mod=advanced&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^marry-hongniang$ marry.php?mod=hongniang&%1 #sale 深蓝二手市场 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^sale/$ sale.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^sale$ sale.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^sale-([0-9]+)$ sale.php?mod=view&goods_id=$1&%1 #gongqiu 深蓝供求招商 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^gongqiu/$ gongqiu.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^gongqiu$ gongqiu.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^gongqiu-([0-9]+)$ gongqiu.php?mod=view&goods_id=$1&%1 #house 深蓝房产楼盘 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^house/$ house.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^house$ house.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^house-([0-9]+)$ house.php?mod=view&post_id=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^house-loupan-([0-9]+)-([a-z0-9_\-]+)$ house.php?mod=loupan&op=view&lid=$1&ac=$2&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^house-loupan$ house.php?mod=loupan&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^house-loupan-([0-9]+)$ house.php?mod=loupan&op=view&lid=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^house-list-([0-9]+)$ house.php?mod=list&profile_type_id=$1&%1 #job 深蓝求职招聘 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^job/$ job.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^job$ job.php%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^job-([0-9]+)$ job.php?mod=view&post_id=$1&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^job-list$ job.php?mod=list&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^job-memberlist$ job.php?mod=memberlist&%1 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^job-space-([0-9]+)$ job.php?mod=space&op=view&uid=$1&%1httpd.ini:
[ISAPI_Rewrite] # 3600 = 1 hour CacheClockRate 3600 RepeatLimit 32 # Protect httpd.ini and httpd.parse.errors files # from accessing through HTTP RewriteRule ^(.*)/topic-(.+)\.html(\?(.*))*$ $1/portal\.php\?mod=topic&topic=$2&$4 RewriteRule ^(.*)/article-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/portal\.php\?mod=view&aid=$2&page=$3&$5 RewriteRule ^(.*)/forum-(\w+)-([0-9]+)\.html(\?(.*))*$ $1/forum\.php\?mod=forumdisplay&fid=$2&page=$3&$5 RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/forum\.php\?mod=viewthread&tid=$2&extra=page\%3D$4&page=$3&$6 RewriteRule ^(.*)/group-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/forum\.php\?mod=group&fid=$2&page=$3&$5 RewriteRule ^(.*)/space-(username|uid)-(.+)\.html(\?(.*))*$ $1/home\.php\?mod=space&$2=$3&$5 RewriteRule ^(.*)/blog-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/home\.php\?mod=space&uid=$2&do=blog&id=$3&$5 RewriteRule ^(.*)/(fid|tid)-([0-9]+)\.html(\?(.*))*$ $1/index\.php\?action=$2&value=$3&$5 RewriteRule ^(.*)/([a-z]+[a-z0-9_]*)-([a-z0-9_\-]+)\.html(\?(.*))*$ $1/plugin\.php\?id=$2:$3&$5
伪静态规则下载地址 :
|
下载地址(点击数字即可下载)→:7668
[backcolor=magenta]相关阅读:[/backcolor]
Discuz X3.3 X3.2 linux使用AMH面板Apache环境的伪静态规则设置方法
http://bbs.zhanzhangwo.com/t-22913-1-1.html
(出处: 站长窝)
收藏的用户(0)
X
正在加载信息~
评论
发新帖
主题数 8 |
帖子数 3 |
精华数 0 |
注册排名 1 |
作者最近主题
相关贴子
- it618积分商城,无故被删除
- 乌云曝Discuz!持久性XSS漏洞 官方已确认
- 微赞微擎直播功能需要配置的环境要求redis以及swoole安装教程
- 求 多彩名片 2.5.0
- 【禾今】微信助理 8.0 DZ学习研究交流
- 请帮忙看看s!微信登录3.11授权跳转出现错误
- 附件打折和附件伪装问题
- 站长X系列母婴 精华版DZ学习研究交流
- 会员排行榜 V3.0 官方更新了
- 如果您之前使用了其他手机插件,使用克米短信插件提供用户数据转移服务工具
- 请求通过网站认证
- 万能投票 v5.37
- 一键采集贴吧内容 正式版 5.1 DZ学习研究交流
- MMWA交友中心 1.3 带手机版1.1--------下载地址
- 1002 刷单插件 抢单区 只有显示一单
- SEO之死链优化 1.5.1 价值19.8元
- Deco风格 商业版(GBK)商业版(UTF)--------下载地址
- 花了200元买的dedecms企业源码,今天吐血给大家奉献了,想要的点进来!
- 我点 我的预约 访问无手机页面什么原因
- 方维o2o本地生活源码商业版仿黔城汇模板安装搭建说明