問:已經(jīng)為127.0.0.1安裝了ReWrite重寫模塊,并在sclongtingzs.com網(wǎng)站中的根目錄的httpd.ini和other文件夾中的httpd.conf文件添加了該網(wǎng)站對應(yīng)的重寫規(guī)則,經(jīng)過幾次重啟IIS服務(wù)仍然不生效。
,II6為網(wǎng)站設(shè)置了偽靜態(tài)不生效
答:您好,部分偽靜態(tài)規(guī)則可能需要進行微小的規(guī)則調(diào)整才可以生效,您可以參考:http://www.shinetop.cn/faq/list.asp?unid=639 進行配置。如果不行可以嘗試下建站助手的偽靜態(tài)規(guī)則設(shè)置功能,參考:http://www.shinetop.cn/faq/list.asp?unid=650
您當(dāng)前是獨立IP主機,如需我司進入查看,請重新提交正確類型獨立IP主機工單,類型選擇:??【主機租用/vps、云主機】 -> 【站點設(shè)置】 -> 偽靜態(tài)設(shè)置/網(wǎng)站301跳轉(zhuǎn)/404錯誤(一個站點),?? 目前您有2次金牌服務(wù),提交此工單我司會按照金牌服務(wù)標(biāo)準(zhǔn)為您處理,謝謝。
問:RegistrationName=Longshui Chen
RegistrationCode=7Z3NU-7MAP5-JZDPH-PR9GK
[ISAPI_Rewrite]
CacheClockRate 3600
RepeatLimit 32
#請在下面加入自己的代碼例如
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/wkroom_index.html$ /index.php/Home/Wkroom/index.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/wkroom_cat.html$ /index.php/Home/Wkroom/cat.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/wkroom_newhouse.html$ /index.php/Home/Wkroom/newhouse.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/wkroom_newhouse.html$ /index.php/Home/Wkroom/newhouse.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/design_index.html$ /index.php/Home/Design/index.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/room_index.html$ /index.php/Home/Room/index.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/team_index.html$ /index.php/Home/Team/index.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/team_position_([0-9] ).html$ /index.php/Home/Team/index/position_id/$1.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/team_wklife_([0-9] ).html$ /index.php/Home/Team/index/wklife_id/$1.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/team_department_([0-9] ).html$ /index.php/Home/Team/index/department_id/$1.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/help.html$ /index.php/Home/help/index.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/news.html$ /index.php/home/News/index.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/news_([0-9] ).html$ /index.php/home/News/info/id/$1.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/about.html$ /index.php/Home/About/index.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/culure.html$ /index.php/Home/About/culure.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/contact.html$ /index.php/Home/About/contact.html
RewriteCond %{QUERY_STRING}^(.*)$
RewriteRule ^/recruit.html$ /index.php/Home/About/recruit.html
RewriteCond %{QUERY_STRING}^(.*)$
問:我是按照你們的教程來的,怎么還是不生效
答:您好,非常抱歉給您帶來的不便,我們這邊也非專業(yè)的程序人員,您可以把規(guī)則部署好后單條規(guī)則逐漸調(diào)整,因為每個程序不一樣無法只從規(guī)則上判斷正誤。如您的配置沒有問題,可能正則表達式規(guī)則需要微調(diào)。您可以提交??【主機租用/vps、云主機】 -> 【站點設(shè)置】 -> 偽靜態(tài)設(shè)置/網(wǎng)站301跳轉(zhuǎn)/404錯誤(一個站點),目前您有2次金牌服務(wù),提交此類問題我們可以登錄您的服務(wù)器調(diào)整,處理扣除金牌服務(wù)后是免費的,謝謝。?