search
HomeCMS TutorialEmpire CMSLet's talk about the pseudo-static setting method of Empire CMS7.0IIS

Let's talk about the pseudo-static setting method of Empire CMS7.0IIS

本文实例讲述了帝国CMS7.0IIS伪静态设置方法。分享给大家供大家参考。具体实现方法如下:

帝国CMS7.0IIS伪静态教程步骤:

1、进后后台 - 系统 - 系统设置 - 伪静态参数设置 - 都点击默认

2、在网站根目录(web文件夹)下建一个文件,文件名及后缀格式为:httpd.ini

3、用txt/记事本模式打开httpd.ini文件,将下面的内容复制到该文件内:

推荐学习《帝国cms教程

代码如下:

[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RewriteEngine On
RepeatLimit 32
#帝国#
#信息内容页:showinfo-[!--classid--]-[!--id--]-[!--page--].html
RewriteRule ^(.*)/showinfo-(.+?)-(.+?)-(.+?)\.html$ $1/e/action/ShowInfo\.php\?
classid=$2&id=$3&page=$4
#信息列表:listinfo-[!--classid--]-[!--page--].html
RewriteRule ^(.*)/listinfo-(.+?)-(.+?)\.html$ $1/e/action/ListInfo/index\.php\?
classid=$2&page=$3
#标题分类列表页:infotype-[!--ttid--]-[!--page--].html
RewriteRule ^(.*)/infotype-(.+?)-(.+?)\.html$ $1/e/action/InfoType/index\.php\?
ttid=$2&page=$3
#TAGS信息列表页:tags-[!--tagname--]-[!--page--].html
RewriteRule ^(.*)/tags-(.+?)-(.+?)\.html$ $1/e/tags/index\.php\?tagname=$2&page=$3

最后进入win2003服务器 配置站点,让站点支持Rewrite即可.

不同服务器有不同的规则,下面给大家说明下.

帝国CMS在Linux主机下实现伪静态方法:

确认虚拟主机是否支持rewrite伪静态.htaccess文件,添加.htaccess 文件,把htaccess 文件放在网站根目录.

这里只详细介绍了帝国CMS在Windows主机下实现伪静态方法.

希望本文所述对大家的帝国CMS建站有所帮助。

The above is the detailed content of Let's talk about the pseudo-static setting method of Empire CMS7.0IIS. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:www.word666.com. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Atom editor mac version download

Atom editor mac version download

The most popular open source editor