关于ecshop IIS 伪静态有日子没弄ecshop了,昨晚上下装了ec,装完了,静态化的时候出了问题,怎么弄都是404。
1。EC后台已设置了URL "简单重写"
2。下载并安装了Rewrite3.0组件,在IIS属性中ISAPI中指定Rewrite路径。
3。将http.ini文件复制到网站根目录
4。重启IIS

解决方案 »

  1.   

    清除下缓存看看。。最好能贴上2行代码,看看rewrite后,静态url究竟访问的哪个程序页。。
      

  2.   

    问题解决了。。原来还在改Rewrite组件安装目录下的http.conf文件,在里面加
    # Helicon ISAPI_Rewrite configuration file 
    # Version 3.1.0.56 
    RewriteBase / 
    RewriteCond %{REQUEST_FILENAME} \.(html htm php php2 php3 php4 php5 phtml pwml inc asp aspx ascx jsp cfm cfc pl cgi shtml shtm phtm xml)$ 
    RewriteCond %{REQUEST_FILENAME} !-f 
    RewriteCond %{REQUEST_FILENAME} !-d 
    RewriteRule ^(.*)$ index.php?$1 [L] [ISAPI_Rewrite] # 3600 = 1 hour 
    CacheClockRate 3600 RepeatLimit 32
    ------------然后重新启动Rewrite,搞定。
      

  3.   

    ISAPI_Rewrite 不好用,
    建议使用iis官方的urlrewrite
      

  4.   

    又发现问题了,点击是可以跳转了,可不论点哪个链接,都是到首页,但是url却没有变
    真郁闷呐,,还为以解决问题了。