本文结合实例阐述了imperial CMS7.0IIS伪静态的设置方法。分享给大家,供大家参考。具体实现方法如下:
Imperial CMS7.0IIS伪静态教程步骤:
1.进入后台后,-系统-系统设置-伪静态参数设置-点击默认。
2.在网站的根目录(web文件夹)下创建一个文件,文件名和后缀格式为httpd.ini
3.在txt/ Notepad模式下打开httpd.ini文件,将以下内容复制到文件中:
建议学习帝国cms课程。
代码如下:
[ISAPI_Rewrite]
# 3600 = 1小时
高速时钟速率3600
重写引擎开启
重复限制32
#帝国#
#信息内容页面:showinfo-[!–classid–]-[!–id–]-[!–page–】。超文本标记语言
重写者^(.*)/showinfo-(。+?)-(.+?)-(.+?)\\.html$ $1/e/action/ShowInfo\\。php\\?
classid = $ 2ampid = $ 3amp页面=$4
#信息列表:listinfo-[!–classid–]-[!–page–】。超文本标记语言
重写者^(.*)/listinfo-(。+?)-(.+?)\\.html $ $ 1/e/action/ListInfo/index \\php\\?
classid = $ 2amp页面=$3
#标题分类列表页面:infotype-[!–ttid–]-[!–page–】。超文本标记语言
重写者^(.*)/infotype-(。+?)-(.+?)\\.html $ $ 1/e/action/InfoType/index \\php\\?
ttid = $ 2amp页面=$3
#TAGS信息列表页面:tags-[!–标记名–]-[!–page–】。超文本标记语言
重写者^(.*)/tags-(。+?)-(.+?)\\.html$ $1/e/tags/index\\。php\\?tagname = $ 2ampPage=$3登录后复制
