my guess is that you didnt update the htaccess I added it to my upgraded version of the UpgradeShell (haha)
anyway, here is the fragment $patterns = array( array( 'index.php?url=$1 => index.php?/$1', '/index.php\?url=\$1/', 'index.php?/\\$1' ), ); make sure your htaccess contains the last string On 6 Nov., 17:40, Matt <vz2...@gmail.com> wrote: > I'm trying to get CakePHP 2 to work on an older laptop with Win2k/IIS > 5.1. Previous versions of CakePHP worked fine, 1.2, 1.3 but 2.0 isn't > working. I think I've tried just about every combination (except the > correct one, of course!) Here is the htaccess from my webroot folder, > should be equal to the unmodified distribution file > > <IfModule mod_rewrite.c> > RewriteEngine On > RewriteCond %{REQUEST_FILENAME} !-d > RewriteCond %{REQUEST_FILENAME} !-f > RewriteRule ^(.*)$ index.php?/$1 [QSA,L] > </IfModule> > > I would think this is the config I should have in ISAPI_rewrite > > RewriteEngine on > RewriteBase /cake2 > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteRule ^(.*)$ index.php?/$1 [QSA,L] > > And the base url is commented out in core.cfg > > //Configure::write('App.baseUrl', env('SCRIPT_NAME')); > > This doesn't work, I just get some churning and then the Pages view > comes up no matter what url I type in (ex: cake2/widgets/index). I > did some poking around in the core code and it appears it never reads > the url so it defaults to / every time. > > The interesting thing is that I can't turn mod rewrite *off* either. > If I un-comment the baseUrl, and delete the 3 htaccess files, I get > the same page but with no css and this message: > > URL rewriting is not properly configured on your server. 1) Help me > configure it 2) I don't / can't use URL rewriting > > Inspecting the source shows that the link to the css is: > > href="/cake2/matt/webroot/css/cake.generic.css" > > when it should be: > > href="/cake2/css/cake.generic.css" > > So, all in all, I'm stuck. Luckily my Win7 computer at work is OK, but > my laptop is still running on Win2k. It appears the new version of > cake wants the url to be 'localhost/cake2/index.php?/widgets/index' > while the previous versions wanted 'localhost/cake2/index.php?url=/ > widgets/index' so something doesn't like the new format. > > Any help would be appreciated. Thanks -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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