On Jan 24, 5:51 pm, "Mark" <[EMAIL PROTECTED]> wrote:
> Anyone else had problems getting CakePHP to work properly on Dreamhost?
>
> I've installed it, following the instructions in the manual, but the
> URLs don't work as they should, I have to keep the 'index.php' in in
> order for them to work, for example:
>
> http://www.example.com/index.php/path/to/page
>
> rather thanhttp://www.example.com/path/to/page
>
> And this has other negative effects on other parts that expect the
> index.php part to not be there, so I'd really like to get this sorted
> out before I attempt to seriously develop anything on it.
>
> Anyone got any advice? I'd be extremely grateful for a solution as I've
> tried looking just about everywhere else.

Mark,
I've installed three different CakePHP sites on Dreamhost and haven't
had problems. All three are on shared servers (not dedicated) and
CakePHP installed just fine without asking Dreamhost to change any
settings.

Things to check:
1) You edited the domain under "Manage Domains", "Web Directory:" to be
/home/username/cake/app/webroot (or else point to the app/webroot of
your CakePHP install)
2) Make sure your copy of CakePHP has all the .htaccess files intact
3) Check if the .htaccess file in webroot has the basic rewrite rule:
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]

Otherwise, it should work. I have my three domains with CakePHP apps
running PHP 5.1.2, but that shouldn't make a difference in your case.

Hope that helps...


--~--~---------~--~----~------------~-------~--~----~
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