Wednesday, October 29, 2008

Loading cake app as subdirectory of non-cake app

I understand how to pull an app out of the cake folder by modifying
the index.php inside webroot. What I'm after is how to put the app -
once I've moved it out of the root cake folder by itself - into a
subfolder of an application that is not a cake application.

For example, say I have an application with a url of http://www.example.com
This application is just a regular php script that isn't using cake.
Now, for whatever reason, say I need to have http://www.example.com/some_dir/my_cake_app
point to my cake application. As it's just sitting in a subdirectory
under www.example.com, it's no problem to actually pull up the page,
but the css and js are all wrong, and now my controllers don't work
anymore. I could hack it and make it work, but I don't want to do
that. Is there a way to configure it to work, or will I have to hack
it?

Thanks.
Sean

--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: