Ooops, looks like you already figured it out.  Teach me to post before
reading to the end of a thread.  Well, congrats on getting it all worked
out!

On 5/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Okay everone good news, got it set up and running.
>
> Here's what I did (This applies to godaddy's linux hosting which has
> rewrite enabled):
>
> 1. Added a trailing slash '/' to every rewrite rule located in
>
> /.htaccess
> /app/.htaccess
> /app/webroot/.htaccess
>
> 2.  Modified /webroot/index.php
>
> ...
> if (!defined('ROOT')) {
>                  //define('ROOT', 'FULL PATH TO DIRECTORY WHERE APP
> DIRECTORY IS
> LOCATED DO NOT ADD A TRAILING DIRECTORY SEPARATOR';
>                  //You should also use the DS define to seperate your
> directories
>                 // define('ROOT', dirname(dirname(dirname(__FILE__))));
>                 define('ROOT', '/home/content/y/o/u/you/html/');
>
>         }
>         if (!defined('APP_DIR')) {
>                  //define('APP_DIR', 'DIRECTORY NAME OF APPLICATION';
>                 //define('APP_DIR', basename(dirname(dirname(__FILE__))));
>                 define ('APP_DIR', 'app');
>         }
> ...
>
> Left line 41 on config/core.php commented (thus disabling internal
> rewrite)
>
> Thats it! everything worked fine right there. Even admin and routing
> were working right away.
>
> Thank you so much for all your help!
>
>
> On May 24, 11:49 am, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > I have client that I set up with a cake site about a year ago on godaddy
> but
> > he changed the access so I can't see how I set it.  He is going to send
> me
> > the new passwords today, I should be able to try to help you soon
> >
> > Sam D
> >
> > On 5/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> > > css are all linked using $html->css
> >
> > > Found out that if I edit webroot's .htaccess from
> >
> > > RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
> > > to
> > > RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L]
> >
> > > Images and flash will show up, but still controllers are a no-go
> >
> > > On May 24, 11:11 am, "John David Anderson (_psychic_)"
> > > <[EMAIL PROTECTED]> wrote:
> > > > On May 24, 2007, at 10:04 AM, [EMAIL PROTECTED] wrote:
> >
> > > > > John, I already downloaded and installed a brand new copy of cake
> and
> > > > > uploaded it.
> > > > > After that I tried working with internal urls but they worked only
> if
> > > > > I typed /site/index.php?controller
> >
> > > > That's how internal URLs work.
> >
> > > > example.com/index.php?/controller/action
> >
> > > > or
> >
> > > > example.com/index.php?url=/controller/action
> >
> > > > > Btw, im using godaddy's linux hosting with is SUPPOSED to have
> > > > > mod_rewrite enabled.
> >
> > > > Verify that. That seems to be the main issue here, and you'll save a
> > > > lot of time double checking that rather than assuming it. If it has
> > > > it, why are you not using it?
> >
> > > > > here is the link to the site:http://sportmarketingcenter.com
> >
> > > > > so far I've gotten the homepage to render the images and flash
> file
> > > > > but thats it (try clicking on one of the menu options) it will
> just go
> > > > > back to the start page with no layout defined.
> >
> > > > It was my understanding that this was a fresh cake install, but it
> > > > seems you're running a complete site - which is it? How are you
> > > > linking to your CSS in the layouts?
> >
> > > > -- John
> >
> > --
> > (the old fart) the advice is free, the lack of crankiness will cost you
> >
> > - its a fine line between a real question and an idiot
> >
> > http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to