問:
我本機能正常打開,為什么傳上來就不行了。測試方法打開www.zhi-jun.com點擊導航上的任意一個按鈕,例如打開http://www.zhi-jun.com/goods/index/cat_id/1,我本機能正常打開,為什么傳上來就不行了
答:您好,核實是偽靜態(tài)規(guī)則沒有設置,已為您處理請在測試,非常感謝您長期對我司的支持!
問:能否告知怎么設置?多謝。
答:您好,win系統(tǒng)是在web.config中添加規(guī)則,幫您添加了如下規(guī)則:
<rule name=\”Imported Rule 1\” stopProcessing=\”true\”> <match url=\”.*\\.(?:gif|jpg|png|css|js|txt|jpeg|swf|flv)\” /> <action type=\”Rewrite\” url=\”{R:0}\” /> </rule> <rule name=\”Imported Rule 2\”> <match url=\”/httpd(?:\\.ini|\\.parse\\.errors)\” /> <action type=\”CustomResponse\” url=\”/\” statusCode=\”403\” statusReason=\”Forbidden\” statusDescription=\”Forbidden\” /> </rule> <rule name=\”Imported Rule 3\” stopProcessing=\”true\”> <match url=\”^(?!/index.php)(?!/.php)(.*)$\” ignoreCase=\”false\” /> <conditions logicalGrouping=\”MatchAll\”> <add input=\”{REQUEST_FILENAME}\” matchType=\”IsFile\” ignoreCase=\”false\” negate=\”true\” /> <add input=\”{REQUEST_FILENAME}\” matchType=\”IsDirectory\” ignoreCase=\”false\” negate=\”true\” /> </conditions> <action type=\”Rewrite\” url=\”/index.php/{R:1}\” /> </rule>
,非常感謝您長期對我司的支持!