Excuse the bump.

I have the cake install in a subdirectory of a site. e.g.

mysite.com/subdir
/app
/cake
/vendors

In my IIS cake install I am not using ISIAPI_REWRITE and have defined
IIS and unremed the script_name line in the core.php.

My question is this; what do I need to edit in order to have my links
correct?

currenly they look like this
www.mysite.com/FileDirectoryonServer/cake/index.php?/users/

I need them to be:
www.mysite.com/cake/index.php?/users/

I believe the issue is on this line of index.php:
define('ROOT', dirname(__FILE__));

If the cake install was in the root (actual root) of site it would be
no worries but since I have in a subdirectory it is needing to use the
FileDirectoryonServer to locate the needed includes.

I have tried chaging the define directive to be:
define('ROOT', 'cake');
define('ROOT', '/cake/');
define('ROOT', 'http://www.mysite.com/cake/');

This is the last hurdle before 100% workability of the cake app.

Thank you for any help/suggestions


--~--~---------~--~----~------------~-------~--~----~
 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to