RewriteURL 规则

以下规则为系统按设置自动生成
您也可以自行修改以满足需求

Apache Web Server(独立主机用户)

复制规则粘贴到 Apache配置文件conf/httpd.conf 最后即可
<IfModule mod_rewrite.c>
RewriteEngine On
{apache}</IfModule>

Apache Web Server(虚拟主机用户)

复制规则粘贴到记事本,保存为.htaccess文件,存放在在根目录即可
# 将 RewriteEngine 模式打开
RewriteEngine On

# 修改以下语句中的 / 改为您的系统目录地址,如果程序放在根目录中则无需修改
RewriteBase {webpath}

# Rewrite 系统规则请勿修改
{apache2}

IIS Web Server(独立主机用户)

复制规则粘贴到httpd.ini即可
# 将 RewriteEngine 模式打开
[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
{iis}

IIS7 Web Server(独立主机用户)

复制规则粘贴到记事本,保存为web.config文件,存放在在根目录即可
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<!--伪静态开始-->
<rewrite>
<rules>
{iis7}</rules>
</rewrite>
<!--伪静态结束-->
<directoryBrowse enabled="true" showFlags="Date, Time, Size, Extension, LongDate" />
</system.webServer>
</configuration>

Nginx Web Server

复制规则粘贴到nginx.conf或虚拟主机段的根目录
{nginx}if (!-e $request_filename) {
	return 404;
}