> I am actually having the same problem. .htaccess works, but how do I
> remap my /www root to /cake/app/webroot ? I have no idea about servers/
> htaccess files and I think an answer would make a great addition to
> the manual.
>
> My server looks like this
>
> > home
> >> username
> >>> cake
> >>>> webroot
> >>>>> app
> >>> www

it's pretty easy, you don't need to touch any of the htaccess files,
you just make a change to a define in the index.php file in webroot.
Do this:

1. upload entire cakephp dir (inc app, webroot etc) to /home/username/cakephp
2. move contents of /app/webroot/ (inc .htaccess) to /home/username/www
3. edit /home/username/www/index.php so it points at to the location
of cake, eg:

define('ROOT', '/home/username/cakephp');

that's it.

hth

jon


-- 

jon bennett
w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

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