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 Tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Atom editor mac version download

Atom editor mac version download

The most popular open source editor