I used "RewriteBase /" after RewriteEngine on, and the Cake apps I've deployed to our 1&1 hosting seem to work fine. You'll need to insert the RewriteBase directive in each of the 3 .htaccess files.
On Jun 2, 9:08 pm, robbie <[EMAIL PROTECTED]> wrote: > Hello All, > > I have a problem, my local Apache / PHP will correctly load my > app_controller.php file which is in the /app directory, however on my > shared 1and1 server, the hosthttp://www.formerchampions.net/is > failing to load this, so any of my Model's are not appearing inside > the views/elements pages. You can see that on the initial page, the > for loops just bomb out. > > Also, I cannot reachhttp://www.formerchampions.net/adm/usersor > anything to get to the admin page. > > Both of my .htaccess files look like this: > > /kunden/homepages/2/d246080158/htdocs/.htaccess > > RewriteEngine on > RewriteRule ^$ /app/webroot/ [L] > RewriteRule (.*) /app/webroot/$1 [L] > > If I do not include the slash prior to app it generates a 500 server > error. > > If anyone has any suggestions, I would greatly appreciate it. I have > been pulling my hair out for the last few days. > > Thanks again, > Robbie --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
