問:這樣的規(guī)則是加哪里呢~論壇插件偽靜態(tài)~
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^mall\\.html$ plugin.php?id=it618_scoremall:scoremall&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^gwc\\.html$ plugin.php?id=it618_scoremall:gwc&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^productlist\\.html$ plugin.php?id=it618_scoremall:scoremall_list&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^uc\\.html$ plugin.php?id=it618_scoremall:scoremall_uc&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^store\\.html$ plugin.php?id=it618_scoremall:scoremall_store&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^storelist\\.html$ plugin.php?id=it618_scoremall:store_list&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^productlist-(. )-(. )-([0-9] )\\.html$ plugin.php?id=it618_scoremall:scoremall_list&$1=$2&page=$3&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^product-([0-9] )\\.html$ plugin.php?id=it618_scoremall:scoremall_page&pid=$1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^uc-([0-9] )-([0-9] )\\.html$ plugin.php?id=it618_scoremall:scoremall_uc&cid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^store-(. )-(. )-([0-9] )-([0-9] )-([0-9] )\\.html$ plugin.php?id=it618_scoremall:scoremall_store&$1=$2&cid=$3&pid=$4&page=$5&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^storelist-([0-9] )\\.html$ plugin.php?id=it618_scoremall:store_list&page=$1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^scoremall_wap\\.html$ plugin.php?id=it618_scoremall:wap&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^scoremall_wap-(. )-([0-9] )-([0-9] )\\.html$ plugin.php?id=it618_scoremall:wap&pagetype=$1&cid=$2&page=$3&%1
,您好,關(guān)于偽靜態(tài)規(guī)則添加
問:我的空間屬于
Apache Web Server(虛擬主機用戶) 對嗎!
答:您好,1.查看您的這個問題,我司虛擬主機偽靜態(tài)設(shè)置您可以參考http://faq.myhost.net/faq/listagent.asp?unid=797去操作,您當前主機系統(tǒng)是windows 2008 iis 7.設(shè)置偽靜態(tài)是通過web.config 文件實現(xiàn),請咨詢程序開發(fā)編輯適合iis7的規(guī)則(對應(yīng).htaccess偽靜態(tài)規(guī)則轉(zhuǎn)換為web.config的教程https://my.oschina.net/phphero/blog/122752 ,或者您也可以聯(lián)系QQ:將主機系統(tǒng)更換為linux系統(tǒng),就是Apache Web Server了).
2.如需我司代為處理,請?zhí)峤还翁摂M主機、數(shù)據(jù)庫問題-》網(wǎng)站類設(shè)置-》偽靜態(tài)\\301\\404相關(guān)設(shè)置 ,非常感謝您長期對我司的支持!
問:轉(zhuǎn)為LINUX系統(tǒng)可以直接換嗎,有啥不一樣,對之前建的網(wǎng)站有影響嗎?
答:您好,查看您的當前主機空間中有一個dz論壇的網(wǎng)站,和一個其他的php程序的子網(wǎng)站,而dz論壇(現(xiàn)在dz論壇是使用的web.config的iis7偽靜態(tài)規(guī)則)和子站網(wǎng)站(使用的是linux的偽靜態(tài)規(guī)則.htaccess,如果您要換主機系統(tǒng),那么需要dz論壇重新更改一次偽靜態(tài)規(guī)則)都可以在linux系統(tǒng)主機上運行,如果可以您也可以直接讓您網(wǎng)站程序員直接為您提供一個iis7的偽靜態(tài)規(guī)則(iis7的偽靜態(tài)規(guī)則文件實質(zhì)web.config文件里),非常感謝您長期對我司的支持!