So I have my codebase set up in my dev environment working just swell (using IIS6 and Helicon Rewrite).
Pretty URLs working great...sorting and pagination work perfectly (using 1.2x). I move the code to production and all is sort of OK except pretty URLS are not being used (causing the CSS to break and all the links to be farked up). For example: /index.php/controller_name/ when it should be /controller_name/ App.baseUrl is commented out of core.php //Configure::write('App.baseUrl', env('SCRIPT_NAME')); Incidentally, when I uncomment it I get this error: Warning (2): Invalid argument supplied for foreach() [CORE\cake\libs\configure.php I have mod_rewrite working and my rules that work on my other server for the .htaccess are: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] </IfModule> Any other places to look or what variable can I tweak to get rid of the index.php from the URLs for links, css, and js? Many thanks! -- View this message in context: http://www.nabble.com/Index.php-showing-up-in-URLs-tp14609106p14609106.html Sent from the CakePHP mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---