1、if you have lots of url rewite rules, this method is recommanded
file: app/core.php
line: 95
original: //Configure::write(‘App.baseUrl’, env(‘SCRIPT_NAME’));
modify: Configure::write(‘App.baseUrl’, env(‘SCRIPT_NAME’));
url: that will add “/index.php/” to you url for default portal for all controller
then: remove .htaccess files
done!
2、url rewriter ISAPI fliters for IIS
after install the fliters, you have to reconfig rewrite rules for you app, as RegEx and syntax of those rewriter is different from apache more or less.
3、documents
http://tobint.com/blog/installing-cakephp-on-iis-7/
http://bakery.cakephp.org/articles/filippo.toso/2008/01/29/cakephp-on-iis
http://blogs.iis.net/tobintitus/archive/2009/04/03/installing-cakephp-on-iis-7.aspx [dotNET framework rewrite]
暂无评论