It's documented since a long time ago: CakePHP 1.2: http://book.cakephp.org/view/32/installation
CakePHP 1.1: http://manual.cakephp.org/view/308/installing-cakephp On Wed, May 21, 2008 at 10:34 AM, Joel Perras <[EMAIL PROTECTED]> wrote: > > Add the line: > > RewriteBase /~user/ > > to the .htaccess files that already exist in your cake installation. > They should be found in app/.htaccess and app/webroot/.htaccess (this > last one may be redundant). Assuming you haven't changed the location > of any Cake folders and files, this should solve your problem. If you > want to know why this is needed, you can check out > http://preview.tinyurl.com/5t32yg > . > > -Joel. > > On May 21, 4:26 am, Tobes <[EMAIL PROTECTED]> wrote: >> Joel, >> >> Thanks for the advice, but I am not sure what to set it to. >> >> The site is currently in folder on URLhttp://localhost/~user/cakephptest/... >> >> The images that the default layout includes are referencing >> tohttp://localhost/imgrather thanhttp://localhost/~user/cakephptest/img >> >> Can you advise what I need to put in the htaccess file? >> >> Thanks, >> >> Toby >> >> On May 21, 4:19 am, Joel Perras <[EMAIL PROTECTED]> wrote: >> >> > Set a RewriteBase condition in your .htaccess files in app/.htaccess >> > and app/webroot/.htaccess. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
