用户
 找回密码
 入住 CI 中国社区
搜索
查看: 2703|回复: 0
收起左侧

[HELP] IIS 下隐藏index.php后续问题请教

[复制链接]
发表于 2011-12-21 11:38:46 | 显示全部楼层 |阅读模式
用httpd.ini 隐藏index.php  
我想将
http://www.11sui.com/lists/movie/?area=1&type=137&time=&order=
伪静态成http://www.11sui.com/lists/movie/1_2_3_4_5.html这种形式

在httpd.ini里修改愣是不行。

  1. [ISAPI_Rewrite]

  2. # 3600 = 1 hour
  3. CacheClockRate 3600

  4. RepeatLimit 32
  5. RewriteCond Host: ^11sui\.com
  6. RewriteRule ^(.*) http\://www\.11sui\.com$1 [I,RP]


  7. RewriteRule .*\.(?:gif|jpg|png|css|js|txt|rar|jpeg|asp(.*)|html|swf|ico) $0 [I,L]
  8. RewriteRule /httpd(?:\.ini|\.parse\.errors) / [F,I,O]

  9. RewriteCond %{REQUEST_FILENAME} !-f
  10. RewriteCond %{REQUEST_FILENAME} !-d
  11. #RewriteRule ^(.*)list/movie/(\d+)\.html$ /index.php/$1lists/movie\?area=$2 [N,L]
  12. RewriteRule ^/list/movie/(.*)\.html$ /index.php/lists/movie\?type=$1
  13. RewriteRule ^(.*)$ /index.php/$1 [L]
复制代码

是因为隐藏了 Index.php的问题 还是因为 ci 本身的原因?

本版积分规则