I'm creating a few dynamic sections in cakePhp for a big, mainly static website. I copied the original content into app/webroot and developed the dynamic sections the normal cakephp way. However, I realized that accessing http://localhost/contact was equivalent to http://localhost/contact.php, (contact.php being in /app/ webroot/). I thought it resulted in cleaner urls, so I eliminated the .php from all the links.
It works wonders on my local server, but I get a "Missing Controller" error on the main server if I don't explicitly indicate the extension (both are CentOS). I double-checked htacces files are correctly uploaded on '/' '/app' and '/app/webroot'. Cakephp sections work fine in both servers. Any solution? As a side note, someone in the chat told me that my method is probably not the best way of doing what I'm trying to. I will appreciate any suggestion. Thank you very much for your time. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
