# Cake app running on WAMP sever vs bin\\cake server problems

**URL:** <https://discourse.cakephp.org/t/cake-app-running-on-wamp-sever-vs-bin-cake-server-problems/8708>\
**Category:** Need Help\
**Created:** [December 7, 2020, 10:45pm UTC](https://discourse.cakephp.org/t/cake-app-running-on-wamp-sever-vs-bin-cake-server-problems/8708 "2020-12-07T22:45:29Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![rboatright](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/rboatright/32/2060_2.png) [@rboatright](https://discourse.cakephp.org/u/rboatright)\
**Post date:** [December 8, 2020, 12:14am UTC](https://discourse.cakephp.org/t/cake-app-running-on-wamp-sever-vs-bin-cake-server-problems/8708/6 "2020-12-08T00:14:31Z")

</div>

**OK, we can close this.**

It turns out that authentication 2.0 had a bug with respect to running in subdirectories. It was annoying to discover that in order to update authentication I had to manually adjust version contraints in composer.json, oh well. Upgrading to 2.3.1 fixed the problem. See this post here:

> [@Authentication and root folder mismatch after subfolder implementation](https://discourse.cakephp.org/t/authentication-and-root-folder-mismatch-after-subfolder-implementation/7930):
>
> I have worked with an working app locally, but after putting it online I see a relation between the authentication plugin and encountered errors. The application is stored in a subfolder of a webpage e.g. www.X.y/cakephpapp/. Going to tables indexes correctly routes to /cakephpapp/tablename, but the authentication check redirects to /users/login, which returns in 404. Moreover, while loggin in @ /cakephpapp/users/login, debugging the authenticator result gives the following error: [protected] …

---

_[View the full topic](https://discourse.cakephp.org/t/cake-app-running-on-wamp-sever-vs-bin-cake-server-problems/8708)._
