#忘記密碼 RewriteRule /lostpass.html /index.php\?gOo=forget.dwt #商品詳細(xì)頁(yè) RewriteRule /product/([0-9]+).html /index.php\?gOo=goods_details.dwt&goodsid=$1 RewriteRule /product_([0-9]+).html /index.php\?gOo=goods_details.dwt&goodsid=$1 RewriteRule /([0-9]+)_([^.]*).html /index.php\?gOo=goods_details.dwt&goodsid=$1 #新聞詳細(xì)頁(yè) RewriteRule /article_([0-9]+).html /index.php\?gOo=help_details.dwt&articleid=$1 RewriteRule /message_([0-9]+).html /index.php\?gOo=article_details.dwt&articleid=$1 #分類詳細(xì)列表 RewriteRule /catalog_([0-9]+).html /index.php\?gOo=goods_search_list.dwt&gcat=$1 RewriteRule /catalog_([0-9]+)_([0-9]+).html /index.php\?gOo=goods_search_list.dwt&gcat=$1&p=$2 #收藏商品 RewriteRule /addtofavorites_([0-9]+).html /index.php\?gOo=addmembergoods.do&goodsid=$1 #首頁(yè)上的最新,推薦,特價(jià)商品 RewriteRule /list_([a-zA-Z]+).html /index.php\?gOo=goods_search_list.dwt>ype=$1 RewriteRule /list_([a-zA-Z]+)_([0-9]+).html /index.php\?gOo=goods_search_list.dwt>ype=$1&p=$2
下面就需要配置iis為shopex4.7加載組件了,方法類似shopex4.8: 打開(kāi)iis,右鍵你的站點(diǎn)屬性--ISAPI 篩選器--添加--篩選器名稱是Rewrite --可執(zhí)行文件就是Rewrite.dll的路徑,比如E:\home\LocalUser\rewrite\Rewrite.dll 最后重啟iis rewrite.dll以及規(guī)則可以放入任何一個(gè)目錄,但記得要給該目錄一個(gè)users的讀權(quán)限。
以上就是shopex4.8和shopex4.7的規(guī)則以及配置方法。如果iis內(nèi)有其它程序比如discuz、phpwind之類的,就可能會(huì)相互有影響,那么就打開(kāi)iis, 右鍵網(wǎng)站屬性--ISAPI 篩選器--刪除isapi_rewrite這項(xiàng),因?yàn)檫@里是對(duì)整個(gè)iis進(jìn)行設(shè)置的,會(huì)造成其它程序的沖突。 注意isapi_rewrite3.0和isapi_rewrite2.0不能混用。
因?yàn)槠鶈?wèn)題,現(xiàn)在再把shopex4.7/4.8、discuz6/NT2.5、ecshop、dvbbs、phpwind、wordpress、Discuz6+ecshop等偽靜態(tài)規(guī)則和組件打包進(jìn)行下載。
以上設(shè)置都是針對(duì)租用了獨(dú)立服務(wù)器和vps的,在使用虛擬主機(jī)的就不用看了,因?yàn)樽鳛榉⻊?wù)商是應(yīng)該做好了的,但目前還沒(méi)有出現(xiàn)對(duì)所有流行程序都支持的吧。
本新聞共 2頁(yè),當(dāng)前在第 2頁(yè) 1 2 |