I was also having some trouble with this a couple weeks ago. I was able to get Ionics Isapi Rewrite <http://www.codeplex.com/IIRF> working though with IIS5, PHP 5.3, fastcgi and their filter. The big thing was making sure your home directory was the app/webroot location and not the root. Then, this IsapiRewrite4.ini file worked for me:
RewriteCond %{REQUEST_FILENAME} !-f [AND] RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?url=$1 [L] I'm not sure it'll support multiple sites though, but if you are running one Cake app on a server (like me), it should be more than adequate. Thanks, Steve Stephen Cuppett http://www.stephencuppett.com steve at cuppett dot com <http://www.brainyquote.com/quotes/authors/g/gilda_radner.html> On Sat, Jul 11, 2009 at 3:32 PM, zonium <zon...@gmail.com> wrote: > > Have you you read this: > > http://bakery.cakephp.org/articles/view/cakephp-on-iis6-with-fastcgi-sql-server-2005-and-isapi_rewrite > > I am guessing you are using IIS6 and you missed one step where you > have to run "Helicon Manager.exe" to 'import' the content of .htacess > (if you are using IIS 6) > After done that .htaccess can be removed. > > IIS + CakePHP + ISAPI_Rewrite 3 work well for us. > > Good luck > > > On Jun 28, 8:04 am, Richard Stroobach <stroob...@gmail.com> wrote: > > No answer yet. :-( Is there anyone who has IIS + cakePHP + > > ISAPI_Rewrite working? > > > > On Jun 18, 12:36 pm, Richard Stroobach <stroob...@gmail.com> wrote: > > > > > Hello, > > > > > For a couple of days I'm trying to get CakePHP working on a Windows > > > IIS machine with ISAPI_Rewrite 3. I've tried all the possible options > > > I could find on the net, but can't get it to work. > > > > > When I uncomment the line: Configure::write('App.encoding', 'UTF-8'); > > > and delete any .htaccess files. Everything seems to work fine, but I > > > would like to use rewriting, since all the books and tutorials I have > > > assume I use rewriting. > > > > > ISAPI_Rewrite 3 should work fine with Cake, since it should > > > support .htaccess files in the same way as Apache would, but that's > > > not my experience so far. Even if it looks like everything works, the > > > css files would not get loaded. > > > > > Is there anyone of you who has it working and kind enough to help me > > > with this? > > > > > I tried (among other things): > http://thefinalsayontech.blogspot.com/2009/02/cakephp-on-iis-isapi-wi.... > .. > > > > > -Richard > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---