人人人妻人人人妻人人人,99精品国产综合久久久久五月天 ,欧美白人最猛性XXXXX,日韩AV无码免费播放

News新聞

業(yè)界新聞動態(tài)、技術前沿
Who are we?

您的位置:首頁      運營推廣      URL優(yōu)化之iis6.0如何開啟偽靜態(tài)

URL優(yōu)化之iis6.0如何開啟偽靜態(tài)

標簽: 發(fā)布日期:2016-11-10 21:49:00 2521

1、首先請進入以下網(wǎng)址 http://www.helicontech.com/download/,下載免費版的ISAPI_Rewrite組件:ISAPI_Rewrite Lite ( freeware )。如果您僅僅是測試用途使用這個就足夠了,如果您是商業(yè)應用建議您購買完整版的 ISAPI_Rewrite Full。

isapi_rwf_x86_0065原版安裝.msi

2、點擊下載到本地的文件 isapi_rwl_x86_0064.msi (該文件名和您下載的版本有關)(注意下載的時候請看清你的系統(tǒng)的環(huán)境下載,別下載錯了啊,親.)
進行安裝,安裝成功之后進入安裝目錄(默認在C:/Program Files/Helicon/ISAPI_Rewrite)找到httpd.ini文件,點擊右鍵將文件只讀屬性去掉。然后進入: 開始菜單->程序->Helicon->ISAPI_Rewrite->httpd.ini,點擊打開 httpd.ini 文件。
(注:也可以不用下載安裝,本站提供此文件的下載,下載請移步《偽靜態(tài)重寫模塊rewrite.dll及httpd.conf下載》)
3、復制下面的內容到httpd.ini文件
4、在IIS的Isapi上添加這個篩選器, 篩選器名稱Rewrite,可執(zhí)行文件選擇 C:\Program Files\Helicon\ISAPI_Rewrite\ISAPI_Rewrite.dll

添加ISAPI篩選器信息

URL優(yōu)化之iis6.0如何開啟偽靜態(tài)

上面的篩選器名稱可以隨便輸入,自己認識即可,然后可執(zhí)行文件,找到你對應的rewrite.dll文件,然后確定即可;

IIS7的童鞋可以移步《URL優(yōu)化之IIS7如何開啟偽靜態(tài) 》 《=====點我啊點我??!

下面給一個rewrite規(guī)則,僅供參考,注:此規(guī)則為ecshop偽靜態(tài)規(guī)則

[ISAPI_Rewrite]
# 為了確保重寫規(guī)則不影響服務器上的其他站點
# 請將下面的語句前的#號去掉,并將(?:www\.)?ledaokj\.com改為商店所在域名
#RewriteCond %{HTTP:Host} (?:www\.)?ledaokj\.com
RewriteRule ^(.*)/index.html$ $1/index\.php [I]
RewriteRule ^(.*)/category$ $1/index\.php [I]
RewriteRule ^(.*)/feed-c([0-9]+).xml$ $1/feed\.php\?cat=$2 [I]
RewriteRule ^(.*)/feed-b([0-9]+).xml$ $1/feed\.php\?brand=$2 [I]
RewriteRule ^(.*)/feed.xml$ $1/feed\.php [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6&page=$7&sort=$8&order=$9 [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)\.html$ $1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6 [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3&page=$4&sort=$5&order=$6 [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3&page=$4 [I]
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3 [I]
RewriteRule ^(.*)/category-([0-9]+)(.*)\.html$ $1/category\.php\?id=$2 [I]
RewriteRule ^(.*)/goods-([0-9]+)(.*)\.html$ $1/goods\.php\?id=$2 [I]
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/article_cat\.php\?id=$2&page=$3&sort=$4&order=$5 [I]
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)(.*)\.html$ $1/article_cat\.php\?id=$2&page=$3 [I]
RewriteRule ^(.*)/article_cat-([0-9]+)(.*)\.html$ $1/article_cat\.php\?id=$2 [I]
RewriteRule ^(.*)/article-([0-9]+)(.*)\.html$ $1/article\.php\?id=$2 [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)\.html $1/brand\.php\?id=$2&cat=$3&page=$4&sort=$5&order=$6 [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html $1/brand\.php\?id=$2&cat=$3&page=$4 [I]
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)(.*)\.html $1/brand\.php\?id=$2&cat=$3 [I]
RewriteRule ^(.*)/brand-([0-9]+)(.*)\.html $1/brand\.php\?id=$2 [I]
RewriteRule ^(.*)/tag-(.*)\.html $1/search\.php\?keywords=$2 [I]
RewriteRule ^(.*)/snatch-([0-9]+)\.html$ $1/snatch\.php\?id=$2 [I]
RewriteRule ^(.*)/group_buy-([0-9]+)\.html$ $1/group_buy\.php\?act=view&id=$2 [I]
RewriteRule ^(.*)/auction-([0-9]+)\.html$ $1/auction\.php\?act=view&id=$2 [I]