This is one thing I haven’t been able to do with Cake. I have tried it a few times and couldn’t figure it out. I am on hostgator and it could help if someone could point how they’ve been setting it up (Advanced installation).
Edit
I have read the documentation and I get errors. I guess I haven’t been reading it all too well.
Edit I just found this post. http://www.ad7six.com/MiBlog/ProductionSetup
My best shot at your problem is this:
You will probably have a user directory (probably
/home/user) containing a/public_htmldirectory or/htdocsor even a/htmlwhere you are supposed to put your files in.In my personal experience you should descompact your cake/project files on this directory (
/public_htmlfrom now) like:and you will end with your website root in this structure, located at:
Most Hosting sites allow you to put a
.htaccessfiles on the root dir:You will need to creat this
.htaccessfile with following content:Just remember that the
/home/user/public_htmlcan be anything, but you can probably figure it easily, via shell or calling the host support.G’luck!