热门搜索:新网 域名续费 国内域名 cn域名 百度算法 seo公司 可麦口 加盟 伪静态 seo术语 春节放假通知 优异网络 案例 万网 域名续费 国内域名 cn域名 实名制 备案
文章简介:下面就需要配置iis为shopex4.7加载组件了,方法类似shopex4.8: 打开iis,右键你的站点属性--ISAPI 筛选器--添加--筛选器名称是Rewrite --可执行文件就是Rewrite.dll的路径,比如E:\home\LocalUser\rewrite\Rewrite.dll 最后重启iis rewrite.dll以及规则可以放入任何一个目录,但记得要给该目录一个users的读权限。
如何设置伪静态
作者:佚名 日期:2010年02月06日 来源:本站原创  【字体:
近陆续有很多站长过来询问伪静态的问题,现就分享下目前网上流行的各种程序在iis下的规则和设置方法:

shopex4.8
下载3.0的免费Rewrite组件 http://www.helicontech.com/download/isapi_rewrite/ISAPI_Rewrite3_0056_Lite.msi
按照默认路径安装后,打开C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
加入以下规则:
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.56
RewriteBase /
RewriteCond %{REQUEST_FILENAME} \.(html|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|cgi|shtml|shtm|phtm|xml)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L]

[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)/archiver/((fid|tid)-[0-9]+\.html)\?*(.*)$ $1/archiver/index\.php\?$2&$4
RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/forumdisplay\.php\?fid=$2&page=$3&$4
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3&$4
RewriteRule ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$ $1/space\.php\?$2=$3&$4
RewriteRule ^(.*)/tag-(.+)\.html\?*(.*)$ $1/tag\.php\?name=$2&$3

文章关键词:伪静态
上一篇:没有了                     下一篇:cms大比拼

站点公告