I'm running godaddy hosting for all my domains, several cakephp apps.

What issues are you having?

If it is redirect issues than I know the fix.

in the files .htaccess in cake/, cake/app/, and cake/app/webroot/ i
think.

You need to edit them to add the magic words,

RewriteBase /

Add this before any rewrite rules, e.g.

<IfModule mod_rewrite.c>
   RewriteEngine on
RewriteBase /
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>

And this will prevent the need to add / in all the rules. :)

After you upload all three with the changes give it about 20 minutes
to be 'picked up.'

I am pretty sure that was the only major change I had to make.

Good luck!

BTW I highly do not recommend their hosting plans, cheap domains
though.

On Oct 13, 6:43 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
> If GoDaddy is anything like anything like 1and1 mod_rewrite may work with a
> minor change
>
> seehttp://www.klevo.sk/cakephp/cakephp-and-some-web-hosts/
>
> I have found that 1and1 uk requires adding a few / (in the following example
> my app is installed in a directory named v6)
>
> AddType x-mapp-php5 .php
> <IfModule mod_rewrite.c>
>     RewriteEngine on
>     RewriteRule /v6$ /v6/ [L]
>     RewriteRule    ^$    /v6/webroot/    [L]
>     RewriteRule    (.*) /v6/webroot/$1    [L]
> </IfModule>
>
> this works on business pro accounts (not below)
>
> that might help - S
>
> 2008/10/13 mehodgson <[EMAIL PROTECTED]>
>
>
>
> > I tried setting one up on go daddy once, but ran into a lot of
> > issues.  The main one being it is not possible to use MOD_REWRITE, so
> > you have to use the cakephp url rewriting alternative.  I was able to
> > get things working once I did that, but not having the clean urls
> > possible with MOD_REWRITE is a big disadvantage with go daddy.
>
> > On Oct 13, 6:08 am, AceStudio <[EMAIL PROTECTED]> wrote:
> > > A client of mine purchased a web hosting package on GoDaddy but after
> > > i uploaded the application on it... it wasn't working. i have been
> > > racking my head on how to make it work but all to no avail.
>
> > > I need to know who has successfully hosted on a GoDaddy server, so the
> > > person could tell me how he tweaked the server.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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