PhpWind教程:PW論壇IIS下設(shè)置靜態(tài)目錄的教程_PhpWind教程
教程Tag:暫無Tag,歡迎添加,賺取U幣!
首先要http://www.helicontech.com/download-isapi_rewrite.htm,選擇ISAPI_Rewrite Lite for Windows NT4/2000/XP/2003
目前的最
一些習(xí)慣性的next就不多說了
選擇安裝的目錄,一般放在C盤(根據(jù)

安裝的時(shí)候會(huì)自動(dòng)加載到IIS服務(wù),可以看圖

打開IIS配置查看ISAPI選項(xiàng)的加載狀態(tài)

很好已經(jīng)加載上了,下一步就是寫規(guī)則了

安裝完后會(huì)自動(dòng)生成一個(gè)只讀屬性 的httpd.ini ,要改成可寫屬性,然后編寫規(guī)則
如圖

規(guī)則如下,或者直接下載附件~!~
[ISAPI_Rewrite]
# Defend your computer from some worm attacks
RewriteRule .*(?:global.asa|default.ida|root.exe|..).* . [F,I,O]
RewriteRule ^(.*)-htm-(.*)$ $1.php?$2
RewriteRule ^(.*)/simple/([a-z0-9_]+.html)$ $1/simple/index.php?$2
#Code By Josh @ PHPWind 2008-10-08 ?([a-zA-Z]+)
根據(jù)會(huì)員提供測(cè)反饋
如果是老版本的,請(qǐng)把RewriteRule ^(.*)-htm-(.*)$ $1.php?$2 這條規(guī)則改為
RewriteRule ^(.*)-htm-(.*)$ $1/.php?/$2即可,感謝cnz123
當(dāng)然也可以再加一些參數(shù)如檢查更新時(shí)間,限制條件等如
CacheClockRate 3600
RepeatLimit 32
再往下就是打開論壇后臺(tái),靜態(tài)目錄部署
把靜態(tài)目錄寫為
-htm-,就可以了·看圖片地址~!~

老版本如果不能實(shí)現(xiàn)偽靜態(tài),可以嘗試一下規(guī)則
RewriteRule ^(.*)-htm-(.*)$ $1\.php\?$2
RewriteRule ^(.*)simple/([t|f].+).html$ /simple/index.php?$2.html [NC]
然后重啟IIS或者apache.
附件 httpd.zip
目前的最
一些習(xí)慣性的next就不多說了
選擇安裝的目錄,一般放在C盤(根據(jù)

安裝的時(shí)候會(huì)自動(dòng)加載到IIS服務(wù),可以看圖

打開IIS配置查看ISAPI選項(xiàng)的加載狀態(tài)

很好已經(jīng)加載上了,下一步就是寫規(guī)則了

安裝完后會(huì)自動(dòng)生成一個(gè)只讀屬性 的httpd.ini ,要改成可寫屬性,然后編寫規(guī)則
如圖

規(guī)則如下,或者直接下載附件~!~
[ISAPI_Rewrite]
# Defend your computer from some worm attacks
RewriteRule .*(?:global.asa|default.ida|root.exe|..).* . [F,I,O]
RewriteRule ^(.*)-htm-(.*)$ $1.php?$2
RewriteRule ^(.*)/simple/([a-z0-9_]+.html)$ $1/simple/index.php?$2
#Code By Josh @ PHPWind 2008-10-08 ?([a-zA-Z]+)
根據(jù)會(huì)員提供測(cè)反饋
如果是老版本的,請(qǐng)把RewriteRule ^(.*)-htm-(.*)$ $1.php?$2 這條規(guī)則改為
RewriteRule ^(.*)-htm-(.*)$ $1/.php?/$2即可,感謝cnz123
當(dāng)然也可以再加一些參數(shù)如檢查更新時(shí)間,限制條件等如
CacheClockRate 3600
RepeatLimit 32
再往下就是打開論壇后臺(tái),靜態(tài)目錄部署
把靜態(tài)目錄寫為
-htm-,就可以了·看圖片地址~!~

老版本如果不能實(shí)現(xiàn)偽靜態(tài),可以嘗試一下規(guī)則
RewriteRule ^(.*)-htm-(.*)$ $1\.php\?$2
RewriteRule ^(.*)simple/([t|f].+).html$ /simple/index.php?$2.html [NC]
然后重啟IIS或者apache.
附件 httpd.zip
相關(guān)PhpWind教程:
- PhpWind教程:PHPWind forum V7.5 SP1 使用與修復(fù)說明
- PhpWind教程:PHPWind Forum V7.5 升級(jí)教程
- PHPWind7.3 升級(jí)7.3.2 圖文教程
- PhpWind教程:sitemap生成問題
- PhpWind教程:熱榜排行 for 75
- PHPwind 6.3.2升級(jí)至PHPwind 7.3.2 圖文教程
- PHPWind 7.0 升級(jí)至PHPwind 7.3.2 圖文教程
- PHPWind 7.0 升級(jí)到PHPwind v7.3 圖文教程
- PHPWind 6.3.2升級(jí)到 PHPwind v7.3 圖文教程
- PHPWind6.3.2升級(jí)PHPWind7.0說明教程
- PhpWind教程:PHPWind6.3(6.3rc、6.3) to PHPWind6.3.2升級(jí)教程
- PhpWind教程:PHPWind6.x(6.0rc、6.0) to PHPWind6.3.2升級(jí)教程
PhpWind教程教程Rss訂閱Cms教程搜索
PhpWind教程推薦
- PhpWind教程:Can't create/write to file 'C:\WINDOWS\TEMP\...MYSQL報(bào)錯(cuò)解決
- PhpWind教程:PHPWind 邀請(qǐng)碼購買
- PhpWind教程:如何發(fā)布我的作品(插件 amp;風(fēng)格)
- Phpwind教程:分頁算法優(yōu)化 for Phpwind7.5
- Discuz! 7.0 轉(zhuǎn)換到PHPWind 7.5圖文教程
- PhpWind教程:PHPWind 重定向設(shè)置教程
- PHPWind轉(zhuǎn)換教程:DVBBS 8.2 SQL版 轉(zhuǎn)換到 PHPWind 7.3.2
- PhpWind教程:教你把論壇GBK編碼轉(zhuǎn)為UTF8
- PhpWind教程:勛章未回收時(shí)刪除了改勛章,導(dǎo)致勛章位置顯示xx
- PhpWind教程:Linux下mysql常見問題
- 相關(guān)鏈接:
- 教程說明:
PhpWind教程-PhpWind教程:PW論壇IIS下設(shè)置靜態(tài)目錄的教程
。