时间:12-06-08 栏目:建站指导 作者:炫酷网站设计建设 评论:0 点击: 2,494 次
保存以下的伪静态规则代码为httpd.ini文件,再直接上传到FTP空间web文件夹根目录下:
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)-htm-(.*)$ $1\.php\?$2
RewriteRule ^(.*)/show-([0-9]+)([\-])?([0-9]+)?\.html$ $1/show\.php\?itemid=$2&page=$4
RewriteRule ^(.*)/list-([0-9]+)([\-])?([0-9]+)?\.html$ $1/list\.php\?catid=$2&page=$4
RewriteRule ^(.*)/show/([0-9]+)/([0-9]+)?([/])?$ $1/show\.php\?itemid=$2&page=$3
RewriteRule ^(.*)/list/([0-9]+)/([0-9]+)?([/])?$ $1/list\.php\?catid=$2&page=$3
RewriteRule ^(.*)/([a-z0-9]+)\.co/(.*)$ $1/company/index\.php\?homepage=$2&rewrite=$3
RewriteRule ^(.*)/htm/(.*)$ $1/index\.php\?&rewrite=$2
声明: 本文由( 炫酷网站设计建设 )原创编译,转载请保留链接: destoon伪静态规则httpd.ini文件