# Problems to pass an application made in cakephp on a linux server to a new server in windows server

**URL:** <https://discourse.cakephp.org/t/problems-to-pass-an-application-made-in-cakephp-on-a-linux-server-to-a-new-server-in-windows-server/7402>\
**Category:** Need Help\
**Created:** [March 5, 2020, 9:52am UTC](https://discourse.cakephp.org/t/problems-to-pass-an-application-made-in-cakephp-on-a-linux-server-to-a-new-server-in-windows-server/7402 "2020-03-05T09:52:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![LynO](https://avatars.discourse-cdn.com/v4/letter/l/839c29/32.png) [@LynO](https://discourse.cakephp.org/u/LynO)\
**Post date:** [March 5, 2020, 9:52am UTC](https://discourse.cakephp.org/t/problems-to-pass-an-application-made-in-cakephp-on-a-linux-server-to-a-new-server-in-windows-server/7402/1 "2020-03-05T09:52:02Z")

</div>

Hi,I have problems to pass an application made in cakephp on a linux server to a new server in windows server, I made the settings by IIS, but it does not open the application, another test in native php yes, edit the web.config file but nothing, please help!!!

---

<div class="post-metadata">

**Author:** ![Zuluru](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/zuluru/32/1230_2.png) [@Zuluru](https://discourse.cakephp.org/u/Zuluru)\
**Post date:** [March 5, 2020, 3:39pm UTC](https://discourse.cakephp.org/t/problems-to-pass-an-application-made-in-cakephp-on-a-linux-server-to-a-new-server-in-windows-server/7402/2 "2020-03-05T15:39:31Z")

</div>

You’re going to need to include more details. At the very least, what does “does not open the application” mean?

---

<div class="post-metadata">

**Author:** ![LynO](https://avatars.discourse-cdn.com/v4/letter/l/839c29/32.png) [@LynO](https://discourse.cakephp.org/u/LynO)\
**Post date:** [March 5, 2020, 4:24pm UTC](https://discourse.cakephp.org/t/problems-to-pass-an-application-made-in-cakephp-on-a-linux-server-to-a-new-server-in-windows-server/7402/3 "2020-03-05T16:24:56Z")

</div>

Thanks for answering, I do not speak English, I send you a screenshot of what comes out, I have the configuration made in IIS, I suspect it is for the Apache rewrite module, I am checking my webconfig and htaccess

 ![print de pantalla](https://canada1.discourse-cdn.com/flex029/uploads/cakephp/original/2X/2/298ddc18e7dd322a2e7a5e1fd75ee5b8aaea194e.jpeg)

---

<div class="post-metadata">

**Author:** ![Zuluru](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/zuluru/32/1230_2.png) [@Zuluru](https://discourse.cakephp.org/u/Zuluru)\
**Post date:** [March 5, 2020, 5:11pm UTC](https://discourse.cakephp.org/t/problems-to-pass-an-application-made-in-cakephp-on-a-linux-server-to-a-new-server-in-windows-server/7402/4 "2020-03-05T17:11:24Z")

</div>

The screen shot doesn’t show the URL. If this is for the top level page (e.g. [example.com/](http://example.com/)), then it’s almost certainly an IIS configuration issue, and outside the scope of CakePHP. If the top level page works but links within it don’t, then it could be rewriting or a code issue.

To determine whether it’s code or server, I will usually put some trivial resource like a simple text or png file in the document root. If the browser can’t access that, it’s a server setup issue.

---

<div class="post-metadata">

**Author:** ![LynO](https://avatars.discourse-cdn.com/v4/letter/l/839c29/32.png) [@LynO](https://discourse.cakephp.org/u/LynO)\
**Post date:** [March 5, 2020, 5:42pm UTC](https://discourse.cakephp.org/t/problems-to-pass-an-application-made-in-cakephp-on-a-linux-server-to-a-new-server-in-windows-server/7402/5 "2020-03-05T17:42:41Z")

</div>

No, the application uploaded another one in native php and it works, the problem is that this application was on a linux server and when passing it to a windows server this happens, you have to see the rewrite module I suspect, thanks for responding

 ![print de pantalla 1](https://canada1.discourse-cdn.com/flex029/uploads/cakephp/original/2X/9/978fe8e6cff801531a3fa3a190b72fca1e966922.jpeg)

---

<div class="post-metadata">

**Author:** ![LynO](https://avatars.discourse-cdn.com/v4/letter/l/839c29/32.png) [@LynO](https://discourse.cakephp.org/u/LynO)\
**Post date:** [March 5, 2020, 5:53pm UTC](https://discourse.cakephp.org/t/problems-to-pass-an-application-made-in-cakephp-on-a-linux-server-to-a-new-server-in-windows-server/7402/6 "2020-03-05T17:53:30Z")

</div>

![print de pantalla 3](https://canada1.discourse-cdn.com/flex029/uploads/cakephp/original/2X/5/5647c95f3d32fbfca4401e4db9969451fb021277.jpeg)

---

<div class="post-metadata">

**Author:** ![LynO](https://avatars.discourse-cdn.com/v4/letter/l/839c29/32.png) [@LynO](https://discourse.cakephp.org/u/LynO)\
**Post date:** [March 5, 2020, 6:04pm UTC](https://discourse.cakephp.org/t/problems-to-pass-an-application-made-in-cakephp-on-a-linux-server-to-a-new-server-in-windows-server/7402/7 "2020-03-05T18:04:56Z")

</div>

Thanks for  
responding, I am starting on this issue of server migration, the problem I have  
seen is because cakephp uses apache and it is not a new installation from  
scratch on the server is an application already created, the other application  
is made in native php and everything works ok

---

<div class="post-metadata">

**Author:** ![Zuluru](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/zuluru/32/1230_2.png) [@Zuluru](https://discourse.cakephp.org/u/Zuluru)\
**Post date:** [March 5, 2020, 6:25pm UTC](https://discourse.cakephp.org/t/problems-to-pass-an-application-made-in-cakephp-on-a-linux-server-to-a-new-server-in-windows-server/7402/8 "2020-03-05T18:25:03Z")

</div>

Have you looked at [this](https://book.cakephp.org/3/en/installation.html#iis7-windows-hosts)?

---

<div class="post-metadata">

**Author:** ![LynO](https://avatars.discourse-cdn.com/v4/letter/l/839c29/32.png) [@LynO](https://discourse.cakephp.org/u/LynO)\
**Post date:** [March 5, 2020, 7:42pm UTC](https://discourse.cakephp.org/t/problems-to-pass-an-application-made-in-cakephp-on-a-linux-server-to-a-new-server-in-windows-server/7402/9 "2020-03-05T19:42:16Z")

</div>

Hi, yes i do, but this is in a installation in 0
