After a bit of struggling, I've managed to get a CakePHP app running on IIS.
I've running it without mod_rewrite so I followed the instructions in core.php and removed .htaccess files and uncommented the line: Configure::write('App.baseUrl', env('SCRIPT_NAME')); I've installed my cake app into: c:\Inetpub\php_test\ I'm getting an error in a couple of places in my code, along the lines of: Warning (2): file_exists() [function.file-exists]: open_basedir restriction in effect. File(/index.php/app/webroot/user_backgrounds/ 1.xml) is not within the allowed path(s): (c:\Inetpub) [APP\views \elements\painter.ctp, line 133] Reading a bit further I've made the changes to /app/webroot/index.php /** * The full path to the directory which holds "app", WITHOUT a trailing DS. * */ if (!defined('ROOT')) { define('ROOT', "\\Inetpub\\php_test"); } /** * The actual directory name for the "app". * */ if (!defined('APP_DIR')) { define('APP_DIR', "\\Inetpub\\php_test\\app\\"); } /** * The absolute path to the "cake" directory, WITHOUT a trailing DS. * */ if (!defined('CAKE_CORE_INCLUDE_PATH')) { define('CAKE_CORE_INCLUDE_PATH', "\\Inetpub\\php_test"); } What am I missing/doing wrong? Thanks in advance :-) --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---