问:
我本机能正常打开,为什么传上来就不行了。测试方法打开www.zhi-jun.com点击导航上的任意一个按钮,例如打开http://www.zhi-jun.com/goods/index/cat_id/1,我本机能正常打开,为什么传上来就不行了
答:您好,核实是伪静态规则没有设置,已为您处理请在测试,非常感谢您长期对我司的支持!
问:能否告知怎么设置?多谢。
答:您好,win系统是在web.config中添加规则,帮您添加了如下规则:
<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>
,非常感谢您长期对我司的支持!