|
用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里修改愣是不行。
- [ISAPI_Rewrite]
- # 3600 = 1 hour
- CacheClockRate 3600
- RepeatLimit 32
- RewriteCond Host: ^11sui\.com
- RewriteRule ^(.*) http\://www\.11sui\.com$1 [I,RP]
- RewriteRule .*\.(?:gif|jpg|png|css|js|txt|rar|jpeg|asp(.*)|html|swf|ico) $0 [I,L]
- RewriteRule /httpd(?:\.ini|\.parse\.errors) / [F,I,O]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- #RewriteRule ^(.*)list/movie/(\d+)\.html$ /index.php/$1lists/movie\?area=$2 [N,L]
- RewriteRule ^/list/movie/(.*)\.html$ /index.php/lists/movie\?type=$1
- RewriteRule ^(.*)$ /index.php/$1 [L]
复制代码
是因为隐藏了 Index.php的问题 还是因为 ci 本身的原因?
|
|