Hi, I'm actually trying to do exactly this. I don't know .htaccess that well, so I how would I configure it to serve up directories and files if they exist?
TIA On 15 Feb, 21:39, "Dat Chu" <[EMAIL PROTECTED]> wrote: > In .htaccess, you can specify that if the URL is a correct file/ > directory path, then it will serve the page. Otherwise, it will > rewrite to your index.php in cake webroot (to be handled by cake). > > That way, you cake files can stay on / as well. > > On Feb 15, 7:07 pm, "the_woodsman" <[EMAIL PROTECTED]> wrote: > > > I've done something similar, > > and the only big issues are URLs (as Eric described, use of htaccess > > fiels and mod rewrite help here) and sharing the session between > > standard PHP and Cake. > > > Wood > > > On Feb 15, 11:18 pm, "Eric C Blount" <[EMAIL PROTECTED]> wrote: > > > > If you extract CakePHP to a directory called /store/ under your main > > > website, then only the store directory will be Cake powered, which should > > > be > > > what you want. Just make sure to get all of the .htaccess files in the > > > right > > > places when you extract. > > > > HTH, > > > Eric > > > > On 2/15/07, Mike <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > I think my first post was eaten, so here I am again. If it wasn't, > > > > please ignore this spam. > > > > > If I write an app with Cake called Store (for example), can I install > > > > it onto an existing site likewww.mysite.com, which has other non-Cake > > > > pages and sub directories so that I have: > > > > >www.mysite.com/Store > > > > > While keeping the other non-Cake pages, etc? It seems like I should > > > > be able to based upon the text in the online manual under http:// > > > > manual.cakephp.org/chapter/installing Section 4 Advanced Setup...? > > > > > Or perhaps using a virtual host? > > > > > Basically, I just want to be sure I can use CakePHP without having to > > > > have everything on the site be Cake-enabled. > > > > > Thanks. > > > > > -- > > > > Mike --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---