I all, i was asked about how i got cakephp to work on 1and1. I can not take credit for the solution, becaue it took me hours to find it online (and i no longer have the link); but as posted on my site http://ahmedkamel.net/2006/07/03/rails-vs-cake-which-one-should-i-chose/ here goes.
----------- I found the solution some where online after long hours of searching, and indeed mod_rewrite is the problem on 1and1. It seems that for things to work on 1and1 you have to add a / at the beginning of the url specified in the RewriteRule (.htaccess). So, you cake/app/.htaccess file should look like this: RewriteEngine on RewriteRule ^$ /webroot/ [L] RewriteRule (.*) /webroot/$1 [L] Note, that you would have to make the same change to all your .htaccess files. In my case, I decided to work with the bakery, so I only bothered making the changes to the /cake/bakery/webroot/.htaccess file (given that my sub domain points to that folder). Cheers and 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 -~----------~----~----~----~------~----~------~--~---
