苹果CMS伪静态规矩阐明
最新V10版别伪静态规矩,包括.htaccesshttpd.inimaccms.confweb.config,各种环境伪静态文件。
伪静态规矩对照表
IIS阿帕奇规矩++前面的字母是能够修正的,能够变化不断 视频地图页规矩:map 视频分类页规矩:type/{id}-{pg} 视频内容页规矩:detail/{id} 视频播放页规矩:play/{id}-{src}-{num} 视频下载页规矩:down/{id}-{src}-{num} vod-list-id-{id}-pg-{pg}-order-{order}-by-{by}-class-{class}-year-{year}-letter-{letter}-area-{area}-lang-{lang} 视频专题主页规矩:topicindex 视频专题列表页规矩:topiclist/{id}-{pg} 视频查找页规矩:search-pg-{pg}-wd-{wd} 文章主页规矩:artindex 文章分类页规矩:artlist/{id}-{pg} 文章内容页规矩:art/{id}-{pg} 文章地图页规矩:artmap 留言本规矩:gbook/{pg} 自定义页规矩:label/{label} rssrss/{method}/{pg}
httpd.ini
[ISAPI_Rewrite] #3600=1hour CacheClockRate3600 RepeatLimit32 RewriteRule^type/(.*)-(.*)$/index.php?m=vod-type-id-$1-pg-$2[I] RewriteRule^detail/(.*)$/index.php?m=vod-detail-id-$1[I] RewriteRule^play/(.*)-(.*)-(.*)$/index.php?m=vod-play-id-$1-src-$2-num-$3[I] RewriteRule^down/(.*)-(.*)-(.*)$/index.php?m=vod-down-id-$1-src-$2-num-$3[I] RewriteRule^topiclist/(.*)-(.*)$/index.php?m=vod-topic-id-$1-pg-$2[I] RewriteRule^topicindex(.*)$/index.php?m=vod-topicindex-pg-$1[I] RewriteRule^artindex(.*)$/index.php?m=art-index-pg-$1[I] RewriteRule^artlist/(.*)-(./*)$/index.php?m=art-type-id-$1-pg-$2[I] RewriteRule^art/(.*)-(.*)$index.php?m=art-detail-id-$1-pg-$2[I] RewriteRule^label/(.*)$/index.php?m=label-$1[I] RewriteRule^map(.*)$/index.php?m=vod-map$1[I] RewriteRule^artmap(.*)$/index.php?m=art-map$1[I] RewriteRule^gbook/(.*)$/index.php?m=gbook-show-pg-$1[I] RewriteRule^search-pg-(.*)-wd-(.*)$/index.php?m=vod-search-pg-$1-wd-$2[I] RewriteRule^rss/(.*)/(.*)$/index.php?m=map-$1[I] RewriteRule^vod-list-id-(.*)-pg-(.*)-order-(.*)-by-(.*)-class-(.*)-year-(.*)-letter-(.*)-area-(.*)-lang-(.*)$/index.php?m=vod-list-id-$1-pg-$2-wd-$3-area-$4-lang-$5-year-$6-letter-$7-order-$8-by-$9[I]
.htaccess
#将RewriteEngine形式翻开 RewriteEngineOn #修正以下语句中的/maccms为你的网站目录地址,假如程序放在根目录中,请将/maccms修正为/ RewriteBase/ #Rewrite体系规矩请勿修正 RewriteRule^type/(.*)-(.*)$index.php?m=vod-type-id-$1-pg-$2 RewriteRule^detail/(.*)$index.php?m=vod-detail-id-$1 RewriteRule^play/(.*)-(.*)-(.*)$index.php?m=vod-play-id-$1-src-$2-num-$3 RewriteRule^down/(.*)-(.*)-(.*)$index.php?m=vod-down-id-$1-src-$2-num-$3 RewriteRule^topiclist/(.*)-(.*)$index.php?m=vod-topic-id-$1-pg-$2 RewriteRule^topicindex(.*)$index.php?m=vod-topicindex-pg-$1 RewriteRule^artindex(.*)$index.php?m=art-index-pg-$1 RewriteRule^artlist/(.*)-(.*)$index.php?m=art-type-id-$1-pg-$2 RewriteRule^art/(.*)-(.*)$index.php?m=art-detail-id-$1-pg-$2 RewriteRule^label/(.*)$index.php?m=label-$1 RewriteRule^map(.*)$index.php?m=vod-map$1 RewriteRule^artmap(.*)$index.php?m=art-map$1 RewriteRule^gbook/(.*)$index.php?m=gbook-show-pg-$1 RewriteRule^search-pg-(.*)-wd-(.*)$index.php?m=vod-search-pg-$1-wd-$2 RewriteRule^rss/(.*)/(.*)$index.php?m=map-$1 RewriteRule^vod-list-id-(.*)-pg-(.*)-order-(.*)-by-(.*)-class-(.*)-year-(.*)-letter-(.*)-area-(.*)-lang-(.*)$index.php?m=vod-list-id-$1-pg-$2-wd-$3-area-$4-lang-$5-year-$6-letter-$7-order-$8-by-$9
maccms.conf
#装置目录1,根目录/2,子目录/maccms8_syb/ rewrite^/type/(.*)-(.*)$index.php?m=vod-type-id-$1-pg-$2break; rewrite^/detail/(.*)$index.php?m=vod-detail-id-$1break; rewrite^/play/(.*)-(.*)-(.*)$index.php?m=vod-play-id-$1-src-$2-num-$3break; rewrite^/down/(.*)-(.*)-(.*)$index.php?m=vod-down-id-$1-src-$2-num-$3break; rewrite^/topiclist/(.*)-(.*)$index.php?m=vod-topic-id-$1-pg-$2break; rewrite^/topicindex(.*)$index.php?m=vod-topicindex-pg-$1break; rewrite^/artindex(.*)$index.php?m=art-index-pg-$1break; rewrite^/artlist/(.*)-(.*)$index.php?m=art-type-id-$1-pg-$2break; rewrite^/art/(.*)-(.*)$index.php?m=art-detail-id-$1-pg-$2break; rewrite^/label/(.*)$index.php?m=label-$1break; rewrite^/map(.*)$index.php?m=vod-map$1break; rewrite^/artmap(.*)$index.php?m=art-map$1break; rewrite^/gbook/(.*)$index.php?m=gbook-show-pg-$1break; rewrite^/search-pg-(.*)-wd-(.*)$index.php?m=vod-search-pg-$1-wd-$2break; rewrite^/rss/(.*)/(.*)$index.php?m=map-$1break; rewrite^/vod-list-id-(.*)-pg-(.*)-order-(.*)-by-(.*)-class-(.*)-year-(.*)-letter-(.*)-area-(.*)-lang-(.*)$index.php?m=vod-list-id-$1-pg-$2-wd-$3-area-$4-lang-$5-year-$6-letter-$7-order-$8-by-$9break;
web.config
<?xmlversion="1.0"encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rulename="ImportedRulevodtype"><!--视频分类页--> <matchurl="^type/(.*)-(.*)$"/> <actiontype="Rewrite"url="index.php?m=vod-type-id-{R:1}-pg-{R:2}"appendQueryString="false"/> </rule> <rulename="ImportedRulevoddetail"><!--视频内容页--> <matchurl="^detail/(.*)$"/> <actiontype="Rewrite"url="index.php?m=vod-detail-id-{R:1}"appendQueryString="false"/> </rule> <rulename="ImportedRulevodplay"><!--视频播放页--> <matchurl="^play/(.*)-(.*)-(.*)$"/> <actiontype="Rewrite"url="index.php?m=vod-play-id-{R:1}-src-{R:2}-num-{R:3}"appendQueryString="false"/> </rule> <rulename="ImportedRulevoddown"><!--视频下载页--> <matchurl="^down/(.*)-(.*)-(.*)$"/> <actiontype="Rewrite"url="index.php?m=vod-down-id-{R:1}-src-{R:2}-num-{R:3}"appendQueryString="false"/> </rule> <rulename="ImportedRulevodsearch"><!--视频查找页--> <matchurl="^search-pg-(.*)-wd-(.*)$"/> <actiontype="Rewrite"url="index.php?m=vod-search-pg-{R:1}-wd-{R:2}"appendQueryString="false"/> </rule> <rulename="ImportedRulevodmap"><!--视频地图--> <matchurl="^map(.*)$"/> <actiontype="Rewrite"url="index.php?m=vod-map{R:1}"appendQueryString="false"/> </rule> <rulename="ImportedRuleshaixuan"><!--挑选页面--> <matchurl="^vod-list-id-(.*)-pg-(.*)-order-(.*)-by-(.*)-class-(.*)-year-(.*)-letter-(.*)-area-(.*)-lang-(.*)$"/> <actiontype="Rewrite"url="index.php?m=vod-list-id-{R:1}-pg-{R:2}-wd-{R:3}-area-{R:4}-lang-{R:5}-year-{R:6}-letter-{R:7}-order-{R:8}-by-{R:9}"appendQueryString="false"/> </rule> <rulename="ImportedRuleztlist"><!--视频专题列表页--> <matchurl="^topiclist/(.*)-(.*)$"/> <actiontype="Rewrite"url="index.php?m=vod-topic-id-{R:1}-pg-{R:2}"appendQueryString="false"/> </rule> <rulename="ImportedRuletopic"><!--视频专题主页--> <matchurl="^topicindex(.*)$"/> <actiontype="Rewrite"url="index.php?m=vod-topicindex-pg-{R:1}"appendQueryString="false"/> </rule> <rulename="ImportedRuleartindex"><!--文章主页--> <matchurl="^artindex(.*)$"/> <actiontype="Rewrite"url="index.php?m=art-index-pg-{R:1}"appendQueryString="false"/> </rule> <rulename="ImportedRulearttype"><!--文章分类页--> <matchurl="^artlist/(.*)-(.*)$"/> <actiontype="Rewrite"url="index.php?m=art-type-id-{R:1}-pg-{R:2}"appendQueryString="false"/> </rule> <rulename="ImportedRuleartdetail"><!--文章内容页--> <matchurl="^art/(.*)-(.*)$"/> <actiontype="Rewrite"url="index.php?m=art-detail-id-{R:1}-pg-{R:2}"appendQueryString="false"/> </rule> <rulename="ImportedRulegbook"><!--留言本--> <matchurl="^gbook/(.*)$"/> <actiontype="Rewrite"url="index.php?m=gbook-show-pg-{R:1}"appendQueryString="false"/> </rule> <rulename="ImportedRulelabel"><!--自定义页--> <matchurl="^label/(.*)$"/> <actiontype="Rewrite"url="index.php?m=label-{R:1}"appendQueryString="false"/> </rule> <rulename="ImportedRuleartmap"><!--文章地图页--> <matchurl="^artmap(.*)$"/> <actiontype="Rewrite"url="index.php?m=art-map{R:1}"appendQueryString="false"/> </rule> <rulename="ImportedRulerss"><!--rss地图页--> <matchurl="^rss/(.*)/(.*)$"/> <actiontype="Rewrite"url="index.php?m=map{R:1}"appendQueryString="false"/> </rule> </rules> </rewrite> </system.webServer> </configuration>
声明:有的资源均来自网络转载,版权归原作者所有,如有侵犯到您的权益 请联系邮箱:123456@qq.com 我们将配合处理!
原文地址:苹果CMSV10最新伪静态规则发布于2022-05-09 07:43:18