Re: Installing a CakePHP application on an existing site

2007-02-21 Thread Wey
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,

Re: Installing a CakePHP application on an existing site

2007-02-21 Thread Dr. Tarique Sani
On 2/22/07, Wey [EMAIL PROTECTED] wrote: 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? I just solved a similar situation where in I wanted the http://mysite.com/ (and in turn urls

Re: Installing a CakePHP application on an existing site

2007-02-16 Thread Mike
Thanks to all who replied. I have a long weekend coming up and will most likely try these suggestions out then. Thanks. On Feb 15, 9:39 pm, 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.

Re: Installing a CakePHP application on an existing site

2007-02-15 Thread Eric C Blount
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]

Re: Installing a CakePHP application on an existing site

2007-02-15 Thread the_woodsman
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

Re: Installing a CakePHP application on an existing site

2007-02-15 Thread Dat Chu
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]