have called your cake folder.
On Nov 30, 7:08 pm, "Scott Powell" <scottpowe...@gmail.com> wrote:
> Thanks for the help. Will do this.
>
> -----Original Message-----
> From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
>
> Of thatsgreat2345
> Sent: Sunday, November 30, 2008 11:42 PM
> To: CakePHP
> Subject: Re: total newbie - Config question
>
> DO NOT PUT CAKEPHP IN PUBLIC_HTML! I have hostgator as well, this is
> what you do put it above public_html so it will not be accessible by
> anyone. Then take webroot folder out of the app folder which is inside
> the cake folder, and upload it to your public html, or if the cakeapp
> is going to be your site just upload the contents of webroot folder to
> public_html. Then edit index.php in your webroot folder that you have
> just added to public_html and change these 2 lines
>
> if (!defined('ROOT')) {
> define('ROOT', DS.'home'.DS.'YOUR HOSTGATOR
> USERNAME'.DS.'CakePHP');
> }
>
> and if you have changed the app folder name from app to something else
> then change this line too
> if (!defined('APP_DIR')) {
> define('APP_DIR', 'APP FOLDER NAME');
> }
>
> On Nov 30, 10:01 am, rgreenphotodesign <rgr...@rgreenphotography.com>
> wrote:
> > Do you have your domain home directory/doc root pointed to /possible
> > sub dir/app/webroot/?
>
> > On Nov 29, 7:49 pm, scott <scottpowe...@gmail.com> wrote:
>
> > > Hello all,
>
> > > Just started learning CakePHP and am excited at the possibilities, but
> > > have hit my first snag.
>
> > > This is my first post and have read the documentation, but cannot find
> > > the solution to my problem.
>
> > > I uploaded the full cake package to my server into the root directory
> > > which is public_html. I'm using Hostgator which has php 5 and
> > > mod_rewrite activated.
>
> > > I can only get the home page to show up when I set ReWriteEngine to
> > > "off". If it is on, I get 404 not found.
>
> > > Also, I don't know if this is a problem, but I don't have an active
> > > domain pointed to it. So I access the root directory
> bywww.mainserverexample.com/~cake
>
> > > Thanks in advance for your help,
>
> > > Scott
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.549 / Virus Database: 270.9.10/1810 - Release Date: 11/24/2008
> 2:36 PM
>
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.549 / Virus Database: 270.9.10/1810 - Release Date: 11/24/2008
> 2:36 PM
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment