苹果CMS 8x Rewrite伪静态规则

  • 苹果cmsv8教程
  • 来源:烨模网
  • 编辑:烨模网
  • 时间:02/19
  • 阅读:37.32k

1,确认空间支持rewrite组件。
2,按照 伪静态rewrite 目录下的说明文档操作。
3,后台设置浏览模式为 rewrite伪静态 。

 


 

 

RegistrationName=Longshui Chen
RegistrationCode=7Z3NU-7MAP5-JZDPH-PR9GK
[ISAPI_Rewrite]
CacheClockRate 3600
RepeatLimit 32


RewriteRule ^/vod-(.*)$ /index.php?m=vod-$1 [I]
RewriteRule ^/art-(.*)$ /index.php?m=art-$1 [I]
RewriteRule ^/gbook-(.*)$ /index.php?m=gbook-$1 [I]
RewriteRule ^/label-(.*)$ /index.php?m=label-$1 [I]
RewriteRule ^/map-(.*)$ /index.php?m=map-$1 [I]

 



注意,以下规则都是在系统默认rewrite配置路径下测试的。




如果使用rewrite伪静态模式,请注意把配置文件复制到网站根目录。
如果静态文件后缀配置的不是html,则请把rewrite配置文件中的.html替换为对应的后缀如.html

iis6.x   下使用 httpd.ini



iis7.x   下使用web.config

apache下使用 .htaccess  
(编辑.htaccess文件,把 RewriteBase /maccms8 修改为你苹果CMS所在目录)

nginx 下使用 maccms.conf
(使用vps或者服务器的可以在你的主机的conf里 用 include xxxxx.conf   也就是包含下伪静态规则文件
如果用的是虚拟主机版的nginx 就找你的主机商给你添加规则就行,你把规则发给他。)

==========================苹果CMS系统接收参数介绍====================================
视频地图页 index.php?m=vod-map.html
视频栏目页 index.php?m=vod-type-id-*-pg-*.html
视频内容页 index.php?m=vod-detail-id-*.html
视频播放页 index.php?m=vod-play-id-*-src-*-num-*.html
视频搜索页 index.php?m=vod-search-wd-*-pg-*.html
视频专题首页 index.php?m=vod-topicindex-pg-*.html
视频专题列表 index.php?m=vod-topic-id-*-pg-*.html

文章地图页 index.php?m=art-map.html
文章栏目页 index.php?m=art-type-id-*-pg-*.html
文章内容页 index.php?m=art-detail-id-*-pg-*.html
文章搜索页 index.php?m=art-search-wd-*-pg-*.html
文章专题首页 index.php?m=art-topicindex-pg-*.html
文章专题列表 index.php?m=art-topic-id-*-pg-*.html


视频筛选页 index.php?m=vod-list-id-*-pg-*-wd-*-area-*-lang-*-year-*-letter-*-order-*-by-*.html
文章筛选页 index.php?m=art-list-id-*-pg-*-wd-*-letter-*-order-*-by-*.html

视频tag页 index.php?m=vod-search-tag-*-pg-*.html
新闻tag页 index.php?m=art-search-tag-*-pg-*.html

留言本 index.php?m=gbook-show.html
地图页 index.php?m=map-*-pg-*.html
自定义页面 index.php?m=label-*-pg-*.html


推荐教程
  • 常用网页自动跳转实现代码 网页自动跳转代码html
  • 常用网页自动跳转实现代码 网页自动跳转代码html
  • 很多站长都会用网页自动跳转来实现一些功能,本文整理五个网页自动跳转的方法来分享给大家,他们都能实现在指定时间后自动跳转到所需要的网页或链接的功能。第一种:支持定时的html网页跳转优点:简单缺点:在StrutsTiles框架中无法使用
  • 网站教程
  • 编辑:烨模网
  • 时间:02/19
  • 阅读:2.931k
  • 苹果MACCMSv10源码常用sql语句
  • 苹果MACCMSv10源码常用sql语句
  • 常用sql语句JavaScript   1.查询数据   SELECT*FROM{pre}vod  查询所有数据   SELECT*FROM{pre}vodWHEREvod_id=1000  查询指定ID数据   
  • 苹果cmsv10教程
  • 来源:烨模网
  • 编辑:烨模网
  • 时间:02/19
  • 阅读:5.401k
  • 苹果cmsv10解析播放的常见问题
  • 苹果cmsv10解析播放的常见问题
  • 苹果cms解析播放的问题,就这个问题而言我们详细的说几点。1,来到苹果系统后台:系统>>播放器参数配置>>红框内的解析地址是苹果官方默认的解析地址,这个是全局解析地址,可以更改成自己的解析接口。2,然后我们再切换到:视
  • 苹果cmsv10教程
  • 来源:烨模网
  • 编辑:烨模网
  • 时间:02/19
  • 阅读:5.672k
  • 苹果CMSv10宝塔全自动定时采集教程
  • 苹果CMSv10宝塔全自动定时采集教程
  • 小伙伴们在建立好自己的网站添加自定义资源库后,由于手动采集方式比较耗时间和精力更新也不够及时,是不是特别希望能有一个全自动定时采集方法来帮助网站增加视频资源解放自己的双手,那么现在就教大家如何用宝塔一步一步实现这个定时采
  • 苹果cmsv10教程
  • 来源:烨模网
  • 编辑:烨模网
  • 时间:02/19
  • 阅读:3.740k
  • 模板推荐
买家指南 | 隐私条款 | 免责声明 | 联系我们 | 网站地图
CopyRight © 2026 烨模网www.yemowang.com 版权所有 | 所有模板仅供学习交流,请勿用于违法或商业用途