Hi all, I've been trying to run cake on a godaddy hosting service. mod_rewrite is not available, so I set up cake to use its Pretty URLs, by uncommenting the line inside core.php and by deleting .htaccess files. I got the index page to perfectly, with CSS styling and connection to the database, but I can't access controllers/actions. I get a 404 not found. I tried
www.mysite.com/index.php/controller/action and www.mysite.com/index.php?url=/controller/action with no success. On my computer, everything works fine with mod_rewrite, but I can' make it to work on the server. Is it something special with godaddy, or am I missing some other settings. Please help. I also tried this fix: https://trac.cakephp.org/ticket/812 1. The URL's need to contain the extra '?'. In app/config/core.php [line 42] you will have uncommented this line for no mod_rewrite. Change it to: define('BASE_URL',env('SCRIPT_NAME') . '?'); 2. Need to extract the controller/view differently. Index.php (line 68) currently reads: $uri = setUri(); Change this line to: $uri = env('PHP_SELF') . env('QUERY_STRING'); but no luck... Thanks in advance, Best regards, Marcos --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
