CakePHP 2.4 Missing Controller/ Routing Issue/HTACCESS

I am having some issues deploying my site live. The site works perfectly fine on my local machine, but when I deployed it an tried to navigate to some areas of the site I get missing controller errors. My web application has a AuthACL plugin, and I use it to handle login and permissions throughout the site. This part of the application functions with no problem on the live site, but when I click on other links that take me outside of the plugins MVC....I get the missing controller error. I'm not the best when it comes to routing so I need some input from someone who can point me in the right direction. Here is what my current route file look like....As you can see the first statement is for the problem. But Im not sure how to alter this in order for my application to function properly. My directory looks like this....


          Router::connect('/', array('plugin' => 'AuthAcl', 'controller' =>     'users', 'action' => 'login', 'home'));
     * ...and connect the rest of 'Pages' controller's urls.
               Router::connect('/pages/*', array('controller' => 'pages'
      , 'action'   =>  'display'));

     * Load all plugin routes. See the CakePlugin documentation on
    * how to customize the loading of plugin routes.

     * Load the CakePHP default routes. Only remove this if you do not want to use
     * the built-in default routes.
      require CAKE . 'Config' . DS . 'routes.php';

Again when I try to access my controller it says they are missing but they are in the right location. Or is this an htaccess issue? Any input would be greatly appreciated! I kinda botched an application release!
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott MadeiraCommented:
I don't have a lot of Cake experience but I have found that sometimes it is a matter of case.  If you develop and test on a windows box the case of the controllers and routes doesn't matter but as soon as you deploy to a linux environment things will blow up if there is a case mis-match between controller and method names and route files, etc.  This bit me once or twice with Laravel development.
RunForrestRunAuthor Commented:
I turns out that we had several links hard coded to 'localhost'. Obviously, this will work locally but not when accessed from the outside. :-)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RunForrestRunAuthor Commented:
We thought that it was a server issue until we checked the URL that was generated. It was trying to access a local link  on the client machine that obviously didn't exist.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.