Thanks for your help.

I have a question, when you say "put your webroot in your public_html
", do you mean put the "webroot" folder in public_html, or you mean
put the files in the webroot in the "public_html"?

Thanks!!

-David

On Mar 9, 9:42 pm, thatsgreat2345 <[email protected]> wrote:
> I guess I should have used your example folder
>
> where I said folder_you_want_to_access_your_site_through, name that
> exceltv
> and you can call your app folder whatever you want
>
> This way, if you want to run multiple cake sites on your shared host
> you will have all the apps inside your cake folder
> Then make a new folder in public_html, and change that path properties
> to what i posted there and you only have to have one cake core, but
> multiple apps
>
> On Mar 9, 6:39 pm, thatsgreat2345 <[email protected]> wrote:
>
>
>
>
>
>
>
> > You need to put your webroot in your public_html and then change your
> > index.php file in webroot to point to your cake root and your app path
>
> > This is how I have it setup.
>
> > /cake
> >         /appnamehere
> >                 /controllers
> >                 /models
> >                 /other stuff
> >         /cake
> >         /vendors
> >         /tests
> >         /other folders and files that come with cake
>
> > /public_html
> >         /folder_you_want_to_access_your_site_through (example.com/
> > folder_you_want_to_access_your_site_through)
>
> > Inside index.php that is in your
> > webroot(folder_you_want_to_access_your_site_through/index.php)
>
> > Change to root to
> >         if (!defined('ROOT')) {
> >                 define('ROOT', dirname(dirname(dirname(__FILE__))) . DS . 
> > 'cake');
> >         }
>
> > And this to
>
> > if (!defined('APP_DIR')) {
> >                 define('APP_DIR', 'appnamehere' );
> >         }
>
> > Should work now
> > On Mar 9, 6:03 pm, Tan Cheng <[email protected]> wrote:
>
> > > Hi everyone,
>
> > > My boss wants the project I'm working with cakephp to be seen on a
> > > host as soon as possible.
>
> > > I signed up with Cirtex hosting, but when I upload, it doesn't work
> > > directly, I am contacting them to change the mod_rewrite and some
> > > other settings, but I don't want to sit here and waiting for them. I
> > > just started this job and want to "impress" my boss what I have done
> > > so far...
>
> > > So, here is my question, has anyone of you know a shared hosting plan,
> > > that I can upload my app folders, setup the database, and it just
> > > works...
>
> > > Here is the structure of my app, it's called exceltv, of course there
> > > will be other files, I list the main ones...
>
> > > /excetv
> > >     /app
> > >        /models
> > >        /controllers
> > >        /views
> > >        /webroot
> > >     /cake
> > >     /plugins
> > >     /vendors
>
> > > I hope I can launchwww.example.com/exceltv, and it will just work...
>
> > > I am really in a hurry and don't know much about how the htaccess
> > > works, any help really appreciated!!
>
> > > Thanks.
>
> > > -David

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to